Adds deployment via snapshot 43/60543/15
authorTim Rozet <trozet@redhat.com>
Fri, 3 Aug 2018 03:49:00 +0000 (23:49 -0400)
committerTim Rozet <trozet@redhat.com>
Thu, 23 Aug 2018 22:01:16 +0000 (18:01 -0400)
commit4301e4cb3bd6f62caec575d30e8588b72ac626c7
tree31f6ca88598c12d45f578a6a25b5c3b86c7d5dad
parentdc83fb1667a1a65ad333a3aab1c2843601180b23
Adds deployment via snapshot

New arguments are added to allow snapshot deployment:
--snapshot, --snap-cache

The previous tripleo-quickstart code has been removed/replaced
with the snapshot option.

Snapshot deployments are supported on CentOS and Fedora, and snapshot
artifacts use a similar caching system as the standard deployment.
Snapshots are produced daily by Apex, and include latest as well as n-1
OpenStack versions. The os-odl-nofeature scenario is used for the
snapshots. Additionally multiple topology verions of Snapshots are
available. The Snapshot pulled at deploy time depends on the
deploy-settings and number of virtual-computes used at deploy time.

Since there is only one network used with snapshot deployments (admin),
there is no reason to pass in network settings for snapshot deployments.
That argument is now optional. Previously we required even in Standard
virtual deployments that the network settings be provided. However that
is also unnecessary, as we can default to the virtual network settings.

Includes minor fix to the tox.ini to allow specifying test cases
to run (useful for developers writing tests). Default behavior of
tox is unchanged.

JIRA: APEX-548

Change-Id: I1e08c4e54eac5aae99921f61ab7f69693ed12b47
Signed-off-by: Tim Rozet <trozet@redhat.com>
18 files changed:
.gitignore
apex/common/constants.py
apex/common/exceptions.py
apex/common/utils.py
apex/deploy.py
apex/deployment/snapshot.py [new file with mode: 0644]
apex/overcloud/node.py [new file with mode: 0644]
apex/tests/config/admin.xml [new file with mode: 0644]
apex/tests/config/baremetal0.xml [new file with mode: 0644]
apex/tests/config/node.yaml [new file with mode: 0644]
apex/tests/config/snapshot.properties [new file with mode: 0644]
apex/tests/test_apex_common_utils.py
apex/tests/test_apex_deploy.py
apex/tests/test_apex_deployment_snapshot.py [new file with mode: 0644]
apex/tests/test_apex_overcloud_node.py [new file with mode: 0644]
docs/release/installation/virtual.rst
lib/ansible/playbooks/deploy_dependencies.yml
tox.ini