When the --vip-file argument provides the vip_data.yaml
provision Virtual IPs and include the deployed network
environment file in user environments.
Depends-On: https://review.opendev.org/795080
Change-Id: I1e4f8dde9f56311bed8dcbe1b08ade09225fd595
Switches to use ephemeral Heat by default for all overcloud operations
and defaults enable_heat to False in undercloud.conf. Stack data will be
migrated to the ephemeral Heat model (to use the consistent working
directory) as part of the upgrade with the inclusion of the depends-on.
To improve the UX when using ephemeral Heat, "stack resource list" is
now run after "stack failures list" automaticaly in the case of Heat
stack failures.
Signed-off-by: James Slagle <jslagle@redhat.com>
Change-Id: I22b2ec530f8b888a94a88e1726792a8afef227ab
Heat creates some listener and worker queues before creating
the queue that clients publish message to.
Let's check for the service queue to ensure that all queues
are created before we make any api call.
Also uses a constant for the pod name which is used by
podman for the pod hostname[1].
[1] https://github.com/containers/podman/blob/master/libpod/runtime_pod_infra_linux.go#L34
Change-Id: I7d544dc277bd81a0f6f5f9d5ca15b2bdc99c102f
Make the methods functions, as they do not need the
class properties.
_validate_args:
Move the checks for non environment files outside the
'parsed_args.environment_files' condition. We want to
check for plan_environment_file, networks_file and
answers_file even if no environment files are provided.
_update_args_from_answers_file:
Rename the variable to s/args/parsed_args/ to use the
same name as elsewhere.
Change-Id: I9b541cebf45a155653b39d94994016b44e29f9ac
Make the method a function since it does not need
the class properties. Use list comprehension, and
a shorter more descriptive variable name.
Change-Id: Ieda25ce82808276461c74944befa96faccd95301
In I24612700bcbd3e17685ae7a33a27f38a2055a0fb we added specific
exceptions but in novaless deployment, we hit a EndpointNotFound
exception
Change-Id: I0c6d4e04891cefcc13a5f4294492cbdc76e1f3c3
Ironic uses the order of enabled interfaces to attempt each interface
in turn, so sorting the list will result in an incorrect order in some
cases, which will cause deployment failures on some hardware.
This change sets an explicit order for each interface.
Change-Id: If2740767521453c7adfca56d942db97af13bfaf2
Closes-Bug: #1931161
Tests cover branches of the __init__ and __exit__
methods that were not covered by existing tests.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I1944a5a9dbd115f49e3fe0514d82af6f98f4556f
When the network file provided as input to the overcloud
deploy command is a network-v2 format file. Provision
networks and include the deployed network environment
file in user environments.
Change-Id: I20da47f8dfbf48f6ee46e60a07c00482545cb444
interactive mode (-i) is required since the db restore makes use of
stdin redirect.
Change-Id: I9668df39ed874949badd2bd169de2eaae0c08a48
Signed-off-by: James Slagle <jslagle@redhat.com>
Extend the overcloud node provision command to run
ansible playbooks defined in the baremetal deployment
definition against the provisioned nodes.
To ensure the playbook is applied prior to node network
configuration set 'pre_network: true'. Additonal ansible
vars can be defined as 'extra_vars' for each ansible
playbook definition.
Implements: blueprint network-data-v2-ports
Depends-On: https://review.opendev.org/786045
Change-Id: I67a15f637a62e2cb683e6e160483201f7ba093e9
'/usr/share/openstack-tripleo-validations' doesn't exist anymore since
Train. Tripleo-validations installs its bits in '/usr/share/ansible/'.
It is now quite safe to remove the references to this legacy directory.
**Note**
This patch will be applied to master and stable/wallaby only. This logic
will be kept as is for stable/train like this directory may still be
present during an upgrade.
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: I3d277cdefda431d08fd8fbc103b53304ea44eb29
This existing check would always fail for updates
and upgrades as the existing stack would always
have the mapping.
Change-Id: Ia284efa3294463a1899cde659a21c99d03792b04
This patch adds a new option --db-only which will perform a DB backup
of the Undercloud node. This option will have precedence to --init, --setup-nfs
or --setup-rear, but it won't complain. If the --db-only option is being
passed then only the play in charge of performing the Undercloud's DB backup
will be triggered.
Change-Id: Idd905e32dc70728abdb4cea1a14f43c7f11ff311
Depends-On: I62cadfd95c514edf0b982fa652a53feadb24f2b7