Skip to content

Commit

Permalink
wicked: Delay ifup of t08_setup_second_card
Browse files Browse the repository at this point in the history
OVS is blocking the port in the beginning sometimes. This cause trouble
in this test, as the first DHCP-Request times out and wicked is
using the last lease (which is something from the installation).

Now we simply wait 30s to give OVS some time. Most properly this is
something related to RSTP configured on the OVS bridge.

Reference: bsc#1204604
  • Loading branch information
cfconrad committed Nov 9, 2022
1 parent 756c99e commit a8bcdc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/wicked/basic/sut/t08_setup_second_card.pm
Expand Up @@ -17,6 +17,9 @@ use lockapi;

sub run {
my ($self, $ctx) = @_;

sleep(30); # OVS on a worker is slow sometimes to change and we haven't found better way how to handle it

my $cfg_ifc1 = '/etc/sysconfig/network/ifcfg-' . $ctx->iface();
my $cfg_ifc2 = '/etc/sysconfig/network/ifcfg-' . $ctx->iface2();
my $dhcp_ip_sut = $self->get_ip(type => 'dhcp_2nic');
Expand Down

0 comments on commit a8bcdc0

Please sign in to comment.