Bug 1878480 - We should take backup of /etc/exports file as it seems executing this command re-create a new exports file by
Summary: We should take backup of /etc/exports file as it seems executing this command...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.1 (Train)
Hardware: All
OS: All
high
medium
Target Milestone: z4
: 16.1 (Train on RHEL 8.2)
Assignee: Juan Badia Payno
QA Contact: myadla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-13 09:54 UTC by Direct Docs Feedback
Modified: 2021-04-07 14:37 UTC (History)
6 users (show)

Fixed In Version: tripleo-ansible-0.5.1-1.20200914163929.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-07 14:37:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 752980 0 None MERGED BaR: Keep /etc/exports content 2021-02-19 14:53:16 UTC
OpenStack gerrit 754825 0 None MERGED BaR: Keep /etc/exports content 2021-02-19 14:53:15 UTC
OpenStack gerrit 755886 0 None MERGED BaR: Keep /etc/exports content 2021-02-19 14:53:16 UTC

Description Direct Docs Feedback 2020-09-13 09:54:53 UTC
We should take backup of /etc/exports file as it seems executing this command re-create a new exports file by which we will loose the existing enteries from exports(if any).

It would be better if this play appends the exports file instead of recreating it.

Reported by: rhn-support-msufiyan

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html/undercloud_and_control_plane_back_up_and_restore/configuring-the-backup-node_osp-ctlplane-br#annotations:49b69516-6f83-48b2-ada8-af9c5ccb2afb

Comment 5 Jon Schlueter 2020-12-18 18:20:41 UTC
according to records tripleo-ansible-0.5.1-1.20200914163930.el8ost has been released for 16.1 .  Adding testonly flag

Comment 7 Eliad Cohen 2021-03-09 15:58:27 UTC
Test ok. Test will fail in case of duplicate exports (say, if created by a previous version)


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