Bug 2232562 - OVNAvailabilityZone parameter is not getting applied on controller's OVS configuration
Summary: OVNAvailabilityZone parameter is not getting applied on controller's OVS conf...
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-17 11:43 UTC by Spoorthi K
Modified: 2023-08-17 23:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-27555 0 None None None 2023-08-17 12:25:24 UTC

Description Spoorthi K 2023-08-17 11:43:23 UTC
Description of problem:
On 17.0 with "OVNAvailabilityZone: '<availability_zone_value>'" on controller, the OVS configuration doesn't show up the configured values. 

Version-Release number of selected component (if applicable):
Tried on 17.0 and OVNAvailabilityZone didn't seem to work.

How reproducible:
Always

Steps to Reproduce:
1. Create a overcloud environment file. Eg:
parameter_defaults:
  NeutronDefaultAvailabilityZones: 'az-datacenter2,az-datacenter1'
  ControllerParameters:
    OVNCMSOptions: 'enable-chassis-as-gw'
    OVNAvailabilityZone: 'az-datacenter2,az-datacenter1'
2. Trigger overcloud deployment with this environment file.
3. Check the ovn-cms-options in OVS external_ids using "ovs-vsctl get o . external_ids" in controller.

Actual results:
[root@controller-0 ~]# ovs-vsctl get o . external_ids
{hostname=controller-0.localdomain, ovn-bridge=br-int, ovn-bridge-mappings="datacentre:br-ex", ovn-chassis-mac-mappings="datacentre:fa:16:3e:d8:ae:ad", ovn-cms-options=enable-chassis-as-gw, ovn-encap-ip="172.16.4.76", ovn-encap-type=geneve, ovn-match-northd-version="true", ovn-monitor-all="true", ovn-openflow-probe-interval="60", ovn-remote="tcp:172.16.2.110:6642", ovn-remote-probe-interval="60000", rundir="/var/run/openvswitch", system-id="a8fb17f9-11d8-4eba-9efa-ebcb5fc3ea0d"}


Expected results:

[root@controller-0 ~]# ovs-vsctl get o . external_ids
{hostname=controller-0.localdomain, ovn-bridge=br-int, ovn-bridge-mappings="datacentre:br-ex", ovn-chassis-mac-mappings="datacentre:fa:16:3e:d8:ae:ad", ovn-cms-options=enable-chassis-as-gw,availability-zones=az-datacenter2:az-datacenter1, ovn-encap-ip="172.16.4.76", ovn-encap-type=geneve, ovn-match-northd-version="true", ovn-monitor-all="true", ovn-openflow-probe-interval="60", ovn-remote="tcp:172.16.2.110:6642", ovn-remote-probe-interval="60000", rundir="/var/run/openvswitch", system-id="a8fb17f9-11d8-4eba-9efa-ebcb5fc3ea0d"}


Additional info:
Referred this document: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.0/html/networking_guide/use-azs-make-network-nodes-ha_rhosp-network#config-network-service-azs-ovn_config_azs


Note You need to log in before you can comment on or make changes to this bug.