[UC backup] - Swift data is useless if we don't backup the files with extended attributes

Bug #1778215 reported by Carlos Camacho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Carlos Camacho

Bug Description

We are not using --xattrs when creating the UC backup swift objects after restoring are not accessible.

Jun 20 07:36:27 node haproxy[19966]: Connect from 10.65.176.99:49680 to 10.65.176.99:13000 (keystone_public/HTTP)
Jun 20 07:36:27 node haproxy[19966]: Connect from 10.65.176.99:56386 to 10.65.176.99:13808 (swift_proxy_server/TCP)
Jun 20 07:36:27 node container-server[21584]: 192.0.2.5 - - [19/Jun/2018:21:36:27 +0000] "GET /1/545/AUTH_a2b66e959ed7431f98344345085a38c6/overcloud" 200 101535 "GET http://node:13808/v1/AUTH_a2b66e959ed7431f98344345085a38c6/overcloud?format=json" "tx7fe87494950841a1894b1-005b29775b" "proxy-server 21891" 0.0114 "-" 21584 0
Jun 20 07:36:27 node proxy-server[21891]: 192.0.2.5 192.0.2.5 19/Jun/2018/21/36/27 GET /v1/AUTH_a2b66e959ed7431f98344345085a38c6/overcloud%3Fformat%3Djson HTTP/1.0 200 - osc-lib%20keystoneauth1/2.12.3%20python-requests/2.11.1%20CPython/2.7.5 b8555d8714f249cd... - 101535 - tx7fe87494950841a1894b1-005b29775b - 0.1079 - - 1529444187.334372044 1529444187.442306042 0
Jun 20 07:36:27 node object-server[21670]: 192.0.2.5 - - [19/Jun/2018:21:36:27 +0000] "GET /1/734/AUTH_a2b66e959ed7431f98344345085a38c6/overcloud/bootstrap-config.yaml" 404 - "GET http://node:13808/v1/AUTH_a2b66e959ed7431f98344345085a38c6/overcloud/bootstrap-config.yaml" "tx6be53f67f85c4226842ce-005b29775b" "proxy-server 21891" 0.0004 "-" 21670 0
Jun 20 07:36:27 node proxy-server[21891]: 192.0.2.5 192.0.2.5 19/Jun/2018/21/36/27 GET /v1/AUTH_a2b66e959ed7431f98344345085a38c6/overcloud/bootstrap-config.yaml HTTP/1.0 404 - osc-lib%20keystoneauth1/2.12.3%20python-requests/2.11.1%20CPython/2.7.5 b8555d8714f249cd... - 70 - tx6be53f67f85c4226842ce-005b29775b - 0.0049 - - 1529444187.450299978 1529444187.455245972 0

How to reproduce:
 100% run a backup and restore swift data.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-docs (master)

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

Changed in tripleo:
milestone: none → rocky-3
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/577793

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

Reviewed: https://review.openstack.org/577407
Committed: https://git.openstack.org/cgit/openstack/tripleo-docs/commit/?id=4c06bd98b1e09c60b79848709cd02a10177f58d2
Submitter: Zuul
Branch: master

commit 4c06bd98b1e09c60b79848709cd02a10177f58d2
Author: Carlos Camacho <email address hidden>
Date: Fri Jun 22 14:36:26 2018 +0200

    Docs adjustment for adding --xattrs to the UC backup/restore

    We need to adjust the docs when creating and restoring the
    UC data, we need to use --xattrs when creating the tarball.

    Change-Id: Idc98a22d02bd7fccf1cc9845f8cec0da2155471d
    Closes-Bug: 1778215

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/577406
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=bd11ebccfe21f4c0a1833b6afb2c2bc040f6696f
Submitter: Zuul
Branch: master

commit bd11ebccfe21f4c0a1833b6afb2c2bc040f6696f
Author: Carlos Camacho <email address hidden>
Date: Fri Jun 22 14:32:09 2018 +0200

    Include --xattrs when creating the undercloud backup.

    We need to use --xattrs when running the backup, otherwise
    swift objects after the restore won't be accesible.

    Change-Id: I62e5488c78c95368f6b6b967a5504ff3478f1fce
    Closes-Bug: 1778215

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/queens)

Reviewed: https://review.openstack.org/577793
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=feef6e73b9f753786e85ade4aef3ff0dde877c46
Submitter: Zuul
Branch: stable/queens

commit feef6e73b9f753786e85ade4aef3ff0dde877c46
Author: Carlos Camacho <email address hidden>
Date: Fri Jun 22 14:32:09 2018 +0200

    Include --xattrs when creating the undercloud backup.

    We need to use --xattrs when running the backup, otherwise
    swift objects after the restore won't be accesible.

    (cherry picked from commit bd11ebccfe21f4c0a1833b6afb2c2bc040f6696f)
    Change-Id: I62e5488c78c95368f6b6b967a5504ff3478f1fce
    Closes-Bug: 1778215

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 8.6.3

This issue was fixed in the openstack/tripleo-common 8.6.3 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 9.2.0

This issue was fixed in the openstack/tripleo-common 9.2.0 release.

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.