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/404324 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=2ed71e8e857 bd69100d12c9ac6 7dd034b6c3d3f1
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 2ed71e8e857bd69 100d12c9ac67dd0 34b6c3d3f1
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 d658228cd078691 f9abc3e789)
Closes-Bug: #1640244
Partial-Bug: #1640770
(cherry picked from commit 0af664656d82ab5