← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1728689] [NEW] Misleading log message when location list is empty

 

Public bug reported:

When (a) show_multiple_locations=True or show_image_direct_url=True and
(b) an image has an empty location list, and (c) any call that returns
an image record is made, a message is logged saying: "There is not
available location for image <image_id>".  This message is misleading
because it sounds like there's a problem with the backing store, whereas
all it means is that the locations list for that image is empty.  It's a
minor problem, but it's come up in the glance channel recently [1,2], so
it is causing some operator unpleasantness.

[1] http://eavesdrop.openstack.org/irclogs/%23openstack-glance/%23openstack-glance.2017-10-06.log.html#t2017-10-06T13:19:04
[2] http://eavesdrop.openstack.org/irclogs/%23openstack-glance/%23openstack-glance.2017-10-11.log.html#t2017-10-11T18:59:31

** Affects: glance
     Importance: Low
     Assignee: Brian Rosmaita (brian-rosmaita)
         Status: Triaged

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1728689

Title:
  Misleading log message when location list is empty

Status in Glance:
  Triaged

Bug description:
  When (a) show_multiple_locations=True or show_image_direct_url=True
  and (b) an image has an empty location list, and (c) any call that
  returns an image record is made, a message is logged saying: "There is
  not available location for image <image_id>".  This message is
  misleading because it sounds like there's a problem with the backing
  store, whereas all it means is that the locations list for that image
  is empty.  It's a minor problem, but it's come up in the glance
  channel recently [1,2], so it is causing some operator unpleasantness.

  [1] http://eavesdrop.openstack.org/irclogs/%23openstack-glance/%23openstack-glance.2017-10-06.log.html#t2017-10-06T13:19:04
  [2] http://eavesdrop.openstack.org/irclogs/%23openstack-glance/%23openstack-glance.2017-10-11.log.html#t2017-10-11T18:59:31

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


Follow ups