Skip to content

[ovn] Update backup/restore procedure - #1396

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
karelyatin:OSPRH-29914-standalone
May 20, 2026
Merged

[ovn] Update backup/restore procedure#1396
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
karelyatin:OSPRH-29914-standalone

Conversation

@karelyatin

@karelyatin karelyatin commented May 15, 2026

Copy link
Copy Markdown
Contributor

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

@karelyatin
karelyatin force-pushed the OSPRH-29914-standalone branch 3 times, most recently from 00d1714 to 606d58c Compare May 18, 2026 05:44
@karelyatin karelyatin changed the title [WIP][ovn] switch backup/restore procedure [ovn] Update backup/restore procedure May 18, 2026
$CONTROLLER1_SSH sudo chmod 644 /tmp/ovn_standalone_conversion/ovn*.db

# Create local directory and copy converted databases
mkdir -p /tmp/ovn_adoption_dbs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jistr jistr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci Bot added the lgtm label May 19, 2026
@jistr
jistr requested a review from klgill May 19, 2026 08:00
@holser
holser self-requested a review May 19, 2026 12:42
Comment thread docs_user/modules/proc_migrating-ovn-data.adoc Outdated
Comment thread docs_user/modules/proc_migrating-ovn-data.adoc Outdated
Comment thread docs_user/modules/proc_migrating-ovn-data.adoc Outdated
Comment thread docs_user/modules/proc_migrating-ovn-data.adoc Outdated
Comment thread docs_user/modules/proc_migrating-ovn-data.adoc Outdated
Comment thread docs_user/modules/proc_migrating-ovn-data.adoc Outdated
Comment thread docs_user/modules/proc_migrating-ovn-data.adoc
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>
@karelyatin
karelyatin force-pushed the OSPRH-29914-standalone branch from 606d58c to 1548db7 Compare May 19, 2026 15:22
@openshift-ci openshift-ci Bot removed the lgtm label May 19, 2026
@karelyatin
karelyatin requested a review from klgill May 19, 2026 15:22
@xbezdick

Copy link
Copy Markdown

/lgtm

@klgill klgill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@jistr

jistr commented May 20, 2026

Copy link
Copy Markdown
Contributor

/approve

@openshift-ci

openshift-ci Bot commented May 20, 2026

Copy link
Copy Markdown

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot
openshift-merge-bot Bot merged commit 14853fd into openstack-k8s-operators:main May 20, 2026
6 checks passed
@karelyatin
karelyatin deleted the OSPRH-29914-standalone branch May 20, 2026 07:13
@karelyatin

Copy link
Copy Markdown
Contributor Author

/cherry-pick 18.0-fr5

@openshift-cherrypick-robot

Copy link
Copy Markdown

@karelyatin: new pull request created: #1399

Details

In response to this:

/cherry-pick 18.0-fr5

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants