Bug 1615079 - [RFE] Undercloud backup completion should mention Swift file/container backup name
Summary: [RFE] Undercloud backup completion should mention Swift file/container backup...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Documentation Team
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-12 06:28 UTC by Tzach Shefi
Modified: 2020-08-28 14:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-28 14:40:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tzach Shefi 2018-08-12 06:28:28 UTC
Description of problem:   While running backup the command completes but we have no idea where backup file is created. IMHO added such a line at the end something in the lines of backup can be accessed swift list/download.. 

I'm not sure about the correct words or phrase.
Yet while verifying an undercloud backup bz, I was left unsure which file or how to get the backup I had just created. 


Version-Release number of selected component (if applicable):
openstack-tripleo-common-containers-8.6.3-5.el7ost.noarch
openstack-tripleo-validations-8.4.2-1.el7ost.noarch
openstack-tripleo-ui-8.3.2-1.el7ost.noarch
openstack-tripleo-image-elements-8.0.1-1.el7ost.noarch
openstack-tripleo-heat-templates-8.0.4-4.el7ost.noarch
openstack-tripleo-puppet-elements-8.0.1-1.el7ost.noarch
openstack-tripleo-common-8.6.3-5.el7ost.noarch

How reproducible:
Every time. 

Steps to Reproduce:
1. Backup the undercloud:
#openstack undercloud backup --add-path /etc/ --add-path /root/ --add-path /var/lib/glance/ --add-path /var/lib/docker/ --add-path /var/lib/registry/ --add-path /srv/node/ --add-path /home/stack/vir

2. But where is the backup file? 

3. As I knew it would be uploaded to swift, I ran -> 

swift list  (there is probably some unified openstack command rather than this)
__cache__
ov-hzbw3zdpsb-0-fxrw2qb6gbzn-NovaCompute-3nahouwjjc6w
ov-ixlkdsb2rpv-0-zjgvszg6cgko-Controller-xfsrngelxb5a
overcloud
overcloud-swift-rings
undercloud-backups     -> probably this one.
undercloud-backups_segments  -> What is this then?

4. How do I export/import these back to new/other undercloud should I need to? Probably something to add on doc. 


Actual results:

openstack undercloud backup --add-path /etc/ --add-path /root/ --add-path /var/lib/glance/ --add-path /var/lib/docker/ --add-path /var/lib/registry/ --add-path /srv/node/ --add-path /home/stack/virt/
Started Mistral Workflow tripleo.undercloud_backup.v1.backup. Execution ID: f6c3eb1b-8e76-4a22-9826-6c2e30e718c7
Waiting for messages on queue 'tripleo' with no timeout.
Undercloud Backup succeed

Expected results:

openstack undercloud backup --add-path /etc/ --add-path /root/ --add-path /var/lib/glance/ --add-path /var/lib/docker/ --add-path /var/lib/registry/ --add-path /srv/node/ --add-path /home/stack/virt/
Started Mistral Workflow tripleo.undercloud_backup.v1.backup. Execution ID: f6c3eb1b-8e76-4a22-9826-6c2e30e718c7
Waiting for messages on queue 'tripleo' with no timeout.
Undercloud Backup succeed, backup can be accessed here swift/openstack.. download... 


Additional info:

Comment 3 Carlos Camacho 2018-08-30 14:52:40 UTC
Hello,

You have it in the upstream docs[1].

[1]: https://docs.openstack.org/tripleo-docs/latest/install/controlplane_backup_restore/03_undercloud_restore.html

Due to the backup size, swift will store the backup tarball in segments like undercloud-backups_segments but that should be transparent to the user.

I would move this as a docs BZ in any case, but the documentation explains how to get the backup back.


Note You need to log in before you can comment on or make changes to this bug.