Fix bug in barbican-plugin-grenade

There are two bugs during implement
blueprint support-upgrade.

Change-Id: Ic4c20a830a06d7fee4d186e182c45ed7cb457233
Closes-Bug: #1678967
Depends-On: I9d8c64217d622fd36bf8a8e5cd2f89aecc358fb9
Partially-Implements: blueprint support-upgrade
This commit is contained in:
Nam Nguyen Hoai 2017-04-04 17:02:58 +07:00
parent 7d8074fddb
commit e37f5014a4
2 changed files with 1 additions and 1 deletions

View File

@ -78,6 +78,7 @@ function destroy {
barbican secret delete $(resource_get barbican secret_link)
local user_id=$(resource_get barbican user_id)
local project_id=$(resource_get barbican project_id)
source $TOP_DIR/openrc admin admin
openstack user delete $user_id
openstack project delete $project_id
}

View File

@ -12,7 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.
# shutdown barbican service
set -o errexit
source $GRENADE_DIR/grenaderc
source $GRENADE_DIR/functions