Bug 1794671
Summary: | Dynamic MAC assignments made before generating MAC prefix | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Dumitru Ceara <dceara> |
Component: | ovn2.12 | Assignee: | Dumitru Ceara <dceara> |
Status: | CLOSED ERRATA | QA Contact: | Jianlin Shi <jishi> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | RHEL 8.0 | CC: | ctrautma, dcbw, jishi, mmichels, ralongi, rbryant, tredaelli, william.caban, zzhao |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1781223 | Environment: | |
Last Closed: | 2020-03-10 10:08:18 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: | 1781223 | ||
Bug Blocks: |
Description
Dumitru Ceara
2020-01-24 10:02:50 UTC
as there is no log before the fixed version, so can't reproduce on old version. Verified on 2.12.0-26: [root@dell-per740-12 bz1781223]# rpm -qa | grep -E "ovn|openvswitch" ovn2.12-host-2.12.0-26.el7fdp.x86_64 openvswitch2.12-2.12.0-21.el7fdp.x86_64 ovn2.12-central-2.12.0-26.el7fdp.x86_64 openvswitch-selinux-extra-policy-1.0-14.el7fdp.noarch ovn2.12-2.12.0-26.el7fdp.x86_64 #!/bin/bash systemctl restart openvswitch systemctl restart ovn-northd ovn-nbctl set-connection ptcp:6641 ovn-sbctl set-connection ptcp:6642 ovs-vsctl set open . external-ids:system_id=hv1 external-ids:ovn-remote=tcp:20.0.30.25:6642 external-ids:ovn-encap-type=geneve external-ids:ovn-encap-ip=20.0.30.25 systemctl restart ovn-controller ovn-nbctl ls-add ls1 ovn-nbctl lsp-add ls1 lsp1 ovn-nbctl set Logical-Switch ls1 other_config:subnet=192.168.0.0/16 ovn-nbctl set Logical-switch ls1 other_config:ipv6_prefix=2003::0 ovn-nbctl lsp-set-addresses lsp1 dynamic ovn-nbctl list logical_switch_port lsp1 [root@dell-per740-12 bz1781223]# ovn-nbctl list nb_global _uuid : 80d7eda8-2f45-4be4-b138-d6a9bc9891a2 connections : [dd39351f-6b81-4ab3-b074-6c0550219fa7] external_ids : {} hv_cfg : 0 ipsec : false nb_cfg : 0 options : {mac_prefix="ea:8c:8d", svc_monitor_mac="96:7c:e8:d3:ea:a7"} sb_cfg : 0 ssl : [] [root@dell-per740-12 bz1781223]# cat /var/log/ovn/ovn-northd.log 2020-02-03T02:28:59.186Z|00001|vlog|INFO|opened log file /var/log/ovn/ovn-northd.log 2020-02-03T02:28:59.196Z|00002|reconnect|INFO|unix:/run/ovn/ovnnb_db.sock: connecting... 2020-02-03T02:28:59.196Z|00003|reconnect|INFO|unix:/run/ovn/ovnsb_db.sock: connecting... 2020-02-03T02:28:59.196Z|00004|reconnect|INFO|unix:/run/ovn/ovnnb_db.sock: connected 2020-02-03T02:28:59.196Z|00005|reconnect|INFO|unix:/run/ovn/ovnsb_db.sock: connected 2020-02-03T02:28:59.197Z|00006|ovn_northd|INFO|ovn-northd lock acquired. This ovn-northd instance is now active. 2020-02-03T02:28:59.415Z|00007|ovn_northd|INFO|Assigned dynamic IPv4 address '192.168.0.2' to port 'lsp1' 2020-02-03T02:28:59.415Z|00008|ovn_northd|INFO|Assigned dynamic MAC address 'ea:8c:8d:a8:00:03' to port 'lsp1' <==== mac is generated from mac prefix 2020-02-03T02:28:59.415Z|00009|ovn_northd|INFO|Assigned dynamic IPv6 address '2003::e88c:8dff:fea8:3' to port 'lsp1' 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, 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-2020:0752 |