yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47280
[Bug 1544437] Re: messages in glance-manage purge are not formatted properly
Reviewed: https://review.openstack.org/279391
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=117642393a51b76d5285706835cfa240d4ef770b
Submitter: Jenkins
Branch: master
commit 117642393a51b76d5285706835cfa240d4ef770b
Author: Dinesh Bhor <dinesh.bhor@xxxxxxxxxxx>
Date: Thu Feb 11 02:33:54 2016 -0800
Fix message formatting in glance-manage purge
Info messages in glance-manage purge method shows variable names
in the message and not the corresponding values.
Used actual variable names instead of local() method to show
their values.
Change-Id: Ie8600d43a638b34a39cc58b9d1869e91eafb102b
Closes-Bug: #1544437
** 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/1544437
Title:
messages in glance-manage purge are not formatted properly
Status in Glance:
Fix Released
Bug description:
Info messages in glance-manage purge method are not formatting
properly as it shows variable names in the message and not the
corresponding values.
For example:
$ glance-manage db purge 1
2016-02-08 04:22:20.373 INFO glance.db.sqlalchemy.api [req-1bcebb2f-
bc3a-468d-b4c5-5701ea2cfa19 None None] Deleted %(rows)d row(s) from
table %(tbl)s
2016-02-08 04:22:20.374 INFO glance.db.sqlalchemy.api [req-1bcebb2f-
bc3a-468d-b4c5-5701ea2cfa19 None None] Purging deleted rows older than
%(age_in_days)d day(s) from table %(tbl)s
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1544437/+subscriptions
References