tar error handling has format string with incorrect args

Bug #1597105 reported by Deklan Dieterly
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
Fix Released
Undecided
Deklan Dieterly
Mitaka
Fix Committed
Undecided
Unassigned

Bug Description

String format needs to be fixed. Problem shows up as this error when handling tar restore errors.

2016-06-28 14:50:04.213 52484 ERROR freezer.engine.tar.tar_engine [-] cannot switch from automatic field numbering to manual field specification
2016-06-28 14:50:04.213 52484 ERROR freezer.engine.tar.tar_engine Traceback (most recent call last):
2016-06-28 14:50:04.213 52484 ERROR freezer.engine.tar.tar_engine File "/Users/dieterlyd/Documents/repos-github.com/openstack/freezer/freezer/engine/tar/tar_engine.py", line 128, in restore_level
2016-06-28 14:50:04.213 52484 ERROR freezer.engine.tar.tar_engine self.check_process_output(tar_process, 'Restore')
2016-06-28 14:50:04.213 52484 ERROR freezer.engine.tar.tar_engine File "/Users/dieterlyd/Documents/repos-github.com/openstack/freezer/freezer/engine/tar/tar_engine.py", line 157, in check_process_output
2016-06-28 14:50:04.213 52484 ERROR freezer.engine.tar.tar_engine .format(function, process.returncode))
2016-06-28 14:50:04.213 52484 ERROR freezer.engine.tar.tar_engine ValueError: cannot switch from automatic field numbering to manual field specification
2016-06-28 14:50:04.213 52484 ERROR freezer.engine.tar.tar_engine
2016-06-28 14:50:04.216 52482 ERROR freezer.engine.engine [-] Engine error: cannot switch from automatic field numbering to manual field specification

Deklan Dieterly (deklan)
Changed in freezer:
status: New → In Progress
assignee: nobody → Deklan Dieterly (deklan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to freezer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/335231

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to freezer (master)

Reviewed: https://review.openstack.org/335231
Committed: https://git.openstack.org/cgit/openstack/freezer/commit/?id=4d8a3ceaf18b8739a7b11ccd2341252ebeadfc91
Submitter: Jenkins
Branch: master

commit 4d8a3ceaf18b8739a7b11ccd2341252ebeadfc91
Author: Deklan Dieterly <email address hidden>
Date: Tue Jun 28 15:07:30 2016 -0600

    Fix tar error handling arguments

    Change-Id: I50b29b22dfb083b968bb73b2b1dd1622411a3555
    Closes-Bug: #1597105

Changed in freezer:
status: In Progress → Fix Released
Changed in freezer:
milestone: none → newton-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to freezer (stable/mitaka)

Reviewed: https://review.openstack.org/337605
Committed: https://git.openstack.org/cgit/openstack/freezer/commit/?id=9692ad55111e703c6e23bfc63167097022706311
Submitter: Jenkins
Branch: stable/mitaka

commit 9692ad55111e703c6e23bfc63167097022706311
Author: Deklan Dieterly <email address hidden>
Date: Tue Jun 28 15:07:30 2016 -0600

    Fix tar error handling arguments

    Change-Id: I50b29b22dfb083b968bb73b2b1dd1622411a3555
    Closes-Bug: #1597105
    (cherry picked from commit 4d8a3ceaf18b8739a7b11ccd2341252ebeadfc91)

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/freezer 3.0.0.0b2

This issue was fixed in the openstack/freezer 3.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.