We could add a --wait option to openstack server delete in python-openstackclient and then use that here:
http://git.openstack.org/cgit/openstack-dev/grenade/tree/projects/60_nova/resources.sh#n113
openstack server delete $NOVA_SERVER
So we wait for the server to be deleted before we call:
nova secgroup-delete $NOVA_USER || /bin/true
We could add a --wait option to openstack server delete in python- openstackclient and then use that here:
http:// git.openstack. org/cgit/ openstack- dev/grenade/ tree/projects/ 60_nova/ resources. sh#n113
openstack server delete $NOVA_SERVER
So we wait for the server to be deleted before we call:
nova secgroup-delete $NOVA_USER || /bin/true