Bug 1235995

Summary: [Docs] [Director] Support for using heat templates w/o tuskar when deleting a node
Product: Red Hat OpenStack Reporter: Jan Provaznik <jprovazn>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: DirectorCC: adahms, calfonso, jslagle, mburns, rhel-osp-director-maint, yeylon
Target Milestone: gaKeywords: Documentation, Triaged
Target Release: Director   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-04 01:40:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Provaznik 2015-06-26 10:03:29 UTC
Description of problem:
UCLI "overcloud deploy" command supports using heat templates directly instead of using tuskar. There is no this option for "overcloud node delete" command (tuskar is used).

Comment 3 chris alfonso 2015-06-26 17:40:08 UTC
We need to document the workaround using heat directly.

Comment 4 Andrew Dahms 2015-06-29 04:34:36 UTC
Assigning to Dan for review.

Comment 5 Jan Provaznik 2015-07-08 14:05:02 UTC
Once this patch is merged https://review.openstack.org/#/c/199576/, doing node deletion manually is quite simple:

1) create an extra environment file which specifies node indexes to be removed, for example to remove node "overcloud-compute-0" the file should look like this:
$ cat /home/stack/nodes-removal.yaml
parameters:
  ComputeRemovalPolicies:
    [{'resource_list': ['0']}]

2) re-deploy overcloud with decreased number of nodes and the extra env file:
$ openstack overcloud deploy  --use-tripleo-heat-templates --compute-scale 1 -e /home/stack/removal.yaml

Comment 6 Jan Provaznik 2015-07-20 12:07:56 UTC
"overcloud node delete" command was improved to support tht directly:
https://bugzilla.redhat.com/show_bug.cgi?id=1242989

documentation patch which describes deleting node both with and without tuskar is here:
https://review.gerrithub.io/239329

Comment 8 Andrew Dahms 2015-08-16 02:45:31 UTC
Looks good to me; moving to VERIFIED.

Comment 9 Andrew Dahms 2016-01-04 01:40:29 UTC
This content is now live on the Customer Portal; closing.