i18n-key and local-storage hard-coded in xenapi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Armando Migliaccio |
Bug Description
In order to install/spawn instances, the XenAPI plugin looks for a specific SR on a XenServer/XCP host. More precisely, the plugin assumes the presence of a local SR, as per default XenServer install; this SR has the "other-config" parameter set to "i18n-key=
If we look at the code (available in /virt/xenapi/
@classmethod
def find_sr(cls, session):
"""Return the storage repository to hold VM images"""
host = session.
for sr_ref, sr_rec in cls.get_
if not ('i18n-key' in sr_rec[
for pbd_ref in sr_rec['PBDs']:
if pbd_rec and pbd_rec['host'] == host:
return None
Many people stumbled upon this, recently and in the past (eg. https:/
Changed in nova: | |
assignee: | nobody → Armando Migliaccio (armando-migliaccio) |
status: | New → Confirmed |
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/3380
Review: https:/