Description of problem:
The 'openstack undercloud backup' command included with OSP13 accepts an
"include" argument for the file system portion that defaults to /home/stack.
Since customers generally keep overcloud images in /home/stack and that data generally doesn't need to be backed up, it would be nice to have an 'exclude' switch for exempting paths such as the images directory from backup. I would expect to be able to include /home/stack while excluding /home/stack/images or similar.
Reviews please: https://review.openstack.org/#/q/topic:exclude-path+(status:open+OR+status:merged)
I'm trying to verify this feature, but after running following command:
openstack undercloud backup --exclude-path /home/stack/virt
I still see this folder included into the backup:
[stack@undercloud-0 ~]$ tar tf filesystem-20180801013316.tar | grep '/virt'
Changes seems to be in the puddle 2018-07-30.2
(undercloud) [stack@undercloud-0 ~]$ rpm -q openstack-tripleo-common
(undercloud) [stack@undercloud-0 ~]$ rpm -q python-tripleoclient
We have long time with this available
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible.
If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-".
To add draft documentation text:
* Select the documentation type from the "Doc Type" drop down field.
* A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.