yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #95370
[Bug 2099675] [NEW] trunk subport vnic_type not inherited from parent, DHCP for baremetal ports does not work
Public bug reported:
When using trunks with baremetal ports dhcp does not work for trunk
subports. Since trunk subports does not inherit vnic_type from parent
port type and chassis_group are not set correctly in OVN database.
Parent port
I have no name!@openvswitch-ovn-db-0:/$ ovn-nbctl --db=tcp:127.0.0.1:6641 --no-leader-only find Logical_Switch_Port name=1ffc4675-080e-48dd-8ff2-eeea2e023261
_uuid : 9a3be2e6-238a-4565-bfc2-8233d2a5e2c9
addresses : ["fa:16:3e:b4:42:a8 192.168.10.146"]
dhcpv4_options : 14d56939-06f5-42e9-9fac-2cf4f274c533
dhcpv6_options : []
dynamic_addresses : []
enabled : true
external_ids : {"neutron:cidrs"="192.168.10.146/24", "neutron:device_id"="", "neutron:device_owner"="", "neutron:mtu"="", "neutron:network_name"=neutron-b5124321-7a31-491b-be01-75151f49c016, "neutron:port_capabilities"="", "neutron:port_name"=trunk-parent-10-5, "neutron:project_id"="37b7d96f441a4727aa5172022cbc38a7", "neutron:revision_number"="6", "neutron:security_group_ids"="", "neutron:subnet_pool_addr_scope4"="", "neutron:subnet_pool_addr_scope6"="", "neutron:vnic_type"=baremetal}
ha_chassis_group : bfe8b5f0-2ec5-4c7d-bc7b-da9597e466c1
name : "1ffc4675-080e-48dd-8ff2-eeea2e023261"
options : {mcast_flood_reports="true"}
parent_name : []
port_security : []
tag : []
tag_request : []
type : external
up : true
trunk subport
I have no name!@openvswitch-ovn-db-0:/$ ovn-nbctl --db=tcp:127.0.0.1:6641 --no-leader-only find Logical_Switch_Port name=5806b571-d7d6-4d98-b544-4562f6b67165
_uuid : d68f8758-6351-4bb7-9207-75a4e3f67ea7
addresses : ["fa:16:3e:5f:eb:bf 192.169.10.241", unknown]
dhcpv4_options : 7d44eaa2-68ad-4bb9-952f-00c4ae6d1ae9
dhcpv6_options : []
dynamic_addresses : []
enabled : true
external_ids : {"neutron:cidrs"="192.169.10.241/24", "neutron:device_id"="", "neutron:device_owner"="trunk:subport", "neutron:mtu"="", "neutron:network_name"=neutron-3cd44ccb-0ea9-4501-95d1-3f361f0accf0, "neutron:port_capabilities"="", "neutron:port_name"=demot1p10-5, "neutron:project_id"="37b7d96f441a4727aa5172022cbc38a7", "neutron:revision_number"="2", "neutron:security_group_ids"="", "neutron:subnet_pool_addr_scope4"="", "neutron:subnet_pool_addr_scope6"="", "neutron:vnic_type"=normal}
ha_chassis_group : []
name : "5806b571-d7d6-4d98-b544-4562f6b67165"
options : {mcast_flood_reports="true"}
parent_name : "1ffc4675-080e-48dd-8ff2-eeea2e023261"
port_security : []
tag : 1068
tag_request : []
type : ""
up : false
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2099675
Title:
trunk subport vnic_type not inherited from parent, DHCP for baremetal
ports does not work
Status in neutron:
New
Bug description:
When using trunks with baremetal ports dhcp does not work for trunk
subports. Since trunk subports does not inherit vnic_type from parent
port type and chassis_group are not set correctly in OVN database.
Parent port
I have no name!@openvswitch-ovn-db-0:/$ ovn-nbctl --db=tcp:127.0.0.1:6641 --no-leader-only find Logical_Switch_Port name=1ffc4675-080e-48dd-8ff2-eeea2e023261
_uuid : 9a3be2e6-238a-4565-bfc2-8233d2a5e2c9
addresses : ["fa:16:3e:b4:42:a8 192.168.10.146"]
dhcpv4_options : 14d56939-06f5-42e9-9fac-2cf4f274c533
dhcpv6_options : []
dynamic_addresses : []
enabled : true
external_ids : {"neutron:cidrs"="192.168.10.146/24", "neutron:device_id"="", "neutron:device_owner"="", "neutron:mtu"="", "neutron:network_name"=neutron-b5124321-7a31-491b-be01-75151f49c016, "neutron:port_capabilities"="", "neutron:port_name"=trunk-parent-10-5, "neutron:project_id"="37b7d96f441a4727aa5172022cbc38a7", "neutron:revision_number"="6", "neutron:security_group_ids"="", "neutron:subnet_pool_addr_scope4"="", "neutron:subnet_pool_addr_scope6"="", "neutron:vnic_type"=baremetal}
ha_chassis_group : bfe8b5f0-2ec5-4c7d-bc7b-da9597e466c1
name : "1ffc4675-080e-48dd-8ff2-eeea2e023261"
options : {mcast_flood_reports="true"}
parent_name : []
port_security : []
tag : []
tag_request : []
type : external
up : true
trunk subport
I have no name!@openvswitch-ovn-db-0:/$ ovn-nbctl --db=tcp:127.0.0.1:6641 --no-leader-only find Logical_Switch_Port name=5806b571-d7d6-4d98-b544-4562f6b67165
_uuid : d68f8758-6351-4bb7-9207-75a4e3f67ea7
addresses : ["fa:16:3e:5f:eb:bf 192.169.10.241", unknown]
dhcpv4_options : 7d44eaa2-68ad-4bb9-952f-00c4ae6d1ae9
dhcpv6_options : []
dynamic_addresses : []
enabled : true
external_ids : {"neutron:cidrs"="192.169.10.241/24", "neutron:device_id"="", "neutron:device_owner"="trunk:subport", "neutron:mtu"="", "neutron:network_name"=neutron-3cd44ccb-0ea9-4501-95d1-3f361f0accf0, "neutron:port_capabilities"="", "neutron:port_name"=demot1p10-5, "neutron:project_id"="37b7d96f441a4727aa5172022cbc38a7", "neutron:revision_number"="2", "neutron:security_group_ids"="", "neutron:subnet_pool_addr_scope4"="", "neutron:subnet_pool_addr_scope6"="", "neutron:vnic_type"=normal}
ha_chassis_group : []
name : "5806b571-d7d6-4d98-b544-4562f6b67165"
options : {mcast_flood_reports="true"}
parent_name : "1ffc4675-080e-48dd-8ff2-eeea2e023261"
port_security : []
tag : 1068
tag_request : []
type : ""
up : false
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2099675/+subscriptions