Error: 'ovs-vsctl --timeout=5 remove Bridge br-ctlplane other-config:mac-table-size' returned 1 instead of one of [0]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-ovn |
Fix Released
|
Critical
|
yatin | ||
tripleo |
Fix Released
|
Critical
|
yatin |
Bug Description
39554: DNM standalone upgrade cs9 master testing | https:/
Currently the job is failing with following error during upgrade:
from standalone upgrade log [1]
-------
2022-02-22 20:26:26 | + rc=4
2022-02-22 20:26:26 | + '[' false = false ']'
2022-02-22 20:26:26 | + set +x
2022-02-22 20:26:26 | 2022-02-22 20:26:26.576688 | fa163e28-
2022-02-22 20:26:26 | 2022-02-22 20:26:26.577509 | fa163e28-
-------
By taking a look at container-
-----------------
Notice: Compiled catalog for standalone.
<13>Feb 22 20:26:04 puppet-user: Notice: /Stage[
<13>Feb 22 20:26:04 puppet-user: Error: 'ovs-vsctl --timeout=5 remove Bridge br-ctlplane other-config:
<13>Feb 22 20:26:04 puppet-user: Error: /Stage[
<13>Feb 22 20:26:04 puppet-user: Notice: Applied catalog in 0.48 seconds
-----------------
I think the issue seems to be here: https:/
-------
# TODO(numans): Right now puppet-vswitch's vs_bridge doesn't support
# setting the column 'other-config' for the Bridge table.
# Switch to using vs_bridge once the support is available.
if $mac_table_size != undef {
exec { $br:
command => "ovs-vsctl --timeout=5 set Bridge ${br} other-config:
unless => "ovs-vsctl get bridge ${br} other-config:
path => '/usr/sbin:
onlyif => "ovs-vsctl br-exists ${br}",
require => [ Service[
}
} else {
exec { $br:
command => "ovs-vsctl --timeout=5 remove Bridge ${br} other-config:
path => '/usr/sbin:
onlyif => ["ovs-vsctl br-exists ${br}", "ovs-vsctl get bridge ${br} other-config:
require => [ Service[
-------
Logs:
Changed in tripleo: | |
status: | In Progress → Fix Released |
Pushed fix https:/ /review. opendev. org/c/openstack /puppet- ovn/+/830552