Bug 1397741 - [Docs][Heat] Overcloud Stack deletion requires more steps than specified
Summary: [Docs][Heat] Overcloud Stack deletion requires more steps than specified
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Dan Macpherson
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 09:58 UTC by Chaitanya Shastri
Modified: 2017-09-25 08:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-25 08:04:46 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Chaitanya Shastri 2016-11-23 09:58:01 UTC
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.

Comment 1 Dan Macpherson 2016-12-09 06:14:34 UTC
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?

Comment 2 Chaitanya Shastri 2016-12-13 07:38:54 UTC
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.

Comment 3 Dan Macpherson 2017-09-25 06:42:48 UTC
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?

Comment 4 Chaitanya Shastri 2017-09-25 06:47:20 UTC
Hi Dan,
  
   Thanks! That will do. You can close the BZ.

Regards,
Chaitanya

Comment 5 Dan Macpherson 2017-09-25 08:04:46 UTC
Thanks, Chaitanya!


Note You need to log in before you can comment on or make changes to this bug.