tripleo-ansible/tripleo_ansible/playbooks
Sandeep Yadav 5993686014 Don't run stack delete in overcloud delete
Currently in "overcloud delete" we try to delete heat stack,
In patch[1] we added a rescue block for "Delete heat stack" task
to not fail even if we are not able to delete a stack to handle
the new ephermal heat stack case.

But user still get an intermidiate keystone exception about heat
endpoints not available[2], afterwards we print "this might be okay"
based on deployment, but this is a bit hostile for the user .

Also for ephermal heat case, we can speed up the "overcloud delete"
execution by not trying heat stack delete at all.

With tripleoclient patch[3] adding a new argument `--heat-type`
in "overcloud delete" command that will default to `pod` (ephermal
heat) and based on input we will set a var `heat_stack_delete`
that will decide whether to run heat stack delete at all.

Reverting the original "Delete heat stack" task prior to [1]
with a conditional when based on `heat_stack_delete` var.

[1] https://review.opendev.org/c/openstack/tripleo-ansible/+/807264
[2] https://bugs.launchpad.net/tripleo/+bug/1938618/comments/2
[3] https://review.opendev.org/c/openstack/python-tripleoclient/+/808539

Related-bug: #1938618
Change-Id: I9c7b11df6ac9a6a58bf3f4175d94095e0ef23fcf
2021-09-11 05:41:49 +00:00
..
group_vars Update project structure 2019-06-05 14:27:22 +00:00
host_vars Update project structure 2019-06-05 14:27:22 +00:00
ceph-admin-user-playbook.yml Add deployed_ceph feature 2021-08-10 07:46:22 -04:00
ceph-backup.yaml BaR - Ceph Backup 2020-08-28 12:31:23 +02:00
ceph_deactivate_mds.yaml Upgrade ansible-lint to 5.0 2021-03-11 09:47:14 +00:00
cephadm.yml Add deployed_ceph feature 2021-08-10 07:46:22 -04:00
cli-baremetal-bios-apply.yaml Remove hardcoded cloud_name and auth_type used 2021-07-01 09:52:27 +05:30
cli-baremetal-bios-reset.yaml Remove hardcoded cloud_name and auth_type used 2021-07-01 09:52:27 +05:30
cli-baremetal-clean.yaml Remove hardcoded cloud_name and auth_type used 2021-07-01 09:52:27 +05:30
cli-baremetal-introspect.yaml Reimplement os_tripleo_baremetal_node_introspection 2021-08-17 08:37:12 +12:00
cli-baremetal-raid.yaml Remove hardcoded cloud_name and auth_type used 2021-07-01 09:52:27 +05:30
cli-config-download-export.yaml Drop use of config_container var in config-download playbooks 2021-02-12 11:33:02 +05:30
cli-config-download.yaml Copy inventory to AnsibleRunner dir 2021-06-25 13:50:54 -06:00
cli-container-image-prepare.yaml Fix bare variable warning 2021-01-21 10:49:33 -07:00
cli-deployed-ceph.yaml Add deployed_ceph feature 2021-08-10 07:46:22 -04:00
cli-derive-parameters.yaml Add append option to tripleo_derive_hci_parameters module 2021-04-29 21:50:09 +00:00
cli-enable-ssh-admin.yaml Remove deny list check from cli-enable-ssh-admin.yaml 2021-08-05 21:51:13 -04:00
cli-generate-containerfile.yaml Add role for Container file(s) generation 2020-05-06 07:56:26 -05:00
cli-grant-local-access.yaml Remove mistral user access to config-download work dir 2020-04-21 15:44:15 +05:30
cli-overcloud-backup-cron.yaml Allow for cron programming of backups 2021-07-15 11:28:23 +02:00
cli-overcloud-backup.yaml Use serial or parallel execution depending on the kind of backup 2021-07-01 11:11:45 +00:00
cli-overcloud-delete.yaml Don't run stack delete in overcloud delete 2021-09-11 05:41:49 +00:00
cli-overcloud-network-extract.yaml Fix the Copyright year in licence headers 2020-11-18 19:21:18 +01:00
cli-overcloud-network-provision.yaml Add option to set template paths in env population 2021-06-30 21:23:34 +02:00
cli-overcloud-network-unprovision.yaml Module: tripleo_unprovision_network and cli playbook 2021-06-28 16:28:43 +05:30
cli-overcloud-network-vip-extract.yaml Add module and cli to extract net VIPs 2021-04-08 10:49:36 +02:00
cli-overcloud-network-vip-provision.yaml Add option to set template paths in env population 2021-06-30 21:23:34 +02:00
cli-overcloud-network-vip-unprovision.yaml Delete network VIPs on stack delete 2021-06-18 18:14:58 +00:00
cli-overcloud-node-growvols.yaml Add playbook cli-overcloud-node-growvols.yaml 2021-07-08 10:57:18 +12:00
cli-overcloud-node-import.yaml Ensure the os-cloud flag is used for CLI commands 2020-03-05 17:29:15 -06:00
cli-overcloud-node-network-config.yaml Disable facts gathering in net config playbook 2021-05-10 13:29:23 +02:00
cli-overcloud-node-provide.yaml Don't use identity api to check nova availability 2021-07-01 09:52:21 +05:30
cli-overcloud-node-provision.yaml Add option to set template paths in env population 2021-06-30 21:23:34 +02:00
cli-overcloud-node-unprovision.yaml Provison/Unprovision instance network ports 2020-12-18 07:45:59 +01:00
cli-support-collect-logs.yaml Give user the full path to sosreport 2021-08-11 16:16:15 +10:00
cli-undercloud-backup-cron.yaml Allow for cron programming of backups 2021-07-15 11:28:23 +02:00
cli-undercloud-backup-legacy.yaml Adding playbook support for changes coming to python-tripleoclient. 2020-06-05 17:19:41 -04:00
cli-undercloud-backup.yaml Modifying playbooks to support python-tripleoclient B&R commands 2021-02-24 13:59:01 +01:00
cli-undercloud-db-backup.yaml Avoid hardcoding /home/stack in cli-undercloud-db-backup.yaml. 2021-07-07 14:43:18 +02:00
cli-undercloud-get-horizon-url.yaml Don't specify --os-cloud undercloud (ephemeral heat) 2021-02-25 07:42:47 -05:00
cli-undercloud-local-artifacts.yaml Tune-up plan create when running swift-less 2021-01-04 17:50:08 +00:00
container-cleanup.yml Update project structure 2019-06-05 14:27:22 +00:00
create-nova-cell-v2.yaml Replace all references to the old role name 2020-01-22 12:06:06 +00:00
derive-local-hci-parameters.yml Remove "cli" prefix from cli-derive-local-hci-parameters.yml 2021-04-30 11:55:50 +00:00
disable_cephadm.yml Disable cephadm when ceph is deployed 2021-08-26 11:07:30 +02:00
docker-vfs-setup.yml Replace all references to the old role name 2020-01-22 12:06:06 +00:00
fetch-logs.yml Update project structure 2019-06-05 14:27:22 +00:00
octavia-files.yaml Merge "Remove stack_action from Octavia deployment" 2021-08-23 20:02:15 +00:00
prepare-nfs-backup.yaml BnR Added a nfs validation when the nfs server is installed 2021-06-08 15:56:42 +02:00
prepare-overcloud-backup.yaml Modifying playbooks to support python-tripleoclient B&R commands 2021-02-24 13:59:01 +01:00
prepare-test-host.yml Enforce testing consistency 2019-07-01 19:48:38 -05:00
prepare-undercloud-backup.yaml Modifying playbooks to support python-tripleoclient B&R commands 2021-02-24 13:59:01 +01:00
restart-service.yml Update project structure 2019-06-05 14:27:22 +00:00
rotate-fernet-keys.yaml Change rotate-fernet-keys playbook to not use plan 2021-03-15 14:06:57 +05:30
rotate-keys.yaml Ensure that the playbooks and roles can display debug data when enabled 2020-05-23 15:04:10 +00:00
rotate-passwords.yaml Write passwords to env file when rotating 2021-02-09 08:01:04 +05:30
tripleo_nova_image_cache.yml Stop relying on future mtime in tripleo_nova_image_cache 2020-09-02 00:34:44 +01:00