[openstack-dev] [nova][docker][powervm] out of tree virt driver breakage

Andrew Thorstensen thorst at us.ibm.com
Tue Jan 19 18:42:25 UTC 2016


Thanks Daniel.  We will be proposing an update to the powervm driver today 
to
handle this change.

Appreciate you reaching out about this!


Thanks.

Drew Thorstensen



From:   "Daniel P. Berrange" <berrange at redhat.com>
To:     openstack-dev at lists.openstack.org
Date:   01/19/2016 06:31 AM
Subject:        [openstack-dev] [nova][docker][powervm] out of tree virt 
driver  breakage



This is an alert for anyone who maintains an out of tree virt driver
for Nova (docker & powervm are the 2 I know of).

The following change has just merged changing the nova/virt/driver.py
API, and as such it will break any out of tree virt drivers until they
are updated

  commit fbe31e461ac3f16edb795993558a2314b4c16b52
  Author: Daniel P. Berrange <berrange at redhat.com>
  Date:   Mon Jun 8 17:58:09 2015 +0100

    compute: convert manager to use nova.objects.ImageMeta
 
    Update the virt driver API so that all methods with an
    'image_meta' parameter take a nova.objects.ImageMeta
    instance instead of a dict.
 
    NB, this will break out of tree virt drivers until they
    convert their code to use the new object.
 
    Blueprint: mitaka-objects
    Change-Id: I75465a2029b53aa4d338b80619ed7380e0d19e6a

Anywhere in your virt driver impl that uses the 'image_meta' parameter
should be updated to use the nova.objects.ImageMeta instance rather
than assuming it has a dict.

If you have any trouble understanding how to update the code, reply
to this message or find me on IRC for guidance, or look at changes
made to the libvirt/xenapi/vmware drivers in tree.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ 
:|
|: http://libvirt.org              -o-             http://virt-manager.org 
:|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ 
:|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc 
:|

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160119/b4faf8bb/attachment.html>


More information about the OpenStack-dev mailing list