Project

General

Profile

Actions

action #152365

closed

os-autoinst-openvswitch.service fails on start-up size:S

Added by ggardet_arm 5 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Support
Target version:
Start date:
2023-12-11
Due date:
% Done:

0%

Estimated time:

Description

On oss-cobbler-03 (remote worker), after a reboot, os-autoinst-openvswitch.service fails with:

× os-autoinst-openvswitch.service - os-autoinst openvswitch helper
     Loaded: loaded (/usr/lib/systemd/system/os-autoinst-openvswitch.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Mon 2023-12-11 08:00:43 GMT; 2min 49s ago
    Process: 1820 ExecStart=/usr/lib/os-autoinst/os-autoinst-openvswitch (code=exited, status=255/EXCEPTION)
   Main PID: 1820 (code=exited, status=255/EXCEPTION)

Dec 11 08:00:37 oss-cobbler-03 os-autoinst-openvswitch[1820]: Waiting for IP on bridge 'br1', 7s left ...
Dec 11 08:00:38 oss-cobbler-03 os-autoinst-openvswitch[1820]: Waiting for IP on bridge 'br1', 6s left ...
Dec 11 08:00:39 oss-cobbler-03 os-autoinst-openvswitch[1820]: Waiting for IP on bridge 'br1', 5s left ...
Dec 11 08:00:40 oss-cobbler-03 os-autoinst-openvswitch[1820]: Waiting for IP on bridge 'br1', 4s left ...
Dec 11 08:00:41 oss-cobbler-03 os-autoinst-openvswitch[1820]: Waiting for IP on bridge 'br1', 3s left ...
Dec 11 08:00:42 oss-cobbler-03 os-autoinst-openvswitch[1820]: Waiting for IP on bridge 'br1', 2s left ...
Dec 11 08:00:43 oss-cobbler-03 os-autoinst-openvswitch[1820]: can't parse bridge local port IP at /usr/lib/os-autoinst/os-autoinst-openvswitch line 68.
Dec 11 08:00:43 oss-cobbler-03 os-autoinst-openvswitch[1820]: Waiting for IP on bridge 'br1', 1s left ...
Dec 11 08:00:43 oss-cobbler-03 systemd[1]: os-autoinst-openvswitch.service: Main process exited, code=exited, status=255/EXCEPTION
Dec 11 08:00:43 oss-cobbler-03 systemd[1]: os-autoinst-openvswitch.service: Failed with result 'exit-code'.

A simple systemctl status os-autoinst-openvswitch.service fix the problem:

● os-autoinst-openvswitch.service - os-autoinst openvswitch helper
     Loaded: loaded (/usr/lib/systemd/system/os-autoinst-openvswitch.service; enabled; vendor preset: disabled)
     Active: active (running) since Mon 2023-12-11 08:03:36 GMT; 862ms ago
   Main PID: 16090 (os-autoinst-ope)
      Tasks: 1 (limit: 4915)
     CGroup: /system.slice/os-autoinst-openvswitch.service
             └─ 16090 /usr/bin/perl /usr/lib/os-autoinst/os-autoinst-openvswitch

Dec 11 08:03:36 oss-cobbler-03 systemd[1]: Starting os-autoinst openvswitch helper...
Dec 11 08:03:36 oss-cobbler-03 systemd[1]: Started os-autoinst openvswitch helper.

Any idea how to fix this issue properly?


Related issues 1 (0 open1 closed)

Related to openQA Infrastructure - action #75274: [osd-admins][alert][learning] Failed systemd services alert (workers): os-autoinst-openvswitch.service aborts retries after 60s and is not easily configurableResolvedlivdywan2020-12-04

Actions
Actions #1

Updated by ggardet_arm 5 months ago

s/status/restart/

Actions #2

Updated by okurz 5 months ago

If the network configuration on that machine is slow to start up you could set an environment variable, forgot the name, which waits longer for the startup. But on a properly configured system it shouldn't take that long to have a valid network configuration

Actions #3

Updated by okurz 5 months ago

  • Due date set to 2023-12-25
  • Category set to Support
  • Status changed from New to Feedback
  • Assignee set to okurz
  • Target version set to Ready
Actions #4

Updated by livdywan 5 months ago

  • Status changed from Feedback to New

okurz wrote in #note-2:

If the network configuration on that machine is slow to start up you could set an environment variable, forgot the name, which waits longer for the startup. But on a properly configured system it shouldn't take that long to have a valid network configuration

There is OS_AUTOINST_OPENVSWITCH_INIT_TIMEOUT which defaults to 60

Actions #5

Updated by livdywan 5 months ago

  • Status changed from New to Feedback
Actions #6

Updated by okurz 4 months ago

  • Related to action #75274: [osd-admins][alert][learning] Failed systemd services alert (workers): os-autoinst-openvswitch.service aborts retries after 60s and is not easily configurable added
Actions #8

Updated by tinita 4 months ago

  • Subject changed from os-autoinst-openvswitch.service fails on start-up to os-autoinst-openvswitch.service fails on start-up size:S
Actions #9

Updated by okurz 4 months ago

  • Due date deleted (2023-12-25)
  • Status changed from Feedback to Resolved

https://github.com/os-autoinst/os-autoinst/pull/2421 merged.

@ggardet_arm so new versions should have the default timeout of 5m. If that's still not the case for you please check that the systemd file was also updated assuming you use that.

Actions

Also available in: Atom PDF