https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842023-03-27T07:08:19ZopenSUSE Project Management ToolopenQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6173122023-03-27T07:08:19Zszarate
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-3 priority-4 priority-default closed" href="/issues/125783">action #125783</a>: [jeos] Test fails in kdump_and_crash on SLE 12sp5 and 15sp4 XEN after worker migration from SLES to Leap 15.4</i> added</li></ul> openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6173152023-03-27T07:15:33Zhjluohluo@suse.com
<ul><li><strong>Target version</strong> set to <i>QE-Core: Ready</i></li></ul> openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6173272023-03-27T07:28:51Zrfan1richard.fan@suse.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li><li><strong>Assignee</strong> set to <i>rfan1</i></li></ul><p>I just destroyed the iface as a temporary workaround:</p>
<pre><code class="haml syntaxhl" data-language="haml"> # virsh iface-destroy ovs-system
Interface ovs-system destroyed
</code></pre> openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6173632023-03-27T08:09:19Zokurzokurz@suse.com
<ul><li><strong>Subject</strong> changed from <i>test fails in bootloader_start - we should use br0 not ovs-system</i> to <i>[qe-core] test fails in bootloader_start - we should use br0 not ovs-system</i></li></ul> openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6174622023-03-27T11:11:40Zrfan1richard.fan@suse.com
<ul></ul><p>I added the systemd service to stop the ovs-system iface if it is active:</p>
<pre><code class="html syntaxhl" data-language="html"> # cat /etc/systemd/system/stop-iface-ovs-system.service
[Unit]
Description=stop iface 'ovs-system'
Requires=libvirtd.service
After=libvirtd.service
[Service]
ExecStart=/bin/bash /usr/sbin/stop-iface-ovs-system.sh
[Install]
WantedBy=multi-user.target
# cat /usr/sbin/stop-iface-ovs-system.sh
#!/bin/bash
set -x
virsh iface-list --all | grep -w active | awk '{ print $1 }' | grep ovs-system
if [ $? -eq 0 ]; then
virsh iface-destroy ovs-system <span class="err">&&</span> echo "stopped ovs-system" > /tmp/destroy_ovs-system
else
echo "ovs-system is not active on this host" > /tmp/destroy_ovs-system
fi
</code></pre> openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6200182023-04-04T01:49:25Zrfan1richard.fan@suse.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-3 priority-6 priority-high2 closed" href="/issues/127097">action #127097</a>: [alert] Failed systemd services alert</i> added</li></ul> openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6200242023-04-04T01:54:27Zrfan1richard.fan@suse.com
<ul></ul><p>There are some coding style issue which caused non-zero return code even the iface is destroyed.</p>
<p>I have fixed it:</p>
<pre><code class="html syntaxhl" data-language="html"># cat /usr/sbin/stop-iface-ovs-system.sh
#!/bin/bash
# poo#126647
set -x
virsh iface-list --all | grep -w active | awk '{ print $1 }' | grep ovs-system
if [ $? -eq 0 ]; then
virsh iface-destroy ovs-system
echo "stopped ovs-system" > /tmp/destroy_ovs-system
else
echo "ovs-system is not active on this host" > /tmp/destroy_ovs-system
fi
# /usr/sbin/stop-iface-ovs-system.sh
+ virsh iface-list --all
+ grep -w active
+ grep ovs-system
+ awk '{ print $1 }'
+ '[' 1 -eq 0 ']'
+ echo 'ovs-system is not active on this host'
# echo $?
0
# virsh iface-start ovs-system
Interface ovs-system started
# /usr/sbin/stop-iface-ovs-system.sh
+ virsh iface-list --all
+ grep -w active
+ grep ovs-system
+ awk '{ print $1 }'
ovs-system
+ '[' 0 -eq 0 ']'
+ virsh iface-destroy ovs-system
Interface ovs-system destroyed
+ echo 'stopped ovs-system'
# echo $?
0
</code></pre> openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6228412023-04-13T07:09:09Zrfan1richard.fan@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul> openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6447112023-06-19T09:43:00Zrfan1richard.fan@suse.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Feedback</i></li></ul><p>Seems the issue can be seen again.</p>
<p><a href="https://openqa.suse.de/tests/overview?build=20230618-1&distri=sle&groupid=419&version=15-SP5&flavor=JeOS-for-kvm-and-xen-Updates" class="external">https://openqa.suse.de/tests/overview?build=20230618-1&distri=sle&groupid=419&version=15-SP5&flavor=JeOS-for-kvm-and-xen-Updates</a></p>
openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6447142023-06-19T09:51:36Znicksingernsinger@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>New</i></li></ul><p>As discussed in slack (<a href="https://suse.slack.com/archives/C02CANHLANP/p1687167780103479?thread_ts=1687166022.818889&cid=C02CANHLANP" class="external">https://suse.slack.com/archives/C02CANHLANP/p1687167780103479?thread_ts=1687166022.818889&cid=C02CANHLANP</a>) this systemd unit is just a workaround to reduce priority. Please ensure that the correct interface is used in the first place.</p>
openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6449512023-06-20T02:42:55Zrfan1richard.fan@suse.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul> openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6449542023-06-20T02:53:36Zrfan1richard.fan@suse.com
<ul></ul><p><a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/17291" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/17291</a></p>
openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6452782023-06-21T01:20:12Zrfan1richard.fan@suse.com
<ul><li><strong>Tags</strong> set to <i>bugbusters</i></li></ul> openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6453232023-06-21T06:53:16Zrfan1richard.fan@suse.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul><p>PR is merged,</p>
<p>I will wait for next xen server reboot to check if it can work fine.<br>
Then I will try to delete the systemd service I added before.</p>
openQA Tests - action #126647: [qe-core] test fails in bootloader_start - we should use br0 not ovs-systemhttps://progress.opensuse.org/issues/126647?journal_id=6471232023-06-27T05:52:01Zrfan1richard.fan@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>Removed the old service:</p>
<pre><code class="html syntaxhl" data-language="html"># rm /etc/systemd/system/stop-iface-ovs-system.service
# rm /usr/sbin/stop-iface-ovs-system.sh
# systemctl daemon-reload
</code></pre>