Add the ability to allow for multiple glance-apis to function in a zone

Bug #794672 reported by Antony Messerli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
Unassigned

Bug Description

When doing a large number of builds within a zone, the time to build can take a while if the single glance server in a zone is overwhelmed with build requests. Spoke with s1rp about this and we could add the ability to do some simple load balancing to multiple glance-apis to distribute builds over multiple nodes and not overwhelm the single glance-api.

Related branches

Revision history for this message
Jay Pipes (jaypipes) wrote :

Should we put this in the Glance project or keep it here? Not sure...

Revision history for this message
Antony Messerli (antonym) wrote :

I asked s1rp and he thought it would be better here. He was going to try and tackle it soon.

Revision history for this message
Brian Waldon (bcwaldon) wrote :

Isn't this a problem that should be solved without any OpenStack code changes? Seems like a deployment detail to me.

Revision history for this message
Rick Harris (rconradharris) wrote :

> Isn't this a problem that should be solved without any OpenStack code changes? Seems like a deployment detail to me.

That was my initial thinking too.

I think the main reason for this is to give us an extremely easy way to test using multiple glances without having to deal with an external load-balancer.

The less moving parts in test and dev envs the better. In prod, though, we may still want to use an external LB component since it may be able to do a little better than just `random.choice`.

Revision history for this message
Jay Pipes (jaypipes) wrote : Re: [Bug 794672] Re: Add the ability to allow for multiple glance-apis to function in a zone

On Thu, Jun 9, 2011 at 10:58 AM, Brian Waldon
<email address hidden> wrote:
> Isn't this a problem that should be solved without any OpenStack code
> changes? Seems like a deployment detail to me.

There's only one FLAGS.glance_host and glance_port. I think at a
minimum, there needs to be some plumbing done to allow those FLAGS to
be lists of host/ports and to round-robin the /images requests?

-jay

Revision history for this message
Brian Waldon (bcwaldon) wrote :

I still see this as an external load balancer issue. If the community thinks the code absolutely needs to live in Nova, I want to see a blueprint detailing a much more robust approach.

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Wishlist
status: New → In Progress
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-2
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-2 → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.