← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1132739] Re: Add a namespace prefix to glance hardware properties used by libvirt

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
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/1132739

Title:
  Add a namespace prefix to glance hardware properties used by libvirt

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  In the following two commits

    commit 99ddc0d2ad7f2f9c27deaac08559eb794845afc3
    Author: Daniel P. Berrange <berrange@xxxxxxxxxx>
    Date:   Fri Feb 8 16:59:32 2013 +0000

      Allow VIF model to be chosen per image

    commit 66a7f044f5143feaf7046cebafea3df3ea95e04b
    Author: Daniel P. Berrange <berrange@xxxxxxxxxx>
    Date:   Wed Jan 16 12:38:23 2013 +0000

      Allow disk driver to be chosen per image

  support was introduced for the Nova libvirt driver to read glance
  image properties for customizing the hardware of a guest.

  eg the user would set

        # glance image-update \
                 --property disk_bus=ide \
                 --property cdrom_bus=ide \
                 --property vif_model=e1000 \
                 f16-x86_64-openstack-sda

  These properties are equally applicable to other hypervisor drivers
  and thus ought to be documented as "standard" metadata properties, so
  we don't get each driver doing its own thing [1]

  It was suggested on IRC that we might want to first change the names
  used here to have some kind of standard "prefix" to group all hardware
  config properties together, eg prefix then with 'hw_' or 'hw:'. So
  instead of the above names, use

        # glance image-update \
                 --property hw_disk_bus=ide \
                 --property hw_cdrom_bus=ide \
                 --property hw_vif_model=e1000 \
                 f16-x86_64-openstack-sda

  Any such change must be complete prior to Grizzly GA release, to avoid
  back-compat problems.

  See also http://lists.openstack.org/pipermail/openstack-
  dev/2013-February/005936.html

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