← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1326926] Re: Conductor passing GlanceImageService instead of nova.image.api.API object to compute_utils.get_image_metadata()

 

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

** Changed in: nova
    Milestone: None => juno-2

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

Title:
  Conductor passing GlanceImageService instead of nova.image.api.API
  object to compute_utils.get_image_metadata()

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  After image-api partial refactor, some calls still use a glance
  service instance to call compute_utils.get_instance_metadata which
  expect the object to have a 'get()' method.

  Since that method is not present in GlanceImageService, and exception
  is thrown and the image metadata cannot be retrieved.

  Sample calling  _cold_migration(..)
  2014-06-05 15:45:13.138 WARNING nova.compute.utils [req-7a86365f-f01a-4d49-b1c3-595e8dc9bd24 admin admin] [instance: 290d3587-b69a-48d8-b5c0-307259e2f590] Can't access image 40c33532-0aed-4acc-8d7a-2a45698e1f2d: 'GlanceImageService' object has no attribute 'get'

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


References