--encrypt-pass-file option does not work

Bug #1555625 reported by Pierre-Arthur MATHIEU
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
Fix Released
Undecided
Unassigned

Bug Description

root@padawan-ccp-c0-m1-mgmt:/home/stack# echo "thisismykey" > key.txt
root@padawan-ccp-c0-m1-mgmt:/home/stack# freezer-agent --path-to-backup /etc/ --container plop --backup-name test --encrypt-pass-file /home/stack/key.txt

root@padawan-ccp-c0-m1-mgmt:/home/stack# freezer-agent --restore-abs-path /tmp/rest/ --container plop --backup-name test --encrypt-pass-file /home/stack/key.txt --action restore
Process Process-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/stack/venv/freezer_agent-20160309T191456Z/lib/python2.7/site-packages/freezer/engine/tar/tar_engine.py", line 129, in restore_level
    tar_process.stdin.write(read_pipe.recv_bytes())
IOError: [Errno 32] Broken pipe
[*] Critical Error: failed to restore file

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

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

commit e4c1f0e026257bff1d28b59007e304ef2a6c3c89
Author: eldar nugaev <email address hidden>
Date: Thu Mar 10 14:50:37 2016 +0000

    Fix openssl decryption command

    Change-Id: I24182482306aa02878b0951b1458561de3867f0c
    Closes-bug: #1555625

Changed in freezer:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to freezer (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/291327

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

Reviewed: https://review.openstack.org/291327
Committed: https://git.openstack.org/cgit/openstack/freezer/commit/?id=bf28e13bf7c86ded0936cb7ee11e9343e3ccd1bf
Submitter: Jenkins
Branch: stable/liberty

commit bf28e13bf7c86ded0936cb7ee11e9343e3ccd1bf
Author: eldar nugaev <email address hidden>
Date: Thu Mar 10 14:50:37 2016 +0000

    Fix openssl decryption command

    Change-Id: I24182482306aa02878b0951b1458561de3867f0c
    Closes-bug: #1555625
    (cherry picked from commit e4c1f0e026257bff1d28b59007e304ef2a6c3c89)

tags: added: in-stable-liberty
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.