← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1418675] Re: libvirt utils doesn't canonicalize the image architecture property

 

It doesn't affect Glance. so I'm going to remove it from glance list.

** No longer affects: glance

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1418675

Title:
  libvirt utils doesn't canonicalize the image architecture property

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  If the image has an architecture property, the libvirt utils do *not*
  canonicalize that.

  ``utils.get_arch(image_meta)`` can possibly return "S390X" (<= upper
  case). The canonicalized version should be "s390x" (<= lower case).

  This will be an issue when a user adds the property
  "architecture=S390X" on an image.

  I used "S390X" as an arbitrary example. The real issue here is the
  lower case and upper case thing.

  See method ``get_arch(image_meta)`` in https://github.com/openstack/nova/blob/master/nova/virt/libvirt/utils.py#L557
  See method ``canonicalize(name)`` in https://github.com/openstack/nova/blob/master/nova/compute/arch.py#L147

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1418675/+subscriptions


References