[upgrade] octane does not properly log names of backup archivators
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Wishlist
|
Ilya Kharin | ||
Mitaka |
Fix Released
|
Wishlist
|
Ilya Kharin |
Bug Description
Detailed bug description:
octane improperly logs messages with names of archivators, e.g.:
Start backup <property object at 0x27cb5d0>
Steps to reproduce:
* Install octane on the master node with the 9.0 release
* Perform the backup procedure using the fuel-repo-backup command
Actual result:
[root@fuel ~]# octane --debug -v fuel-repo-backup --to repos_and_
2016-06-15 13:03:11 INFO octane.
2016-06-15 13:03:11 INFO octane.
2016-06-15 13:03:12 INFO octane.
2016-06-15 13:06:05 INFO octane.
2016-06-15 13:06:05 INFO octane.
2016-06-15 13:06:05 INFO octane.
2016-06-15 13:06:06 INFO octane.
2016-06-15 13:06:28 INFO octane.
Expected result:
[root@fuel ~]# octane --debug -v fuel-repo-backup --to repos_and_
2016-06-15 20:19:27 INFO octane.
2016-06-15 20:19:27 INFO octane.
2016-06-15 20:19:27 INFO octane.
2016-06-15 20:21:53 INFO octane.
2016-06-15 20:21:53 INFO octane.
2016-06-15 20:21:53 INFO octane.
2016-06-15 20:21:53 INFO octane.
2016-06-15 20:22:14 INFO octane.
Reproducibility:
Constantly.
Description of the environment:
A master node with 8.0 or 9.0.
Changed in fuel: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
assignee: | nobody → Ilya Kharin (akscram) |
milestone: | none → 8.0-updates |
tags: | added: team-upgrades |
Changed in fuel: | |
status: | Confirmed → In Progress |
description: | updated |
Reviewed: https:/ /review. openstack. org/329952 /git.openstack. org/cgit/ openstack/ fuel-octane/ commit/ ?id=4459e156e00 adfee279760d216 7109718ffd6ccf
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4459e156e00adfe e279760d2167109 718ffd6ccf
Author: Ilya Kharin <email address hidden>
Date: Wed Jun 15 16:18:43 2016 +0300
Fix logging for backup archivators
The backup_restore.Base class has the archivator_name property that is
used to log messages before and after the backup call. This property
should be used only for instance-bound objects and not classes.
Closes-Bug: #1592969 a3ac4e0468ccd8d 407d8694162
Change-Id: Ib3b4542a5882cb