Default the stack name to 'overcloud' in overcloud node delete
The stack needs to be passed as either a CLI arg with --stack or via the
environment variable OVERCLOUD_STACK_NAME. At the moment if it isn't
provided either way the workflow is called with an empty string for the
stack name. This will then fail.
This change defaults the stack name to 'overcloud' which matches the
deploy command. One of the unit tests was updated so that it didn't pass
the default value to ensure that it can still be overwritten.
Reviewed: https:/ /review. openstack. org/395522 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=0af664656d8 2ab5d658228cd07 8691f9abc3e789
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0af664656d82ab5 d658228cd078691 f9abc3e789
Author: Dougal Matthews <email address hidden>
Date: Wed Nov 9 10:49:47 2016 +0000
Default the stack name to 'overcloud' in overcloud node delete
The stack needs to be passed as either a CLI arg with --stack or via the STACK_NAME. At the moment if it isn't
environment variable OVERCLOUD_
provided either way the workflow is called with an empty string for the
stack name. This will then fail.
This change defaults the stack name to 'overcloud' which matches the
deploy command. One of the unit tests was updated so that it didn't pass
the default value to ensure that it can still be overwritten.
Change-Id: Ie44d5cba90e81a e1a35a4cabc6e20 a202bfddef0
Closes-Bug: #1640244
Partial-Bug: #1640770