~0x44/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/virt/libvirt/connection.py

Update GlanceClient, GlanceImageService, and Glance Xen plugin to work with Glance keystone.

Show diffs side-by-side

added added

removed removed

Lines of Context:
398
398
        virt_dom = self._lookup_by_name(instance['name'])
399
399
 
400
400
        (image_service, image_id) = nova.image.get_image_service(
401
 
            instance['image_ref'])
 
401
            context, instance['image_ref'])
402
402
        base = image_service.show(context, image_id)
403
403
        (snapshot_image_service, snapshot_image_id) = \
404
 
            nova.image.get_image_service(image_href)
 
404
            nova.image.get_image_service(context, image_href)
405
405
        snapshot = snapshot_image_service.show(context, snapshot_image_id)
406
406
 
407
407
        metadata = {'is_public': False,