This knowledge base has moved to the documentation site. Please visit the knowledge base here for the most up to date content. This site is no longer maintained.

Zero-Touch Provisioning Does not Run unless there Is Activity on the Serial Console

Follow

Issue

The Cumulus Linux zero-touch provisioning script works only when I am connected to the switch through the serial console and attempt to log in. If I don't log in through the console, the script doesn't run.

Environment

  • Cumulus Linux 1.5.2
  • Cumulus Linux 2.0.0

Resolution

Cumulus Linux 1.5.2

Use a Cumulus Linux 1.5.3 install image, or upgrade to cl-basefiles from Cumulus Linux 1.5.3:

root@switch:~# apt-get update
root@switch:~# apt-get install cl-basefiles

Cumulus Linux 2.0.0

Use a Cumulus Linux 2.0.1 install image, or upgrade cl-basefiles to Cumulus Linux 2.0.1:

cumulus@switch:~$ sudo apt-get update
cumulus@switch:~$ sudo apt-get install cl-basefiles

Root Cause

The autoprovisioning script in the affected versions delays execution of the payload until /bin/login has started. /bin/login does not start unless there is activity on the console.

The fix includes a new init script /etc/init.d/autoprovision that creates a file /var/run/boot.done to signal when the boot process is complete.

Comments

This support portal has moved

Cumulus Networks is now part of the NVIDIA Networking Business Unit! The NVIDIA Cumulus Global Support Services (GSS) team has merged its operations with the NVIDIA Mellanox support services team.

You can access NVIDIA Cumulus support content from the Mellanox support portal.

You open and update new cases on the Mellanox support portal. Any previous cases that have been closed have been migrated to the Mellanox support portal.

Cases that are still open on the Cumulus portal will continue to be managed on the Cumulus portal. Once these cases close, they will be moved to the Mellanox support portal.

Powered by Zendesk