OVN: Metadata is not provisioned for a network with DHCP turned off
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Medium
|
Unassigned |
Bug Description
Can be related to #1918914
Openstack version: Ussuri
I have a very simple deployment with a single flat provider network (not sure it matters) with a subnet with DHCP turned off (instances are created only with this network).
In this case neutron-
---
root@eq-os1:~# ovn-sbctl find Port_Binding type=localport
_uuid : b6329cbe-
chassis : []
datapath : 097732e0-
encap : []
external_ids : {"neutron:
gateway_chassis : []
ha_chassis_group : []
logical_port : "a557f47a-
mac : ["fa:16:
nat_addresses : []
options : {requested-
parent_port : []
tag : []
tunnel_key : 2
type : localport
virtual_parent : []
root@eq-os1:~#
---
The reason is that external_
--- neutron/
# If there's no metadata port or it doesn't have a MAC or IP
# addresses, then tear the namespace down if needed. This might happen
# when there are no subnets yet created so metadata port doesn't have
# an IP address.
if not (port and port.mac and
return
---
When DHCP is enabled neutron:cidrs gets not empty and metadata is properly provisioned.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
As you mentioned, this might be related to https:/ /bugs.launchpad .net/neutron/ +bug/1918914 - as there is no DHCP port in either case. Since Rodolfo responded in the other one let's see if he responds there to your recent comment.