***** Verification for QUESTING (ubuntu) *****

##### Before enabling -proposed #####

# current installed package

ubuntu@rs-questing-flamingo:~$ apt-cache policy neutron-api
neutron-api:
  Installed: 2:27.0.0-0ubuntu1.1
  Candidate: 2:27.0.0-0ubuntu1.1
  Version table:
 *** 2:27.0.0-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu questing/main amd64 Packages

# Changed the value of `ovn_dhcp4_global_options` 
# to contain multiple values in the `ml2_conf.ini` file

sudo micro /etc/neutron/plugins/ml2/ml2_conf.ini
ovn_dhcp4_global_options = ntp_server:1.2.3.4,wpad:1.2.3.5;1.2.3.6

# Restart Apache2 to apply the changes, since Neutron API runs under
WSGI

ubuntu@rs-questing-flamingo:~$ sudo systemctl restart apache2
ubuntu@rs-questing-flamingo:~$ sudo systemctl daemon-reload

# Create a new network and subnet

ubuntu@rs-questing-flamingo:~$ openstack network create test-network
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        |                                      |
| created_at                | 2026-03-23T16:45:44Z                 |
| description               |                                      |
| dns_domain                |                                      |
| id                        | 26a8ac25-dfd0-40ad-b099-b3040ba40a8f |
| ipv4_address_scope        | None                                 |
| ipv6_address_scope        | None                                 |
| is_default                | None                                 |
| is_vlan_transparent       | False                                |
| l2_adjacency              | True                                 |
| mtu                       | 1442                                 |
| name                      | test-network                         |
| port_security_enabled     | True                                 |
| project_id                | 23e2706c1baf42b5b9f627b85a98cb1c     |
| provider:network_type     | None                                 |
| provider:physical_network | None                                 |
| provider:segmentation_id  | None                                 |
| qinq                      | False                                |
| qos_policy_id             | None                                 |
| revision_number           | 1                                    |
| router:external           | Internal                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tags                      |                                      |
| tenant_id                 | 23e2706c1baf42b5b9f627b85a98cb1c     |
| updated_at                | 2026-03-23T16:45:44Z                 |
+---------------------------+--------------------------------------+

ubuntu@rs-questing-flamingo:~$ openstack subnet create --network test-network 
--subnet-range 192.168.100.0/24 --dhcp test-subnet
+----------------------+--------------------------------------+
| Field                | Value                                |
+----------------------+--------------------------------------+
| allocation_pools     | 192.168.100.2-192.168.100.254        |
| cidr                 | 192.168.100.0/24                     |
| created_at           | 2026-03-23T16:46:34Z                 |
| description          |                                      |
| dns_nameservers      |                                      |
| dns_publish_fixed_ip | None                                 |
| enable_dhcp          | True                                 |
| gateway_ip           | 192.168.100.1                        |
| host_routes          |                                      |
| id                   | 5e35333a-02fe-4033-ab90-16e476bd56bb |
| ip_version           | 4                                    |
| ipv6_address_mode    | None                                 |
| ipv6_ra_mode         | None                                 |
| name                 | test-subnet                          |
| network_id           | 26a8ac25-dfd0-40ad-b099-b3040ba40a8f |
| project_id           | 23e2706c1baf42b5b9f627b85a98cb1c     |
| revision_number      | 0                                    |
| router:external      | False                                |
| segment_id           | None                                 |
| service_types        |                                      |
| subnetpool_id        | None                                 |
| tags                 |                                      |
| updated_at           | 2026-03-23T16:46:34Z                 |
+----------------------+--------------------------------------+

# See that multiple values are parsed incorrectly

ubuntu@rs-questing-flamingo:~$ sudo ovn-nbctl list DHCP_Options
_uuid               : 0ef07481-6ca7-4fc4-b8ab-3aa0da58e052
cidr                : "192.168.100.0/24"
external_ids        : {"neutron:revision_number"="0", 
subnet_id="5e35333a-02fe-4033-ab90-16e476bd56bb"}
options             : 
{classless_static_route="{169.254.169.254/32,192.168.100.2, 
0.0.0.0/0,192.168.100.1}", dns_server="{127.0.0.53}", lease_time="600", 
mtu="1442", ntp_server="1.2.3.4", router="192.168.100.1", 
server_id="192.168.100.1", server_mac="fa:16:3e:43:fe:8e", 
wpad="1.2.3.5;1.2.3.6"}

*** Note wpad="1.2.3.5;1.2.3.6" (semi-colon) is incorrect

# Delete the network and subnet

ubuntu@rs-questing-flamingo:~$ openstack subnet delete test-subnet
ubuntu@rs-questing-flamingo:~$ openstack network delete test-network

##### Enabling -proposed #####

ubuntu@rs-questing-flamingo:~$ sudo add-apt-repository "deb
http://archive.ubuntu.com/ubuntu/ questing-proposed main restricted
universe multiverse"

ubuntu@rs-questing-flamingo:~$ sudo apt update

ubuntu@rs-questing-flamingo:~$ sudo apt install -y \
    neutron-rpc-server=2:27.0.0-0ubuntu1.1 \
    neutron-api=2:27.0.0-0ubuntu1.1 \
    neutron-common=2:27.0.0-0ubuntu1.1 \
    neutron-plugin-ml2=2:27.0.0-0ubuntu1.1 \
    python3-neutron=2:27.0.0-0ubuntu1.1 \

##### After enabling -proposed #####

# installed package

ubuntu@rs-questing-flamingo:~$ apt-cache policy neutron-api
neutron-api:
  Installed: 2:27.0.0-0ubuntu1.1
  Candidate: 2:27.0.0-0ubuntu1.1
  Version table:
 *** 2:27.0.0-0ubuntu1.1 100
        100 http://archive.ubuntu.com/ubuntu questing-proposed/main amd64 
Packages
        100 /var/lib/dpkg/status
     2:27.0.0-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu questing/main amd64 Packages

# Create a new network and subnet again

ubuntu@rs-questing-flamingo:~$ openstack network create test-network
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        |                                      |
| created_at                | 2026-03-23T17:01:54Z                 |
| description               |                                      |
| dns_domain                |                                      |
| id                        | d1f1540d-1043-4d57-bb47-a47cfd232835 |
| ipv4_address_scope        | None                                 |
| ipv6_address_scope        | None                                 |
| is_default                | None                                 |
| is_vlan_transparent       | False                                |
| l2_adjacency              | True                                 |
| mtu                       | 1442                                 |
| name                      | test-network                         |
| port_security_enabled     | True                                 |
| project_id                | 23e2706c1baf42b5b9f627b85a98cb1c     |
| provider:network_type     | None                                 |
| provider:physical_network | None                                 |
| provider:segmentation_id  | None                                 |
| qinq                      | False                                |
| qos_policy_id             | None                                 |
| revision_number           | 1                                    |
| router:external           | Internal                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tags                      |                                      |
| tenant_id                 | 23e2706c1baf42b5b9f627b85a98cb1c     |
| updated_at                | 2026-03-23T17:01:54Z                 |
+---------------------------+--------------------------------------+

ubuntu@rs-questing-flamingo:~$ openstack subnet create --network test-network 
--subnet-range 192.168.100.0/24 --dhcp test-subnet
+----------------------+--------------------------------------+
| Field                | Value                                |
+----------------------+--------------------------------------+
| allocation_pools     | 192.168.100.2-192.168.100.254        |
| cidr                 | 192.168.100.0/24                     |
| created_at           | 2026-03-23T17:02:05Z                 |
| description          |                                      |
| dns_nameservers      |                                      |
| dns_publish_fixed_ip | None                                 |
| enable_dhcp          | True                                 |
| gateway_ip           | 192.168.100.1                        |
| host_routes          |                                      |
| id                   | 6702d1c8-b311-4ad5-8863-e8e033d546e7 |
| ip_version           | 4                                    |
| ipv6_address_mode    | None                                 |
| ipv6_ra_mode         | None                                 |
| name                 | test-subnet                          |
| network_id           | d1f1540d-1043-4d57-bb47-a47cfd232835 |
| project_id           | 23e2706c1baf42b5b9f627b85a98cb1c     |
| revision_number      | 0                                    |
| router:external      | False                                |
| segment_id           | None                                 |
| service_types        |                                      |
| subnetpool_id        | None                                 |
| tags                 |                                      |
| updated_at           | 2026-03-23T17:02:05Z                 |
+----------------------+--------------------------------------+


# See that multiple values are parsed correctly 

ubuntu@rs-questing-flamingo:~$ sudo ovn-nbctl list DHCP_Options
_uuid               : a4244b99-a96c-4109-a8c3-b5bd51a38284
cidr                : "192.168.100.0/24"
external_ids        : {"neutron:revision_number"="0", 
subnet_id="6702d1c8-b311-4ad5-8863-e8e033d546e7"}
options             : 
{classless_static_route="{169.254.169.254/32,192.168.100.2, 
0.0.0.0/0,192.168.100.1}", dns_server="{127.0.0.53}", lease_time="600", 
mtu="1442", ntp_server="1.2.3.4", router="192.168.100.1", 
server_id="192.168.100.1", server_mac="fa:16:3e:52:05:e9", wpad="{1.2.3.5, 
1.2.3.6}"}

*** Note wpad="1.2.3.5,1.2.3.6" (comma) is now correct

# Skipping checking if neutron-api is okay, since it is not a service

***********************************************

I confirm that neutron-api version 2:27.0.0-0ubuntu1.1
from questing-proposed fixes LP: #2126923 on Questing (ubuntu).


** Tags removed: verification-needed-questing
** Tags added: verification-done-questing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2126923

Title:
  [SRU] ovn_dhcp4_global_options doesn't support keys with a list of
  values

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2126923/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to