Remove ovn-cms-options from OVS when OVNCMSOptions is set to ""
This patch resolves issue where ovn-cms-options is left when OVNCMSOptions is changed to "" in RoleParameters on an existing OVN+DVR+HA environment. Closes-Bug: #1922168 Change-Id: I649b2a1f7babd86d1fb6a2ebd68b22a3560eb885
This commit is contained in:
parent
ab7a7d841f
commit
180fcf18bf
|
@ -239,7 +239,7 @@ outputs:
|
|||
net: host
|
||||
privileged: true
|
||||
user: root
|
||||
command: ['/bin/bash', '-c', 'CMS_OPTS=$(hiera ovn::controller::ovn_cms_options -c /etc/puppet/hiera.yaml); if [ X"$CMS_OPTS" != X ]; then ovs-vsctl set open . external_ids:ovn-cms-options=$CMS_OPTS; fi']
|
||||
command: ['/bin/bash', '-c', 'CMS_OPTS=$(hiera ovn::controller::ovn_cms_options -c /etc/puppet/hiera.yaml); if [ X"$CMS_OPTS" != X ]; then ovs-vsctl set open . external_ids:ovn-cms-options=$CMS_OPTS;else ovs-vsctl remove open . external_ids ovn-cms-options; fi']
|
||||
image: &ovn_controller_image {get_param: ContainerOvnControllerImage}
|
||||
volumes:
|
||||
list_concat:
|
||||
|
|
Loading…
Reference in New Issue