Red Hat Bugzilla – Bug 1398323
Stack delete does not delete mistral environment & swift container corresponding to the stack
Last modified: 2018-06-28 10:26:42 EDT
Description of problem: Stack delete does not delete mistral environment & swift container corresponding to the stack . This causes subsequent stack create to use some environment files used previously in the new stack create , even though those file are not included any more for stack creation via director . Version-Release number of selected component (if applicable): RHOS10 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: I guess the patch is already available .
https://review.openstack.org/gitweb?p=openstack/tripleo-common.git;a=commitdiff;h=ca2bd11d6141f1fbafca888a8e402f043a620bb1
The patch linked doesn't delete the plan automatically. There is a CLI command that can delete it; "openstack overcloud plan delete" - this has been available for some time. Subsequent deploys should not re-use environment files from the previous deploy. If that is happening, this is the real bug and it should be resolved.
(In reply to Dougal Matthews from comment #3) > Subsequent deploys should not re-use environment files from the previous > deploy. If that is happening, this is the real bug and it should be resolved. Hi Dougal , This is noticed on osp10-puddle-2016-11-10.3 . For example: i. Deploy a stack with /home/stack/vault/jaison/templates/vlan-provider_ceph/inject-trust-anchor-hiera.yaml with following content . parameter_defaults: CAMap: CA1: content: | -----BEGIN CERTIFICATE----- ..... CA2: content: | -----BEGIN CERTIFICATE----- ii. This can be confirmed from overcloud nodes from overcloud nodes in /etc/puppet/hieradata/service_configs.yaml : tripleo::trusted_cas::ca_map: { "CA1": { "content": "-----BEGIN CERTIFICATE-----\ iii. Delete stack . iv. Deploy stack without the above file '/home/stack/vault/jaison/templates/vlan-provider_ceph/inject-trust-anchor-hiera.yaml' . v. It is still noticed that tripleo::trusted_cas::ca_map: is set with original value . vi. If we delete swift object & mistral environment , this issue is not seen . Regards, Jaison R
Docs issue, workaround added in doctext