When adding another stateless subnet, implicit address allocation happen for port with deferred ip allocation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Harald Jensås |
Bug Description
$ openstack port create \
--network provider test-port-deferred \
-c fixed_ips -f yaml
fixed_ips: []
$ openstack subnet create \
--ipv6-ra-mode dhcpv6-stateless \
--ipv6-
--network provider \
--network-segment provider-segment2 \
--dhcp \
--ip-version 6 \
--subnet-range dead:beef:3::/64 \
provider-
$ openstack subnet list --network provider -f yaml
- ID: 793bf8ce-
Name: provider-subnet2-2
Network: 45b993b2-
Subnet: dead:beef:3::/64
- ID: 926269c1-
Name: provider-subnet1
Network: 45b993b2-
Subnet: dead:beef:1::/64
- ID: cdec94ce-
Name: provider-subnet2
Network: 45b993b2-
Subnet: dead:beef:2::/64
$ openstack port list --network provider -f yaml
- Fixed IP Addresses:
- ip_address: dead:beef:
subnet_id: 793bf8ce-
ID: 8e2fe6e9-
MAC Address: fa:16:3e:9e:67:f7
Name: test-port-deferred
Status: DOWN
$ openstack port show test-port-deferred -f yaml
admin_state_up: true
allowed_
binding_host_id: ''
binding_profile: {}
binding_
binding_vif_type: unbound
binding_vnic_type: normal
created_at: '2020-02-
data_plane_status: null
description: ''
device_id: ''
device_owner: ''
dns_assignment:
- fqdn: host-dead-
hostname: host-dead-
ip_address: dead:beef:
dns_domain: ''
dns_name: ''
extra_dhcp_opts: []
fixed_ips:
- ip_address: dead:beef:
subnet_id: 793bf8ce-
id: 8e2fe6e9-
location:
cloud: ''
project:
domain_id: default
domain_name: null
id: 09295b4e443245b
name: demo
region_name: RegionOne
zone: null
mac_address: fa:16:3e:9e:67:f7
name: test-port-deferred
network_id: 45b993b2-
port_security_
project_id: 09295b4e443245b
propagate_
qos_network_
qos_policy_id: null
resource_request: null
revision_number: 3
security_group_ids:
- a19761db-
status: DOWN
tags: []
trunk_details: null
updated_at: '2020-02-
Since the port does not have 'binding_host_id' IP allocation on the routed provider network was deffered on create. However when adding another ipv6 stateless subnet, implicit address allocation is added to the port. This allocation should have been deferred.
summary: |
When adding another stateless subnet, implicit address allocation happen - for port wiht deffered ip allocation + for port with deffered ip allocation |
summary: |
When adding another stateless subnet, implicit address allocation happen - for port with deffered ip allocation + for port with deferred ip allocation |
description: | updated |
tags: | added: neutron-proactive-backport-potential |
Confirmed locally, thanks for detailed reproducer!