get_instance_uuids_by_ip_filter is slow, making ec2 metadata slow

Bug #934356 reported by Scott Moser on 2012-02-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Jason Kölker

Bug Description

As discussed today in openstack-dev [1], the code in instance_uuids_by_ip_filter of nova/network/manager, added [2] is very slow.

In one openstack deployment, it was the primary issue causing metadata service requests to be unbearably slow (over 3 seconds, hitting a timeout on cloud-init requests).

jkoelker suggested paste at [3], and with minor issue fixed at [4]. and it went over reasonably well.


Tags: ec2 Edit Tag help
Chuck Short (zulcss) on 2012-02-17
tags: added: ec2

Fix proposed to branch: master

Changed in nova:
assignee: nobody → Jason Kölker (jason-koelker)
status: New → In Progress

Submitter: Jenkins
Branch: master

commit 5d3dbb4127785c77604602cd1737b75e30126b6e
Author: Jason Kölker <email address hidden>
Date: Fri Feb 17 11:07:40 2012 -0600

    Query directly for just the ip

    * Fixes LP934356

    Change-Id: I99b1501b1ef86eafb89fe9416f2668e4325a3656

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-02-29
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers