Remove ovn-cms-options from OVS when OVNCMSOptions under Role Parameters is set to ""
Bug #1922168 reported by
Purandhar Sairam Mannidi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Undecided
|
Purandhar Sairam Mannidi |
Bug Description
When we deploy a tripleo environment with OVN+DVR, we set OVNCMSOptions under Compute Role parameters as 'chassis-as-gw'. If we would like disable DVR and remove OVNCMSOptions then, just setting OVNCMSOptions to "" is not sufficient as tripleo-
The way to check when the compute is configured as gateway is run `ovs-vsctl get open . 'external_
Changed in tripleo: | |
assignee: | nobody → Purandhar Sairam Mannidi (sai438) |
description: | updated |
Changed in tripleo: | |
status: | New → In Progress |
Changed in tripleo: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Proposed fix: /review. opendev. org/c/openstack /tripleo- heat-templates/ +/783222
https:/
This worked for me:
1. Apply the patch to THT ids:ovn- cms-options= enable- chassis- as-gw
2. On a Compute node:
ovs-vsctl set open . external_
3. Add env file:
~~~
parameter_defaults:
OVNCMSOptions: ""
~~~
4. Re-run deployment with included env file:
Before: overcloud- novacompute- 0.bne-home. net, ovn-bridge=br-int, ovn-bridge- mappings= "datacentre: br-ex", ovn-cms- options= enable- chassis- as-gw, ovn-encap- ip="172. 16.0.39" , ovn-encap- type=geneve, ovn-match- northd- version= "true", ovn-openflow- probe-interval= "60", ovn-remote= "tcp:172. 16.2.207: 6642", ovn-remote- probe-interval= "60000" , rundir= "/var/run/ openvswitch" , system- id="4b01dab1- 8778-42c5- 93fa-1e9dffe2f0 de"}
{hostname=
After: -novacompute- 0 ~]# ovs-vsctl get open . external_ids overcloud- novacompute- 0.bne-home. net, ovn-bridge=br-int, ovn-bridge- mappings= "datacentre: br-ex", ovn-encap- ip="172. 16.0.39" , ovn-encap- type=geneve, ovn-match- northd- version= "true", ovn-openflow- probe-interval= "60", ovn-remote= "tcp:172. 16.2.207: 6642", ovn-remote- probe-interval= "60000" , rundir= "/var/run/ openvswitch" , system- id="4b01dab1- 8778-42c5- 93fa-1e9dffe2f0 de"}
[root@overcloud
{hostname=