Public bug reported:

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

** Affects: glance
     Importance: Undecided
     Assignee: Sabari Murugesan (smurugesan)
         Status: New

-- 
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):
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to