← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1713740] Re: task status change incorrectly reported in info log message

 

Reviewed:  https://review.openstack.org/498839
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=e1321298e7899d0d0d6b96243935454c427e2464
Submitter: Jenkins
Branch:    master

commit e1321298e7899d0d0d6b96243935454c427e2464
Author: Brian Rosmaita <rosmaita.fossdev@xxxxxxxxx>
Date:   Tue Aug 29 11:10:22 2017 -0400

    Change variable used by log message
    
    The code was changing the status of a task and then logging an
    info message about the change using the already-changed variable.
    This patch saves the old status before the task status is modified
    so that the status transition can be accurately reported in the log.
    
    Change-Id: I84fef1d710f24f601971a348f53d74b6a6d6a2f9
    Closes-bug: #1713740


** Changed in: glance
       Status: In Progress => 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/1713740

Title:
  task status change incorrectly reported in info log message

Status in Glance:
  Fix Released

Bug description:
  This is minor but annoying.  The INFO message reporting the status
  change of a task always looks like this:

  2017-08-29 09:49:22.561 INFO glance.domain [-] Task [9cc88fb7-eb80-48e9-8bfd-be68bdbadb7f] status changing from processing to processing
  2017-08-29 09:49:24.700 INFO glance.domain [-] Task [9cc88fb7-eb80-48e9-8bfd-be68bdbadb7f] status changing from success to success

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


References