glance plugin should try multiple servers on failure
Bug #944096 reported by
Johannes Erdfelt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Johannes Erdfelt |
Bug Description
The glance plugin for xenapi will retry contacting a glance host a configurable number of times before giving up. Unfortunately, while multiple glance hosts can be configured in nova, it will pick one for each call to the glance plugin. If the picked host is not functioning correctly, it will never try another host that might be up.
It should send a list of hosts to the plugin and let the retry logic in the plugin try multiple hosts instead of one.
Changed in nova: | |
assignee: | nobody → Johannes Erdfelt (johannes.erdfelt) |
Changed in nova: | |
milestone: | none → essex-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
To post a comment you must log in.
I think such a logic should be in the compute manager so that every driver can benefit from it (e.g. the manager tries a HEAD request or something like that). This would leave the driver unaware of the fact that multiple glance apis are available. Once the manager has determined that there is a valid glance api to get images from/push snapshots to, it will then pass that api reference to the driver. The driver code hence remains fairly unchanged.