SUSE Support

Here When You Need Us

wicked is in 'setup-in-progress' and IP address is inactive when using vSphere Guest OS Customization

This document (000021564) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15

Situation

vSphere Guest OS Customization is used to define a customer IP address for the newly deployed VM.  When the VM boots, the expected IP address is not active, and wicked shows interface state as 'setup-in-progress'.

`toolsDeployPkg.log' shows 'execv failed to run (/sbin/telinit), errno=(2), error message:(No such file or directory)'.

Resolution

Check if systemd-sysvcompat (15 SP6 and newer) or systemd-sysvinit (older than 15 SP6) package is installed.  If not installed, then install it to make `telinit' command available on the system.

Cause

vSphere Guest OS Customization deployment expects to call the legacy `telinit' command in the end of the guest OS customization.  This command is part of systemd-sysvcompat (15 SP6 and newer) or systemd-sysvinit (older than 15 SP6). The image or template used to deploy the new VM does not have such package installed.

Additional Information

Broadcom is internally investigating the use of another OS command if `telinit' is not available.

A snippet of boot log might look like the following:
$ sed -n '/Linux version/,/^#==/{/^#==/q;p}' supportconfig/boot.txt  | grep -P '(Linux version|cloud|wicked|vmtool|vmware)'
Sep 03 13:49:34 Linux-SLES15SP6-Minimal kernel: Linux version 6.4.0-150600.23.17-default (geeko@buildhost) (gcc (SUSE Linux) 7.5.0, GNU ld (GNU Binutils; SUSE Linux Enterprise 15) 2.41.0.20230908-150100.7.46) #1 SMP PREEMPT_DYNAMIC Tue Jul 30 06:37:32 UTC 2024 (9c450d7)
Sep 03 13:49:34 Linux-SLES15SP6-Minimal kernel: vmware: hypercall mode: 0x02
Sep 03 13:49:34 Linux-SLES15SP6-Minimal kernel: vmware: TSC freq read from hypervisor : 2599.999 MHz
Sep 03 13:49:34 Linux-SLES15SP6-Minimal kernel: vmware: Host bus clock speed read from hypervisor : 66000000 Hz
Sep 03 13:49:34 Linux-SLES15SP6-Minimal kernel: vmware: using clock offset of 10672151104 ns
Sep 03 13:49:34 Linux-SLES15SP6-Minimal systemd[1]: Detected virtualization vmware.
Sep 03 13:49:38 localhost systemd[1]: Detected virtualization vmware.
Sep 03 13:49:40 localhost systemd[1]: Starting open-vm-tools: vmtoolsd service for virtual machines hosted on VMware...
Sep 03 13:49:40 localhost systemd[1]: Starting wicked AutoIPv4 supplicant service...
Sep 03 13:49:40 localhost systemd[1]: Starting wicked DHCPv4 supplicant service...
Sep 03 13:49:40 localhost systemd[1]: Starting wicked DHCPv6 supplicant service...
Sep 03 13:49:40 localhost VGAuthService[942]: Pref_Init: Using '/etc/vmware-tools/vgauth.conf' as preferences filepath
Sep 03 13:49:40 localhost systemd[1]: Started open-vm-tools: vmtoolsd service for virtual machines hosted on VMware.
Sep 03 13:49:40 localhost systemd[1]: Started wicked DHCPv6 supplicant service.
Sep 03 13:49:40 localhost systemd[1]: Started wicked DHCPv4 supplicant service.
Sep 03 13:49:40 localhost systemd[1]: Started wicked AutoIPv4 supplicant service.
Sep 03 13:49:40 localhost systemd[1]: Starting wicked network management service daemon...
Sep 03 13:49:42 localhost systemd[1]: Started wicked network management service daemon.
Sep 03 13:49:42 localhost systemd[1]: Starting wicked network nanny service...
Sep 03 13:49:42 localhost systemd[1]: Started wicked network nanny service.
Sep 03 13:49:42 localhost systemd[1]: Starting wicked managed network interfaces...
Sep 03 13:49:56 test-scc-sp6 wickedd-dhcp4[949]: eth0: Request to acquire DHCPv4 lease with UUID d6f7d666-d603-0400-2004-000004000000
Sep 03 13:50:11 test-scc-sp6 wickedd-dhcp4[949]: eth0: defer timeout 15 reached in state SELECTING
Sep 03 13:50:12 test-scc-sp6 wicked[1077]: Interface wait time (30s) reached
Sep 03 13:50:12 test-scc-sp6 wicked[1077]: lo              up
Sep 03 13:50:12 test-scc-sp6 wicked[1077]: eth0            setup-in-progress
Sep 03 13:50:12 test-scc-sp6 systemd[1]: Finished wicked managed network interfaces.

And, end of the toolsDeployPkg.log might be the following:

$ tail -n 26 toolsDeployPkg.log 
[2024-09-03T11:49:58.600Z] [   debug] Ran DeployPkg_DeployPackageFromFile successfully
[2024-09-03T11:49:58.600Z] [   debug] ## Closing log
[2024-09-03T11:49:58.601Z] [   debug] Command to exec : '/bin/readlink'.
[2024-09-03T11:49:58.601Z] [    info] sizeof ProcessInternal is 56
[2024-09-03T11:49:58.601Z] [    info] Returning, pending output from stdout
[2024-09-03T11:49:58.601Z] [    info] Returning, pending output from stderr
[2024-09-03T11:49:58.701Z] [    info] Process exited normally after 0 seconds, returned 1
[2024-09-03T11:49:58.702Z] [    info] No more output from stdout
[2024-09-03T11:49:58.702Z] [    info] No more output from stderr
[2024-09-03T11:49:58.702Z] [    info] Customization command output:
''.
[2024-09-03T11:49:58.702Z] [   error] Customization command failed with exitcode: 1, stderr: ''.
[2024-09-03T11:49:58.702Z] [   debug] readlink command result = 1.
[2024-09-03T11:49:58.702Z] [    info] Trigger reboot.
[2024-09-03T11:49:58.702Z] [   debug] Command to exec : '/sbin/telinit'.
[2024-09-03T11:49:58.702Z] [    info] sizeof ProcessInternal is 56
[2024-09-03T11:49:58.702Z] [    info] Returning, pending output from stdout
[2024-09-03T11:49:58.702Z] [    info] Returning, pending output from stderr
[2024-09-03T11:49:58.702Z] [   error] execv failed to run (/sbin/telinit), errno=(2), error message:(No such file or directory)
[2024-09-03T11:49:58.802Z] [    info] Process exited normally after 0 seconds, returned 127
[2024-09-03T11:49:58.802Z] [    info] No more output from stdout
[2024-09-03T11:49:58.802Z] [    info] No more output from stderr
[2024-09-03T11:49:58.802Z] [    info] Customization command output:
''.
[2024-09-03T11:49:58.802Z] [    info] Telinit command failed with exitcode: 127, stderr: ''.
[2024-09-03T11:49:59.802Z] [   error] Failed to reboot, reboot command returned error 127.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021564
  • Creation Date: 19-Sep-2024
  • Modified Date:23-Sep-2024
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.