Wait for nova_server1 to be deleted before deleting it's security group
This adds a 30 second wait loop for the nova_server1 resource to be
deleted before trying to delete it's related security group so we don't
hit a 400 error from nova-api.
This is basically a copy of what is done when deleting the
cinder_server1 resource.
Added notes that we can clean this up with the --wait option on the
`openstack server delete` command when python-openstackclient>=1.4.0 at
least in global-requirements, which will have to wait until at least the
M release since stable/kilo caps osc at <1.1.0.
Reviewed: https:/ /review. openstack. org/199771 /git.openstack. org/cgit/ openstack- dev/grenade/ commit/ ?id=48d23a6bae0 ffa7d413f564bc7 10e30596e187f7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 48d23a6bae0ffa7 d413f564bc710e3 0596e187f7
Author: Matt Riedemann <email address hidden>
Date: Wed Jul 8 16:18:38 2015 -0700
Wait for nova_server1 to be deleted before deleting it's security group
This adds a 30 second wait loop for the nova_server1 resource to be
deleted before trying to delete it's related security group so we don't
hit a 400 error from nova-api.
This is basically a copy of what is done when deleting the
cinder_server1 resource.
Added notes that we can clean this up with the --wait option on the openstackclient >=1.4.0 at requirements, which will have to wait until at least the
`openstack server delete` command when python-
least in global-
M release since stable/kilo caps osc at <1.1.0.
Closes-Bug: #1460112
Change-Id: I16981765c12db7 145f7c4754d4544 31afb6d5cbb