New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Absent Member.
Absent Member.
2676 views

Windows provisioning failed while integrating with HP SA Agent

Hello Team,

 

I am trying to provision a VM with Windows 2008 R2 through the Default Windows 2008 R2 build plan. The Windows setup runs successfulling. However, the step to integrate HP SA agent fails. Below is the detailed steps

 

ERROR:
ID:   HPSA-1155
Code:   com.opsware.script.ScriptMessageSpec.NON_ZERO_EXIT_CODE
Details:   The exit code from the script was 100.


STANDARD OUT (the last 10 KB):
Running OS Build Plan Test:Windows 2008 R2 x64 Default Install (OSBuildPlanRef:620001) against server (ServerRef:780001)

Step 1 of 8: Run OGFS Script 'Validate Job Settings'
All job settings validated OK


Step 2 of 8: Run OGFS Script 'Customized unattend.xml'

Step 3 of 8: Run OGFS Script 'Customized Inject Network Settings'
READ FILE:  %TEMP%\netgui_discovery.inf
SANetGUI file: netgui_discovery.inf found
SANetGUI reading file: netgui_discovery.inf
Content:
hostname="minint-8553fmv";domainname=; domaintype=WORKGROUP;mac2=*:*:*:*:*:*;

ipaddress2=*.*.*.*; dhcp2=False; mask2=*.*.*.*; gateway2=*.*.*.*; dns2=; wins2=;
SANetGUI network data file: file read
Parsing netgui_discovery.inf
content
hostname="minint-8553fmv";domainname=; domaintype=WORKGROUP;mac2=*:*:*:*:*:*;

ipaddress2=*.*.*.*; dhcp2=False; mask2=*.*.*.*; gateway2=*.*.*.*; dns2=; wins2=;
SANetGUI file: SANetGUI_discovery.inf found
Answer file at '/opsw/.Server.ID/780001/files/LocalSystem/X/Windows/Temp/Unattend.xml' successfully updated


Step 4 of 8: Run Server Script 'Mount Windows Share'
Mounting share at \\sacore\osmedia to drive z: as user guest

Share mounted successfully

 

Step 5 of 8: Run OGFS Script 'Reset OS and Policy Info'
Custom attributes that will be deleted:
Preserving the following custom attributes: hpsa_netconfig


Step 6 of 8: Run Server Script 'Run Windows 2008 R2 x64 Setup'
Windows setup completed successfully

 

Step 7 of 8: Run OGFS Script 'Integrate HP SA Agent'
This server's unique MID and crypto material successfully installed

Integrate HP SA Agent failed with exit code 1.


STANDARD ERROR (the last 10 KB):

Errors from step 7 'Integrate HP SA Agent':
Traceback (most recent call last):
  File "/tmp/OGFSScriptbkF_Pz", line 294, in ?
    sys.exit(main())
  File "/tmp/OGFSScriptbkF_Pz", line 281, in main
    pkgPath = downloadInstaller(pkgVO, opt.systemdrive, ServerRef(mid), twistServer)
  File "/tmp/OGFSScriptbkF_Pz", line 105, in downloadInstaller
    targetServer.downloadUnitToTarget(pkgVO.getRef().getId(), pkgPath)
  File "./osprov/osbp/TargetServer.py", line 332, in downloadUnitToTarget
  File "./osprov/ogfs/__init__.py", line 71, in runIt
  File "./osprov/ogfs/__init__.py", line 56, in _wrap
  File "./osprov/util/process.py", line 88, in runIt
osprov.errors.ProcessExecutionError: ['/opsw/bin/rosh', '-i', '780001', '-l', 'LocalSystem', '-d', '/', '"%SYSTEMDRIVE%\\\\Program Files\\\\Opsware\\\\agent\\\\lcpython15\\\\python.exe"', '"X:\\\\windows\\\\TEMP\\\\download_package.py"', '"-u"', '"60650001"', '"-f"', '"C:\\\\Program Files\\\\Common Files\\\\Opsware\\\\opsware-agent-45.0.23169.0-win32-5.2-X64.exe"'] failed with exit code 1.


 

 

I could not find any installer package with object id 60650001. Also, I have attached screenshot of the step in the VM.

 

 

Please help.

 

Thank you,

Probir

0 Likes
2 Replies
Highlighted
Lieutenant Lieutenant
Lieutenant

Hi @Probir ,

 

I am also getting the same error, did you find out the issue? was this fixed?

Highlighted
Micro Focus Expert
Micro Focus Expert

@Probir



Can we see the output of the following one-line command, executed from the core console(replace the ID with the unit id)

env PYTHONPATH=/opt/opsware/pylibs2 /opt/opsware/bin/python2 -c 'from coglib import spinwrapper;import pprint,sys;spin = spinwrapper.SpinWrapper();pprint.pprint(spin.Unit.get(sys.argv[1]))' '527480001'




Mihai Lazar
Automate & Orchestrate Solution Architect

*If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.