[Openstack-operators] Detach interface "fails" in grizzly (bug 1326183?)

Juan José Pavlik Salles jjpavlik at gmail.com
Wed Oct 22 14:23:58 UTC 2014


I achieved a "clean" deletion of the interface deleting the hole instance,
but is not a reasonable solution. Maybe some db updates could do a better
job?

2014-10-21 17:15 GMT-03:00 Juan José Pavlik Salles <jjpavlik at gmail.com>:

> Hi guys, I've been attaching and detaching interfaces to an instance until
> I got into a weird situation:
>
> -I see the interface:
>
> root at cocinero:~/tools# nova --os-username noc-admin --os-tenant-name noc
> --os-password My_Pass --os-auth-url http://172.19.136.1:35357/v2.0
> interface-list c7d4e004-47fc-42b4-9aec-83e196f9c202
>
> +------------+--------------------------------------+--------------------------------------+--------------+-------------+
> | Port State | Port ID                              | Net ID
>                 | IP addresses | MAC Address |
>
> +------------+--------------------------------------+--------------------------------------+--------------+-------------+
> | ACTIVE     | 572cb037-c0b7-490b-b451-594897817397 |
> 275c5c97-5a18-41ff-a46c-49d78507fb22 | 172.16.28.34 |             |
>
> +------------+--------------------------------------+--------------------------------------+--------------+-------------+
> root at cocinero:~/tools#
>
> -I want to delete that interface, so:
>
> root at cocinero:~/tools# nova --os-username noc-admin --os-tenant-name noc
> --os-password My_Pass --os-auth-url http://172.19.136.1:35357/v2.0
> interface-detach c7d4e004-47fc-42b4-9aec-83e196f9c202
> 572cb037-c0b7-490b-b451-594897817397
> root at cocinero:~/tools#
>
> No error messages at all.
>
> -But the interface stills there:
>
> root at cocinero:~/tools# nova --os-username noc-admin --os-tenant-name noc
> --os-password My_Pass --os-auth-url http://172.19.136.1:35357/v2.0
> interface-list c7d4e004-47fc-42b4-9aec-83e196f9c202
>
> +------------+--------------------------------------+--------------------------------------+--------------+-------------+
> | Port State | Port ID                              | Net ID
>                 | IP addresses | MAC Address |
>
> +------------+--------------------------------------+--------------------------------------+--------------+-------------+
> | ACTIVE     | 572cb037-c0b7-490b-b451-594897817397 |
> 275c5c97-5a18-41ff-a46c-49d78507fb22 | 172.16.28.34 |             |
>
> +------------+--------------------------------------+--------------------------------------+--------------+-------------+
> root at cocinero:~/tools#
>
> Doing some research I've found this bug
> https://bugs.launchpad.net/nova/+bug/1326183 , which is exactly the same
> behaviour I see in my cloud. It seems to be related to a race condition
> during the cache update.
>
> Any ideas how to:
>
> -Reset the conditions so I can detach the interface cleanly?
> -Backport the proposed patch to Grizzly? (Upgrading to IceHouse is almost
> impossible)
>
> Thanks!
>
> --
> Pavlik Salles Juan José
> Blog - http://viviendolared.blogspot.com
>



-- 
Pavlik Salles Juan José
Blog - http://viviendolared.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20141022/ad96d381/attachment.html>


More information about the OpenStack-operators mailing list