Bug 2078799

Summary: [4.8.z backport] On OCP 4.10+ using OVNK8s on BM IPI, nodes register as localhost.localdomain
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: NetworkingAssignee: Jaime CaamaƱo Ruiz <jcaamano>
Networking sub component: ovn-kubernetes QA Contact: Ross Brattain <rbrattai>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: anusaxen, aos-bugs, bgalvani, bnemec, dollierp, ffernand, jcaamano, phoracek, rbrattai, shardy, tsedovic, vpickard, zbitter
Version: 4.10   
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-22 12:40:21 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:
Bug Depends On: 2074491    
Bug Blocks: 2069749    

Comment 1 Ross Brattain 2022-04-26 23:18:07 UTC
Verified on 4.8.0-0.ci.test-2022-04-26-205130-ci-ln-c0p201k-latest


Apr 26 21:17:32.641894 ip-10-0-224-221 configure-ovs.sh[1230]: + grep manual
Apr 26 21:17:32.642162 ip-10-0-224-221 configure-ovs.sh[1230]: + nmcli --fields ipv4.method,ipv6.method conn show 4800f48f-fa62-3005-94e0-7536fad9935c
Apr 26 21:17:32.642348 ip-10-0-224-221 configure-ovs.sh[1230]: + extra_if_brex_args=
Apr 26 21:17:32.642543 ip-10-0-224-221 configure-ovs.sh[1230]: ++ ip -j a show dev ens5
Apr 26 21:17:32.642767 ip-10-0-224-221 configure-ovs.sh[1230]: ++ jq '.[0].addr_info | map(. | select(.family == "inet")) | length'
Apr 26 21:17:32.643006 ip-10-0-224-221 configure-ovs.sh[1230]: + num_ipv4_addrs=1
Apr 26 21:17:32.643006 ip-10-0-224-221 configure-ovs.sh[1230]: + '[' 1 -gt 0 ']'
Apr 26 21:17:32.643006 ip-10-0-224-221 configure-ovs.sh[1230]: + extra_if_brex_args+='ipv4.may-fail no '
Apr 26 21:17:32.643690 ip-10-0-224-221 configure-ovs.sh[1230]: ++ ip -j a show dev ens5
Apr 26 21:17:32.643891 ip-10-0-224-221 configure-ovs.sh[1230]: ++ jq '.[0].addr_info | map(. | select(.family == "inet6" and .scope != "link")) | length'
Apr 26 21:17:32.644288 ip-10-0-224-221 configure-ovs.sh[1230]: + num_ip6_addrs=0
Apr 26 21:17:32.644288 ip-10-0-224-221 configure-ovs.sh[1230]: + '[' 0 -gt 0 ']'
Apr 26 21:17:32.644740 ip-10-0-224-221 configure-ovs.sh[1230]: ++ nmcli --get-values ipv4.dhcp-client-id conn show 4800f48f-fa62-3005-94e0-7536fad9935c
Apr 26 21:17:32.644966 ip-10-0-224-221 configure-ovs.sh[1230]: + dhcp_client_id=
Apr 26 21:17:32.644966 ip-10-0-224-221 configure-ovs.sh[1230]: + '[' -n '' ']'
Apr 26 21:17:32.645634 ip-10-0-224-221 configure-ovs.sh[1230]: ++ nmcli --get-values ipv6.dhcp-duid conn show 4800f48f-fa62-3005-94e0-7536fad9935c
Apr 26 21:17:32.645863 ip-10-0-224-221 configure-ovs.sh[1230]: + dhcp6_client_id=
Apr 26 21:17:32.645863 ip-10-0-224-221 configure-ovs.sh[1230]: + '[' -n '' ']'
Apr 26 21:17:32.646527 ip-10-0-224-221 configure-ovs.sh[1230]: ++ nmcli --get-values ipv6.addr-gen-mode conn show 4800f48f-fa62-3005-94e0-7536fad9935c
Apr 26 21:17:32.646752 ip-10-0-224-221 configure-ovs.sh[1230]: + ipv6_addr_gen_mode=stable-privacy
Apr 26 21:17:32.646752 ip-10-0-224-221 configure-ovs.sh[1230]: + '[' -n stable-privacy ']'
Apr 26 21:17:32.646752 ip-10-0-224-221 configure-ovs.sh[1230]: + extra_if_brex_args+='ipv6.addr-gen-mode stable-privacy '
Apr 26 21:17:32.646752 ip-10-0-224-221 configure-ovs.sh[1230]: + nmcli c add type ovs-interface slave-type ovs-port conn.interface br-ex master ovs-port-br-ex con-name ovs-if-br-ex 802-3-ethernet.mtu 9001 802-3-ethernet.cloned-mac-address 06:7e:f5:23:3a:7f ipv4.route-metric 49 ipv6.route-metric 49 ipv4.may-fail no ipv6.addr-gen-mode stable-privacy
Apr 26 21:17:32.647868 ip-10-0-224-221 configure-ovs.sh[1230]: Connection 'ovs-if-br-ex' (40233fc6-5911-429e-996a-a094a6b62754) successfully added.
Apr 26 21:17:32.648312 ip-10-0-224-221 configure-ovs.sh[1230]: + configure_driver_options ens5
Apr 26 21:17:32.648312 ip-10-0-224-221 configure-ovs.sh[1230]: + intf=ens5

Comment 6 errata-xmlrpc 2022-06-22 12:40:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.8.44 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:5032