Save more stack outputs in the working directory.
Change-Id: I30903cfea1ee595c84ef021f5c3be7716c0726d9
Signed-off-by: James Slagle <jslagle@redhat.com>
With ephemeral-heat, we need to save the needed stack outputs in the
working_dir so that the values can be used when needed if the stack is
no longer around.
With the outputs saved, the stack object no longer needs to be passed to
workflows.deployment.config_download and
workflows.deployment.get_hosts_and_enable_ssh_admin, only the stack name
and output values are needed.
Signed-off-by: James Slagle <jslagle@redhat.com>
Change-Id: I3cc61bfee94227045909a4b0ccf84a8d595b2cea
In tripleo-common iamge-yaml's we set:
'console=tty0 console=ttyS0,115200'
So that console is on to both the serial and virtual terminal.
Let's use the same default for inspection on the undercloud by
setting IronicInspectorKernelArgs accordingly.
Change-Id: Iae0c0a0346f353def8a7bf349f192472b2d8437b
overcloud admin authorize can no longer be used with
ephemeral Heat. This change allows us to use an existing
inventory file. It also allows for the use to provide a
group from the Inventory rather than running against all
of the nodes in the inventory.
Change-Id: I07902a84e16af94b250ecb621017cd5b7de40a9c
roles.py imports utils.py and utils.py is importing roles.py.
This change removes that cycle by moving the required function
to utils.py and removing the import of roles in utils.
Change-Id: I03c67636cb43332c79cbed77399af09c421bb4df
Set ip_version property in the subnets section in DeployedServerPortMap
set up in the environment for Undercloud and Standalone deployments.
This will ensure that the NetIpVersionMapValue is populated properly,
and puppet parameters like 'rabbit_ipv6' will be correctly populated
for IPv6 undercloud deployment.
Closes-Bug: #1947177
Change-Id: I60c8d845b0b0035364e19ac6aa8cad0bc9e614d3
In commit[1] we removed the use of validate_playbook method,
but it was missed to remove the method definition, removing this
as its not used anywhere. Also, dropping PlaybookNotFound exception
as its not used anywhere else.
[1] https://review.opendev.org/c/openstack/python-tripleoclient/+/794017
Change-Id: Ia646351cfe60d328b809af56ed5a05ec74e46cd5
The patch [1] doesn't work and the validations execution logs are
located in /home/stack/validations by default instead of
/var/log/validations directory.
This patch fixes this issue by overriding correctly the
'validation_log_dir' default value for the run, show history and show
run sub commands.
[1] https://review.opendev.org/c/openstack/python-tripleoclient/+/794577
Related-bz: rhbz#2013575
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: Ic9de63514086d660cfbe87ef6539935366036941
Update converge is largely unnecessary now with
ephemeral Heat. There is no Heat stack to update,
so we are doing nothing more than executing a
standard deployment using Ansible. Removing
the requirement for update converge will simplify
the process and improve user experience by reducing
the time it takes to perform minor updates.
Depends-On: https://review.opendev.org/c/openstack/tripleo-upgrade/+/810134
Change-Id: I750a733b722353d1ea0c6f904bafc769d7ddb9ff
Follow up to change - Idaab1f28c4d645279eff0c01b24435bf8571299b
Remove the now ignored option.
Depends-On: I97b8c8762524efbfc12533bbd557a689cff53273
Depends-On: I00241ee91cee42770c67fa181482c6e6ad9dedf1
Change-Id: Ie3f5149204a74a10df372cb70394fc225f13c209
With Ephemeral Heat, we can no longer call
the Heat API while removing nodes, nor is it
necessary. This change removes all calls to
Heat and instead just executes the required
playbooks to perform the scale down actions.
Change-Id: Iba56d41d132275bd55e77290a6fca87b917de9e9
Based on discussions make '--baremtal-deployment' option
control wheater nodes, networks and virtual IPs are
provisioned and deprecate --skip-nodes-and-networks for
removal.
When '--baremetal-deployment' is used without an argument
the dynamic default in the working dir is used. When a
baremetal deployment file is passed as the argument the
file passed is placed in the working dir as the dynamic
default and then used for provisioning.
Change-Id: Idaab1f28c4d645279eff0c01b24435bf8571299b
Commit ecafbae4ee updated tripleo deploy
to use a different working directory. That broke upgrades because the
passwords file was still at the old path, and the passwords can not
change during a tripleo deploy upgrade. This patch checks the old
location for a passwords file, and if present, migrates it to the new
location.
Signed-off-by: James Slagle <jslagle@redhat.com>
Change-Id: I547ba1a7409290f4888e53dd45a883c263f0670f
We no longer need to handle this case and the logic doesn't work now
that packaging uses platform-python.
Change-Id: Ic506842240417142230e39755e7663b9276d4e34
Closes-Bug: #1945357
This validation is no longer helpful, and it prevents deploying for
multi-architecture x86/ppc64le environments.
Change-Id: Ibb71e5dabaf09e45f0d2671aa0dfa60944728a2f
Since policycoreutils-python package is not available on
EL9 and bindep package is used in tripleo-ci
container-build role.
Since the package is not available so it breaks the EL9
container build.
Making it exception for EL9 fixes the issue.
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I5047980dc4f3a45316be047b4d7ba672297ab07b
ReaR can be configured to use PXE to boot the servers for restoration.
Currently, the default restoration process is using an iso image.
The purpose of this patch is to configure ReaR to PXE boot and use
Ironic to boot/recover the server automatically
Change-Id: I15774ed1988c2765b1e18c2b5db0ec6ea3e9a02c
Now that UpgradeConverge inherits from UpgradePrepare, overcloud
status is left as 'DEPLOYING' after it finishes. Let's set the
status to 'DEPLOY_SUCCESS'.
Note: With ephemeral heat (Wallaby and after) we would not need the
converge step as there is no stack/plan. This change would be
backported to stable/train.
Change-Id: I4329b21adbc4cd568c0a164d2778b79df700ae48
Change the constant OVERCLOUD_NETWORKS_FILE to point
to network_data_default.yaml in THT. (The new v2 default).
Add check, and prompt the user for confirmation in case
legacy networks definition is provided. The check and prompt
can be disabled with the '--allow-deprecated-network-data'
argument.
Also add the '--yes' in 'OvercloudDeploy' and remove it in the
Update nad Upgrade classes that will now inherit it.
blueprint network-data-v2
Depends-On: I618c0a0d99c934fb65a6af30bc76096d52d4679d
Depends-On: I759402fb22a9a3fd0fc06c8e107eee6eb5798c51
Change-Id: I2d14d9e587fce28ea0897bb235c9dedc8f68fa12