********** Verification for FLAMINGO (UCA) **********

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

# current installed package

ubuntu@rs-noble-flamingo:~/regress-stack$ apt-cache policy neutron-api
neutron-api:
  Installed: 2:27.0.0-0ubuntu1~cloud0
  Candidate: 2:27.0.0-0ubuntu1~cloud0
  Version table:
 *** 2:27.0.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu 
noble-updates/flamingo/main amd64 Packages
        100 /var/lib/dpkg/status

# 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-noble-flamingo:~$ sudo systemctl restart apache2
ubuntu@rs-noble-flamingo:~$ sudo systemctl daemon-reload

# Create a new network and subnet

ubuntu@rs-noble-flamingo:~$ openstack network create test-network
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        |                                      |
| created_at                | 2026-03-23T19:43:59Z                 |
| description               |                                      |
| dns_domain                |                                      |
| id                        | 8571e7a5-241a-4f56-9ca7-c7eee1b9bda3 |
| 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                | f2127fa8c4be449ebf96c69a85845fdb     |
| provider:network_type     | geneve                               |
| provider:physical_network | None                                 |
| provider:segmentation_id  | 24706                                |
| qinq                      | False                                |
| qos_policy_id             | None                                 |
| revision_number           | 1                                    |
| router:external           | Internal                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tags                      |                                      |
| tenant_id                 | f2127fa8c4be449ebf96c69a85845fdb     |
| updated_at                | 2026-03-23T19:43:59Z                 |
+---------------------------+--------------------------------------+

ubuntu@rs-noble-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-23T19:44:12Z                 |
| description          |                                      |
| dns_nameservers      |                                      |
| dns_publish_fixed_ip | None                                 |
| enable_dhcp          | True                                 |
| gateway_ip           | 192.168.100.1                        |
| host_routes          |                                      |
| id                   | e9fd6f3c-5dfb-4b5f-b20a-57ed52eb624c |
| ip_version           | 4                                    |
| ipv6_address_mode    | None                                 |
| ipv6_ra_mode         | None                                 |
| name                 | test-subnet                          |
| network_id           | 8571e7a5-241a-4f56-9ca7-c7eee1b9bda3 |
| project_id           | f2127fa8c4be449ebf96c69a85845fdb     |
| revision_number      | 0                                    |
| router:external      | False                                |
| segment_id           | None                                 |
| service_types        |                                      |
| subnetpool_id        | None                                 |
| tags                 |                                      |
| updated_at           | 2026-03-23T19:44:12Z                 |
+----------------------+--------------------------------------+

# See that multiple values are parsed incorrectly

ubuntu@rs-noble-flamingo:~$ sudo ovn-nbctl list DHCP_Options

_uuid               : 2857da41-3a6b-4883-b09d-5b5da5c06d30
cidr                : "192.168.100.0/24"
external_ids        : {"neutron:revision_number"="0", 
subnet_id="e9fd6f3c-5dfb-4b5f-b20a-57ed52eb624c"}
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:c1:b3:49", 
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-noble-flamingo:~$ openstack subnet delete test-subnet
ubuntu@rs-noble-flamingo:~$ openstack network delete test-network

### Enabling -proposed #####

ubuntu@rs-noble-flamingo:~/regress-stack$ sudo add-apt-repository cloud-
archive:flamingo-proposed

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

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

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

# installed package

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

# Create a new network and subnet again

ubuntu@rs-noble-flamingo:~$ openstack network create test-network
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        |                                      |
| created_at                | 2026-03-23T19:48:28Z                 |
| description               |                                      |
| dns_domain                |                                      |
| id                        | 81a6440c-3a59-4fbb-8c85-a396f0c155b3 |
| 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                | f2127fa8c4be449ebf96c69a85845fdb     |
| provider:network_type     | geneve                               |
| provider:physical_network | None                                 |
| provider:segmentation_id  | 28007                                |
| qinq                      | False                                |
| qos_policy_id             | None                                 |
| revision_number           | 1                                    |
| router:external           | Internal                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tags                      |                                      |
| tenant_id                 | f2127fa8c4be449ebf96c69a85845fdb     |
| updated_at                | 2026-03-23T19:48:28Z                 |
+---------------------------+--------------------------------------+

ubuntu@rs-noble-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-23T19:48:42Z                 |
| description          |                                      |
| dns_nameservers      |                                      |
| dns_publish_fixed_ip | None                                 |
| enable_dhcp          | True                                 |
| gateway_ip           | 192.168.100.1                        |
| host_routes          |                                      |
| id                   | 159617ff-a2dd-46ab-b20c-eec79bc5317e |
| ip_version           | 4                                    |
| ipv6_address_mode    | None                                 |
| ipv6_ra_mode         | None                                 |
| name                 | test-subnet                          |
| network_id           | 81a6440c-3a59-4fbb-8c85-a396f0c155b3 |
| project_id           | f2127fa8c4be449ebf96c69a85845fdb     |
| revision_number      | 0                                    |
| router:external      | False                                |
| segment_id           | None                                 |
| service_types        |                                      |
| subnetpool_id        | None                                 |
| tags                 |                                      |
| updated_at           | 2026-03-23T19:48:42Z                 |
+----------------------+--------------------------------------+
 
# See that multiple values are parsed correctly 

ubuntu@rs-noble-flamingo:~$ sudo ovn-nbctl list DHCP_Options

_uuid               : e3b6e945-410c-40b5-8084-93874192b8df
cidr                : "192.168.100.0/24"
external_ids        : {"neutron:revision_number"="0", 
subnet_id="159617ff-a2dd-46ab-b20c-eec79bc5317e"}
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:5b:d3:50", 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~cloud0
from noble-proposed/flamingo fixes LP: #2126923 on Flamingo (UCA).

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

-- 
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