Bug 1823287
| Summary: | dynamic ipv4 address assignment is not as expected | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Jianlin Shi <jishi> | |
| Component: | ovn2.13 | Assignee: | Mark Michelson <mmichels> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jianlin Shi <jishi> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | FDP 20.C | CC: | ctrautma, dcbw, jishi, mmichels, ralongi | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | ovn2.13-20.06.2-15.fdp8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1825701 (view as bug list) | Environment: | ||
| Last Closed: | 2020-11-10 14:36:35 UTC | Type: | Bug | |
| 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: | ||||
| Bug Blocks: | 1825701 | |||
Description of problem: dynamic ipv4 address assignment is not as expected Version-Release number of selected component (if applicable): ovn2.13-2.13.0-11 How reproducible: always Steps to Reproduce: systemctl start ovn-northd ovn-nbctl ls-add ls2 ovn-nbctl lsp-add ls2 ls2p2 ovn-nbctl lsp-set-addresses ls2p2 dynamic ovn-nbctl set logical_switch ls2 other_config:subnet=172.16.1.1/29 ovn-nbctl list logical_switch_port ls2p2 ovn-nbctl set logical_switch ls2 other_config:subnet=172.16.1.254/29 ovn-nbctl list logical_switch_port ls2p2 Actual results: when set subnet as 172.16.1.254/29, ipv4 is assigned as 172.16.2.0 Expected results: address should be 172.16.1. Additional info: [root@dell-per740-12 test]# bash -x test.sh + systemctl start ovn-northd + ovn-nbctl ls-add ls2 + ovn-nbctl lsp-add ls2 ls2p2 + ovn-nbctl lsp-set-addresses ls2p2 dynamic + ovn-nbctl set logical_switch ls2 other_config:subnet=172.16.1.1/29 + ovn-nbctl list logical_switch_port ls2p2 _uuid : 615ad4f3-e050-4b39-bf0f-69f247ded2f1 addresses : [dynamic] dhcpv4_options : [] dhcpv6_options : [] dynamic_addresses : "82:fd:c9:10:01:04 172.16.1.3" enabled : [] external_ids : {} ha_chassis_group : [] name : ls2p2 options : {} parent_name : [] port_security : [] tag : [] tag_request : [] type : "" up : false + ovn-nbctl set logical_switch ls2 other_config:subnet=172.16.1.254/29 + ovn-nbctl list logical_switch_port ls2p2 _uuid : 615ad4f3-e050-4b39-bf0f-69f247ded2f1 addresses : [dynamic] dhcpv4_options : [] dhcpv6_options : [] dynamic_addresses : "82:fd:c9:10:01:04 172.16.2.0" <==== address is set ad 172.16.2.0 enabled : [] external_ids : {} ha_chassis_group : [] name : ls2p2 options : {} parent_name : [] port_security : [] tag : [] tag_request : [] type : "" up : false [root@dell-per740-12 test]# rpm -qa | grep -E "openvswitch|ovn" kernel-kernel-networking-openvswitch-ovn-load_balance-1.0-4.noarch openvswitch-selinux-extra-policy-1.0-23.el8fdp.noarch openvswitch2.13-2.13.0-9.el8fdp.x86_64 ovn2.13-2.13.0-11.el8fdp.x86_64 kernel-kernel-networking-openvswitch-ovn-common-1.0-7.noarch ovn2.13-central-2.13.0-11.el8fdp.x86_64 ovn2.13-host-2.13.0-11.el8fdp.x86_64 kernel-kernel-networking-openvswitch-ovn-add_setting-1.0-1.noarch python3-openvswitch2.13-2.13.0-9.el8fdp.x86_64