← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1456388] Re: Task id not logged when task fails

 

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

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

Title:
  Task id not logged when task fails

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  When an import task fails, there are some log messages that don't
  display the task_id

  See the following from the api log :-

  2015-05-18 16:49:46.233 ^[[01;33mWARNING glance.common.scripts.image_import.main [^[[01;36mreq-1d7b92da-25e2-4cdd-8637-7d6b7c46063a ^[[00;36meb2e52a4901b491088d33d97bc4c881f 64be5a680d474f419d523993e7ea1bc4^[[01;33m] ^[[01;35m^[[01;33mTask None failed with exception HTTPResponse instance has no attribute 'body'^[[00m
  2015-05-18 16:49:46.237 ^[[00;36mINFO glance.common.scripts.image_import.main [^[[01;36mreq-1d7b92da-25e2-4cdd-8637-7d6b7c46063a ^[[00;36meb2e52a4901b491088d33d97bc4c881f 64be5a680d474f419d523993e7ea1bc4^[[00;36m] ^[[01;35m^[[00;36mTask None: Could not import image file file:///tmp/7a78717f-6528-41d4-8a9a-a5421b6a4525^[[00m

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


References