Home > Opsware SAS > Solaris provisioning errors ‘FAILED: Timed out while waiting for OS Provisioning agent’

Solaris provisioning errors ‘FAILED: Timed out while waiting for OS Provisioning agent’

November 24th, 2009 Leave a comment Go to comments


Technical document information


Title:

Solaris provisioning errors 'FAILED: Timed out while waiting for OS Provisioning agent'


Document ID:

KM719530


Product:

Server Automation


Version:


Updated:

2009-Apr-24

Problem

Legacy Error Code: buildmgr.buildscript
Failure Summary Failure condition occurred while executing a buildscript.
Detail: Failure condition occurred while executing a buildscript.

Resolution Steps: Examine error message and BuildManager logs in /var/log/opsware/buildmgr/buildmgr.log and /var/log/opsware/buildmgr/servers/* to determine the source of the error. msg= FAILED: Timed out while waiting for OS Provisioning agent.

Cause

This happens due to the solaris Serverice Management Facility (SMF) descriptions taking more time than default timeout set in buildserver_*.py during the initial boot after the OS is installed

Fix

Check either ‘/opt/opsware/buildscripts/solaris/buildserver_sparc.py’ or ‘/opt/opsware/buildscripts/solaris/buildserver_x86.py’ depending if it’s SPARC or Intel architecture respectively for the following code:

        if version_after(os_ver, "5.9"):
                # We give Solaris 10+ an extra few minutes, since it’s first startup is
                #   slowed by the setting up the smf descriptions.
                ctx.nextHandler("Phase2", 1200, "TimeOut")
        else:
                ctx.nextHandler("Phase2", 900, "TimeOut")

Increase either the value 1200 or 900, depending if it’s Solaris 10 or older respectively till the provision job succeeds.
A ‘/etc/init.d/opsware-sas restart buildmgr’ will be needed for any modification on those files.

Categories: Opsware SAS Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.
*
Please leave these two fields as-is:

Protected by Invisible Defender. Showed 403 to 3,211 bad guys.

Powered by WP Robot

Stop SOPAPowered by Yahoo! Answers