Restore master node with custom path failed with error

Bug #1461542 reported by Egor Kotko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Matthew Mosesohn

Bug Description

{"build_id": "2015-06-02_16-28-25", "build_number": "497", "release_versions": {"2014.2.2-6.1": {"VERSION": {"build_id": "2015-06-02_16-28-25", "build_number": "497", "api": "1.0", "fuel-library_sha": "d757cd41e4f8273d36ef85b8207e554e5422c5b0", "nailgun_sha": "3830bdcb28ec050eed399fe782cc3dd5fbf31bde", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-6.1", "production": "docker", "python-fuelclient_sha": "4fc55db0265bbf39c369df398b9dc7d6469ba13b", "astute_sha": "cbae24e9904be2ff8d1d49c0c48d1bdc33574228", "fuel-ostf_sha": "f899e16c4ce9a60f94e7128ecde1324ea41d09d4", "release": "6.1", "fuelmain_sha": "bcc909ffc5dd5156ba54cae348b6a07c1b607b24"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "d757cd41e4f8273d36ef85b8207e554e5422c5b0", "nailgun_sha": "3830bdcb28ec050eed399fe782cc3dd5fbf31bde", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-6.1", "production": "docker", "python-fuelclient_sha": "4fc55db0265bbf39c369df398b9dc7d6469ba13b", "astute_sha": "cbae24e9904be2ff8d1d49c0c48d1bdc33574228", "fuel-ostf_sha": "f899e16c4ce9a60f94e7128ecde1324ea41d09d4", "release": "6.1", "fuelmain_sha": "bcc909ffc5dd5156ba54cae348b6a07c1b607b24"}

Steps to reproduce:
1. Deploy env Ubuntu 1Contr, 1Compute
2. Backup master with custom path for arch:
dockerctl backup /var/lib/docker/
3. Restore master
dockerctl restore /var/lib/docker/fuel_backup.tar.lrz

Actual result:
[root@nailgun docker]# dockerctl restore /var/lib/docker/fuel_backup.tar.lrz
Unable to parse timestamp in archive.
Restore failed!

Revision history for this message
Egor Kotko (ykotko) wrote :
Changed in fuel:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

This could have a big impact for our users, especially those who might move their backups to a different disk. Moving to high

Changed in fuel:
importance: Medium → High
milestone: 7.0 → 6.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/188003
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=cf69b9e3eca30dfc4bba3de00620bf0524f81d8b
Submitter: Jenkins
Branch: master

commit cf69b9e3eca30dfc4bba3de00620bf0524f81d8b
Author: Matthew Mosesohn <email address hidden>
Date: Wed Jun 3 16:27:13 2015 +0300

    Fix backup filename for dockerctl backup

    The backup file should contain the timestamp
    of the time when the backup was run so that it
    can be parsed. This only affected custom backups
    because the default backups has the timestamp
    in the path.

    Change-Id: I184708a5b4077adda9810232a5ae205017a8238e
    Closes-Bug: #1461542

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Egor Kotko (ykotko) wrote :

Verified on:
{"build_id": "2015-06-02_16-28-25", "build_number": "497", "release_versions": {"2014.2.2-6.1": {"VERSION": {"build_id": "2015-06-02_16-28-25", "build_number": "497", "api": "1.0", "fuel-library_sha": "d757cd41e4f8273d36ef85b8207e554e5422c5b0", "nailgun_sha": "3830bdcb28ec050eed399fe782cc3dd5fbf31bde", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-6.1", "production": "docker", "python-fuelclient_sha": "4fc55db0265bbf39c369df398b9dc7d6469ba13b", "astute_sha": "cbae24e9904be2ff8d1d49c0c48d1bdc33574228", "fuel-ostf_sha": "f899e16c4ce9a60f94e7128ecde1324ea41d09d4", "release": "6.1", "fuelmain_sha": "bcc909ffc5dd5156ba54cae348b6a07c1b607b24"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "d757cd41e4f8273d36ef85b8207e554e5422c5b0", "nailgun_sha": "3830bdcb28ec050eed399fe782cc3dd5fbf31bde", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-6.1", "production": "docker", "python-fuelclient_sha": "4fc55db0265bbf39c369df398b9dc7d6469ba13b", "astute_sha": "cbae24e9904be2ff8d1d49c0c48d1bdc33574228", "fuel-ostf_sha": "f899e16c4ce9a60f94e7128ecde1324ea41d09d4", "release": "6.1", "fuelmain_sha": "bcc909ffc5dd5156ba54cae348b6

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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