Deployed focal-wallaby from charm-neutron-api-plugin-ovn gate tests and patched Neutron for some unresolved issues at Wallaby. The need to do that is unfortunate but this verificat
ion is about the OVN pacakges, so let's focus on them.
With two instances running we can see the following information in the OVN DB:
$ sudo ovn-nbctl list dns
_uuid : a62d480f-e5ad-421e-9e8a-ab4072232331
external_ids : {ls_name=neutron-7d2d7f7e-ebb9-4625-a2ab-8bb6647f1988}
records : {"182.0.168.192.in-addr.arpa"=zaza-neutrontests-ins-1.openstack.example, "239.0.168.192.in-addr.arpa"=zaza-neutrontests-ins-2.openstack.example, zaza-neutrontests-ins-1="192.168.0.182", zaza-neutrontests-ins-1.openstack.example="192.168.0.182", zaza-neutrontests-ins-2="192.168.0.239", zaza-neutrontests-ins-2.openstack.example="192.168.0.239"}
Control test:
From instance forward DNS lookups of other instance names work:
$ host zaza-neutrontests-ins-1.openstack.example
zaza-neutrontests-ins-1.openstack.example has address 192.168.0.182
But reverse DNS lookup of other instance IP does not work:
$ host 192.168.0.182
Host 182.0.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
Upgrade to packages from -proposed:
$ juju run --application ovn-chassis 'dpkg -l | grep ovn'
- Stdout: |
ii neutron-ovn-metadata-agent 2:18.1.1-0ubuntu2~cloud0 all Neutron is a virtual network service for Openstack - OVN metadata agent
ii ovn-common 20.12.0-0ubuntu3.1~cloud0 amd64 OVN common components
ii ovn-host 20.12.0-0ubuntu3.1~cloud0 amd64 OVN host components
UnitId: ovn-chassis/0
- Stdout: |
ii neutron-ovn-metadata-agent 2:18.1.1-0ubuntu2~cloud0 all Neutron is a virtual network service for Openstack - OVN metadata agent
ii ovn-common 20.12.0-0ubuntu3.1~cloud0 amd64 OVN common components
ii ovn-host 20.12.0-0ubuntu3.1~cloud0 amd64 OVN host components
UnitId: ovn-chassis/1
Deployed focal-wallaby from charm-neutron- api-plugin- ovn gate tests and patched Neutron for some unresolved issues at Wallaby. The need to do that is unfortunate but this verificat
ion is about the OVN pacakges, so let's focus on them.
With two instances running we can see the following information in the OVN DB: e5ad-421e- 9e8a-ab40722323 31 neutron- 7d2d7f7e- ebb9-4625- a2ab-8bb6647f19 88} 168.192. in-addr. arpa"=zaza- neutrontests- ins-1.openstack .example, "239.0. 168.192. in-addr. arpa"=zaza- neutrontests- ins-2.openstack .example, zaza-neutrontes ts-ins- 1="192. 168.0.182" , zaza-neutrontes ts-ins- 1.openstack. example= "192.168. 0.182", zaza-neutrontes ts-ins- 2="192. 168.0.239" , zaza-neutrontes ts-ins- 2.openstack. example= "192.168. 0.239"}
$ sudo ovn-nbctl list dns
_uuid : a62d480f-
external_ids : {ls_name=
records : {"182.0.
Control test: ts-ins- 1.openstack. example ts-ins- 1.openstack. example has address 192.168.0.182
From instance forward DNS lookups of other instance names work:
$ host zaza-neutrontes
zaza-neutrontes
But reverse DNS lookup of other instance IP does not work: 192.in- addr.arpa. not found: 3(NXDOMAIN)
$ host 192.168.0.182
Host 182.0.168.
Upgrade to packages from -proposed: ovn-metadata- agent 2:18.1. 1-0ubuntu2~ cloud0 all Neutron is a virtual network service for Openstack - OVN metadata agent 0ubuntu3. 1~cloud0 amd64 OVN common components 0ubuntu3. 1~cloud0 amd64 OVN host components ovn-metadata- agent 2:18.1. 1-0ubuntu2~ cloud0 all Neutron is a virtual network service for Openstack - OVN metadata agent 0ubuntu3. 1~cloud0 amd64 OVN common components 0ubuntu3. 1~cloud0 amd64 OVN host components
$ juju run --application ovn-chassis 'dpkg -l | grep ovn'
- Stdout: |
ii neutron-
ii ovn-common 20.12.0-
ii ovn-host 20.12.0-
UnitId: ovn-chassis/0
- Stdout: |
ii neutron-
ii ovn-common 20.12.0-
ii ovn-host 20.12.0-
UnitId: ovn-chassis/1
Confirm updated packages work: ts-ins- 1.openstack. example ts-ins- 1.openstack. example has address 192.168.0.182 192.in- addr.arpa domain name pointer zaza-neutrontes ts-ins- 1.openstack. example.
$ sudo systemctl restart systemd-resolved
$ host zaza-neutrontes
zaza-neutrontes
$ host 192.168.0.182
182.0.168.