Bug 1888437
| Summary: | [DDF] This example configuration may prevent easy recovery if the network used to access NFS server is VLAN tagged and | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Direct Docs Feedback <ddf-bot> |
| Component: | documentation | Assignee: | Joanne O'Flynn <joflynn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | RHOS Documentation Team <rhos-docs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 13.0 (Queens) | CC: | ebeaudoi, elicohen, gregraka, jbadiapa, joflynn, myadla, nweinber, rmetrich, vfarias |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-14 13:15:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Direct Docs Feedback
2020-10-14 20:47:44 UTC
Details at https://github.com/rear/rear/issues/1202#issuecomment-301070169. This is the default configuration in ReaR 2.5 As a workaround to avoid the networking issue the "BACKUP_URL=iso:///backup/" can be added to the /etc/rear/local.conf. This configuration all the system backup will be attached to the iso and the restoration won't need the network.
ReaR does not know how to deal with OVS interfaces so those interfaces are skipped on the restoration.
There are a couple of workarounds:
1.- The one on commnet#6 of this BZ.
Basically avoid network issues by adding all the backup data on the boot iso.
2.- Configure manually those interfaces in the same way as [1]
2.1 Add the configured commands on the PRE_RECOVERY_SCRIPT on the /etc/rear/local.conf
PRE_RECOVERY_SCRIPT=/usr/share/rear/skel/default/etc/scripts/system-setup.d/77-my-network-setup.sh
2.2 Create a file at /usr/share/rear/skel/default/etc/scripts/system-setup.d/77-my-network-setup.sh with the needed commands.
As an example **THIS MAY NOT WORK FOR YOU**
[stack@site-undercloud-0 ~]$ cat /usr/share/rear/skel/default/etc/scripts/system-setup.d/77-my-network-setup.sh
ip link add br-ctlplane type bridge
ip link set br-ctlplane up
ip link set eth0 up
ip link set eth0 master br-ctlplane
ip addr add 192.168.24.1/24 dev br-ctlplane
ip addr add 192.168.24.3/32 dev br-ctlplane
ip addr add 192.168.24.2/32 dev br-ctlplane
3.- Configure manually those interfaces using the NETWORKING_PREPARATION_COMMANDS parameter
3.1 Add the parameter to /etc/rear/local.conf with the needed commands
NETWORKING_PREPARATION_COMMANDS=('command 1' ''command 2' 'so on')
[1] .- https://github.com/rear/rear/issues/1818
Published KBA: https://access.redhat.com/articles/6182471 |