Hide Forgot
Description of problem: Referring: https://access.redhat.com/documentation/en/red-hat-openstack-platform/10-beta/single/director-installation-and-usage/#sect-Removing_the_Overcloud In RHOSP10 Beta release, to delete overcloud stack, we need to perform following 2 additional steps to delete it completely: #openstack stack delete overcloud #mistral environment-delete overcloud #swift delete overcloud If we just delete the stack using 'openstack stack delete overcloud', and try to create a new stack, it will not be allowed until the overcloud container is deleted. Some outputs: [stack@instack ~]$ mistral environment-list +---------------------------+----------------------------------+---------+---------------------+---------------------+ | Name | Description | Scope | Created at | Updated at | +---------------------------+----------------------------------+---------+---------------------+---------------------+ | tripleo.undercloud-config | None | private | 2016-11-12 09:17:07 | <none> | | ssh_keys | SSH keys for TripleO validations | private | 2016-11-12 09:17:35 | <none> | | overcloud | None | private | 2016-11-12 11:39:19 | 2016-11-12 13:01:16 | +---------------------------+----------------------------------+---------+---------------------+---------------------+ [stack@instack ~]$ swift list ov-hc2tybp3ude-0-7bcyag7vhpvf-Controller-haxwhl72vrmk ov-hc2tybp3ude-1-dmloixlvoyud-Controller-eranigf3wc22 ov-hc2tybp3ude-2-covo3grzhe5p-Controller-uyczgtaw63g6 ov-mrlskvnctd-0-6jypeqpylscd-NovaCompute-qhpruamqvq63 ov-mrlskvnctd-1-22ttlcmchxli-NovaCompute-f7xifygezvmy overcloud Version-Release number of selected component (if applicable): RHOSP 10 Beta How reproducible: Always Actual results: Documentation only lists 'openstack stack delete overcloud' command to delete the overcloud stack. Expected results: Additional commands should be explicitly mentioned in the documentation to delete the overcloud.
Hi Chaitanya, Thanks for reporting this. I'm not sure if this is completely accurate. As far as I know, if you delete the overcloud then redeploy, the director should replace the plan in the overcloud container with a new plan. I know this because I can delete and redeploy multiple times without clearing the container. Can you provide logs to show the redeployment failure?
Hi Dan, Thank you for looking into this. Can we just hold on this bug for a while? I found a similar bug which has been reported and we can wait for its resolution to see if we need to change anything in our documentation: https://bugzilla.redhat.com/show_bug.cgi?id=1398323 The exact steps to reproduce the issue are mentioned in the aforementioned BZ. Let me know your thoughts on this.
Hi Chaitanya, Have added a command to remove the overcloud plan as per the doc text in BZ#1398323 https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html-single/director_installation_and_usage/#sect-Removing_the_Overcloud For OSP11+, the command to use is "openstack overcloud delete [stack]", which should delete everything. How does it look? Anything further required for this BZ?
Hi Dan, Thanks! That will do. You can close the BZ. Regards, Chaitanya
Thanks, Chaitanya!