[Openstack] instance_info_caches table, nova not populating for some instances

Kevin Benton blak111 at gmail.com
Thu Jan 22 01:56:13 UTC 2015


Couldn't you sort the result from the neutron port query by port UUID so
the ordering is maintained until ports are added or deleted?

On Wed, Jan 21, 2015 at 1:49 PM, Don Waterloo <don.waterloo at gmail.com>
wrote:

>
>
> On 20 January 2015 at 22:20, Don Waterloo <don.waterloo at gmail.com> wrote:
>
>> For any one else who hits this, I entered
>> https://bugs.launchpad.net/nova/+bug/1413049
>> which contains a patch.
>>
>> In a nutshell, @ the bottom end of reloading/healing the cache, it turns
>> around and uses the cache in _gather_port_ids_and_networks().
>>
>> My fix is to use the neutron api and call list_ports.
>>
>>>
>>>>
> sigh, my patch is not correct. the order of the ports is not preserved on
> the neutron /ports.json call, and that is important to nova.
>
> Does anyone know a solution to this?
>
> e.g. if i have an instance that has 2 ports, GET
> /...ports.json?device_id=UUID might return them in either order, presumably
> since its stored as a hashmap or something.
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 
Kevin Benton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150121/bc605479/attachment.html>


More information about the Openstack mailing list