OpenStack Compute (Nova)

get_instance_uuids_by_ip_filter is slow, making ec2 metadata slow

Reported by Scott Moser on 2012-02-17
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
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.

--
[1] http://eavesdrop.openstack.org/irclogs/%23openstack-dev/%23openstack-dev.2012-02-17.log
[2] https://github.com/openstack/nova/commit/8f9453aeb8882509d825c9715fde4e6827b0bbf7
[3] http://paste.openstack.org/show/4860/
[4] http://paste.openstack.org/show/4861/

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

Fix proposed to branch: master
Review: https://review.openstack.org/4276

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

Reviewed: https://review.openstack.org/4276
Committed: http://github.com/openstack/nova/commit/5d3dbb4127785c77604602cd1737b75e30126b6e
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