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' home/stack/virt/ home/stack/virt/network/ home/stack/virt/network/three-nics-vlans/ home/stack/virt/network/three-nics-vlans/osp11/ home/stack/virt/network/three-nics-vlans/osp11/ceph-storage.yaml home/stack/virt/network/three-nics-vlans/osp11/controller.yaml home/stack/virt/network/three-nics-vlans/osp11/cinder-storage.yaml home/stack/virt/network/three-nics-vlans/osp11/swift-storage.yaml home/stack/virt/network/three-nics-vlans/osp11/controller-v6.yaml home/stack/virt/network/three-nics-vlans/osp11/compute.yaml home/stack/virt/network/three-nics-vlans/legacy/ home/stack/virt/network/three-nics-vlans/legacy/ceph-storage.yaml home/stack/virt/network/three-nics-vlans/legacy/controller.yaml home/stack/virt/network/three-nics-vlans/legacy/cinder-storage.yaml home/stack/virt/network/three-nics-vlans/legacy/swift-storage.yaml home/stack/virt/network/three-nics-vlans/legacy/controller-v6.yaml home/stack/virt/network/three-nics-vlans/legacy/compute.yaml home/stack/virt/network/predictable-ips.yaml home/stack/virt/network/network-environment-v6.yaml home/stack/virt/network/network-environment.yaml home/stack/virt/network/predictable-ips-v6.yaml home/stack/virt/network/network-environment.yaml.orig home/stack/virt/debug.yaml home/stack/virt/internal.yaml home/stack/virt/enable-tls.yaml home/stack/virt/inject-trust-anchor.yaml home/stack/virt/overcloud-privkey.pem home/stack/virt/overcloud-cacert.pem home/stack/virt/public_vip.yaml home/stack/virt/hostnames.yml home/stack/virt/nodes_data.yaml home/stack/virt/docker-images.yaml Changes seems to be in the puddle 2018-07-30.2 (undercloud) [stack@undercloud-0 ~]$ rpm -q openstack-tripleo-common openstack-tripleo-common-8.6.3-5.el7ost.noarch (undercloud) [stack@undercloud-0 ~]$ rpm -q python-tripleoclient python-tripleoclient-9.2.3-2.el7ost.noarch
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. https://access.redhat.com/errata/RHBA-2018:2574
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days