-
Bug
-
Resolution: Done
-
Normal
-
None
-
rhos-18.0.6
-
None
-
5
-
False
-
-
False
-
?
-
None
-
-
-
Moderate
To Reproduce Steps to reproduce the behavior:
OVS database config is not done by the OVN controller when openshift worker is re-installed with same hostname.
Details
Customer has the RHOSO installation with OVN Pod's.
Redeployment of the Worker node was done using UPI method.
Customer is not able to see the database config on this redeployed node.
$ oc get pods -n openstack --field-selector spec.nodeName=bm9584017.ocse-prd.infra.eu-fr-paris.cloud.socgen |grep ovn ovn-controller-c2qjb 1/1 Running 0 4d6h ovn-controller-ovs-jp2r9 2/2 Running 0 4d6hoc $ exec pods/ovn-controller-c2qjb ovs-vsctl show 957cf71c-fc18-4461-8de4-5daf2ddeabf6 Bridge br-int fail_mode: secure datapath_type: system Port br-int Interface br-int type: internal ovs_version: "3.3.2-40.el9fdp" $ oc exec pods/ovn-controller-c2qjb ovs-vsctl get open . external_ids {hostname=ovn-controller-ovs-gwtbk, ovn-encap-ip="114.6.208.72", rundir="/var/run/openvswitch", system-id="13fdc668-cfe8-4114-9b9c-c9927e1195d5"}
Expected output
Find the expected output from a another worker node below.
$ oc exec ovn-controller-prg9f ovs-vsctl get open . external_ids {hostname=bm9584016.ocse-prd.infra.eu-fr-paris.cloud.socgen, ovn-bridge=br-int, ovn-bridge-mappings="octavia:br-octavia", ovn-cms-options="enable-chassis-as-gw,availability-zones=eu-fr-paris-1:eu-fr-paris-2:eu-fr-paris-3", ovn-encap-ip="114.6.208.54", ovn-encap-type=geneve, ovn-remote="ssl:ovsdbserver-sb-0.openstack.svc.cluster.local:6642,ssl:ovsdbserver-sb-1.openstack.svc.cluster.local:6642,ssl:ovsdbserver-sb-2.openstack.svc.cluster.local:6642", rundir="/var/run/openvswitch", system-id="9cc6402b-266a-478c-8953-88cdc41e0232"} $ oc exec ovn-controller-prg9f ovs-vsctl show Bridge br-int Port br-int Interface br-int type: internal fail_mode: secure datapath_type: system Port ovn-2f1cf5-0 Interface ovn-2f1cf5-0 type: geneve options: {csum="true", key=flow, remote_ip="114.6.139.206"} Port ovn-11d012-0 Interface ovn-11d012-0 type: geneve options: {csum="true", key=flow, remote_ip="114.6.208.50"} Port ovn-d0025f-0 Interface ovn-d0025f-0 type: geneve options: {csum="true", key=flow, remote_ip="114.6.13.219"} Port ovn-720572-0 Interface ovn-720572-0 type: geneve options: {csum="true", key=flow, remote_ip="114.6.208.57"}
Details:
oc adm inspect and must gather in the case.