Comment 8 for bug 1269407

Revision history for this message
Aaron Rosen (arosen) wrote :

Hi Yair,

I looked into this and could reproduce this with your script. The reason why this occurs is because the events to nova-api are async. When nova delete is done the instance isn't actually deleted till sometime after which removes the port. This is why you are getting the error that multiple ports exist when you go to delete the subnet. In order to do this you'd need to loop on nova list/show on that instance till it is gone. Then you can delete the subnet without a problem.