[ovn] Update backup/restore procedure - #1396
Conversation
00d1714 to
606d58c
Compare
| $CONTROLLER1_SSH sudo chmod 644 /tmp/ovn_standalone_conversion/ovn*.db | ||
|
|
||
| # Create local directory and copy converted databases | ||
| mkdir -p /tmp/ovn_adoption_dbs |
There was a problem hiding this comment.
Just noting the new requirement of local temporary storage on the host driving the adoption. We already have the control plane YAML files there so it's not the first local file requirement. And it's probably better than the alternatives like giving some pod a permission to ssh into the controllers. So +1.
With current backup/restore uuids for the records are being changed and that's result into geneve tunnels to be disabled with the compute nodes and thus centralized SNAT traffic is impacted when ovn_controller are started post adoption on the networker nodes. The traffic remains impacted until ovn_controllers are started also on the compute nodes. So to fix this switch to use full db files for restoration after converting the DBs to standalone. With this also cleaned the unused resources. Resolves: #OSPRH-29914 Signed-off-by: Yatin Karel <ykarel@redhat.com>
606d58c to
1548db7
Compare
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jistr The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
14853fd
into
openstack-k8s-operators:main
|
/cherry-pick 18.0-fr5 |
|
@karelyatin: new pull request created: #1399 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
With current backup/restore uuids for the records are being
changed and that's result into geneve tunnels to be
disabled with the compute nodes and thus centralized
SNAT traffic is impacted when ovn_controller are
started post adoption on the networker nodes. The
traffic remains impacted until ovn_controllers are started
also on the compute nodes.
So to fix this switch to use full db files for restoration
after converting the DBs to standalone. With this also
cleaned the unused resources.
Resolves: #OSPRH-29914