Matt, I have done additional testing. If I don't clear that device_id before the nova delete call the port ends up getting deleted.
This is a port_show before the nova delete of a port that gets deleted:
port: {'status': u'ACTIVE', 'name': u'', 'admin_state_up': True, 'network_id': u'6708b678-eac3-4334-8404-d9b729b43eaf', 'device_owner': u'compute:None', 'device_id': u'93aec306-ba5b-48ff-a668-d2f4e18be215', 'mac_address': u'fa:16:3e:d6:f4:a5', 'project_id': u'4ab023de954e443b93d1163c0e729485', 'fixed_ips': None, 'id': u'38d10b1d-c06d-4316-b3b9-cb311f8cb690', 'network': None}
I am puzzled as to why a nova delete of the instance would cause this port to get deleted. Do you see something in the above port details that tips you off as to why it would get flagged for deletion?
Thank you for your help here, Michael
Matt,
I have done additional testing. If I don't clear that device_id before the nova delete call the port ends up getting deleted.
This is a port_show before the nova delete of a port that gets deleted:
port: {'status': u'ACTIVE', 'name': u'', 'admin_state_up': True, 'network_id': u'6708b678- eac3-4334- 8404-d9b729b43e af', 'device_owner': u'compute:None', 'device_id': u'93aec306- ba5b-48ff- a668-d2f4e18be2 15', 'mac_address': u'fa:16: 3e:d6:f4: a5', 'project_id': u'4ab023de954e4 43b93d1163c0e72 9485', 'fixed_ips': None, 'id': u'38d10b1d- c06d-4316- b3b9-cb311f8cb6 90', 'network': None}
I am puzzled as to why a nova delete of the instance would cause this port to get deleted. Do you see something in the above port details that tips you off as to why it would get flagged for deletion?
Thank you for your help here,
Michael