10 Replies Latest reply on Oct 24, 2012 8:38 AM by Brad Akers

    Windows Provisioning Job Looping

      I have a windows provisioning job that is looping on the wpeinit screen. It will hit the end but never advance to the job to the next state. It just reboots and launches back to the wpeinit screen again.

       

      I have verified that the MAC address is correct and that I am using the correct WinPE image. Any ideas?

        • 1. Re: Windows Provisioning Job Looping

          Brad, you mean the job proceeds to step 9 (or whatever the last step is) and then later loops back to step 1 and contines in this fashion? One of the known issues in the past was the appservers were not at the same hotfix revision.  If they are out of sync, this could be the symptom. Can you validate this?

          • 2. Re: Windows Provisioning Job Looping

            It was actually looping at step 3, seemed to be a mis match on the arch.

            • 3. Re: Windows Provisioning Job Looping

              Lazar,

              I just got it past this error and now it is looping on step 9 and says can not contact app server, end then exited bmi.

               

              Here is the error log

               

              ErrorOct 23, 2012 5:26:14 PMThe system cannot find the drive specified.

              'setup' is not recognized as an internal or external command,

              operable program or batch file.

              OS installer setup failed.

              Unattended installation failed.

               

               

               

               

              InfoOct 23, 2012 5:26:14 PM

              Copying X:\Windows\System32\BladeLogic\LDS\bmiwin.exe.

                      1 file(s) copied.

              Copying X:\Windows\System32\BladeLogic\LDS\rscd\windows\rscd.exe and X:\Windows\System32\BladeLogic\LDS\rscd\windows\rscd.iss.

              The system cannot find the path specified.

              The system cannot find the path specified.

               

               

              Searching for Local DataStore drive.

              Could not find "windows\setup.exe" in Local DataStore. Ensure that the media is connected and that the OS installer path specified is correct.

               

               

              X:\Windows\system32>cd /d "k:\windows"

               

               

              X:\Windows\system32>setup /noreboot /unattend:C:\BLProv\Unattend.xml

               

               

              X:\Windows\system32>IF ERRORLEVEL 1 (

              ECHO OS installer setup failed.  1>&2 

              GOTO Error

              )

               

               

              X:\Windows\system32>setlocal enabledelayedexpansion

               

               

              X:\Windows\system32>For /F "tokens=* delims=" %a in ('net use') do (

              Set line=%a 

              If "!line:~0,2!" == "OK" GOTO DELDRV 

              If "!line:~13,2!" == "K:" cd /d X:\Windows\System32  & net use !line:~13,2! /delete /y

              )

               

               

              X:\Windows\system32>(

              Set line=New connections will be remembered. 

              If "!line:~0,2!" == "OK" GOTO DELDRV 

              If "!line:~13,2!" == "K:" cd /d X:\Windows\System32  & net use !line:~13,2! /delete /y

              )

               

               

              X:\Windows\system32>(

              Set line=There are no entries in the list. 

              If "!line:~0,2!" == "OK" GOTO DELDRV 

              If "!line:~13,2!" == "K:" cd /d X:\Windows\System32  & net use !line:~13,2! /delete /y

              )

               

               

              X:\Windows\system32>EXIT /b 1

               

               

              X:\Windows\system32>IF ERRORLEVEL 1 (

              ECHO Unattended installation failed.  1>&2 

              GOTO Error

              )

               

               

              X:\Windows\system32>setlocal enabledelayedexpansion

               

               

              X:\Windows\system32>For /F "tokens=* delims=" %a in ('net use') do (

              Set line=%a 

              If "!line:~0,2!" == "OK" GOTO DELDRV 

              If "!line:~13,2!" == "K:" cd /d X:\Windows\System32  & net use !line:~13,2! /delete /y

              )

               

               

              X:\Windows\system32>(

              Set line=New connections will be remembered. 

              If "!line:~0,2!" == "OK" GOTO DELDRV 

              If "!line:~13,2!" == "K:" cd /d X:\Windows\System32  & net use !line:~13,2! /delete /y

              )

               

               

              X:\Windows\system32>(

              Set line=There are no entries in the list. 

              If "!line:~0,2!" == "OK" GOTO DELDRV 

              If "!line:~13,2!" == "K:" cd /d X:\Windows\System32  & net use !line:~13,2! /delete /y

              )

               

               

              X:\Windows\system32>EXIT /b 1

              • 4. Re: Windows Provisioning Job Looping

                The agent in my datastore is an msi, why is it looking for a .exe?

                • 5. Re: Windows Provisioning Job Looping
                  Bill Robinson

                  setup.exe is the windows setup which actually kicks off the windows install.  so as the error mentions you have an incorrect path configured either in the OS defintion or the datastore PSI or you don't have the right creds configured for the datastore share.  you are using the normal datastore type and not a 'local datastore' ?

                  • 6. Re: Windows Provisioning Job Looping

                    Bill,

                    I set up my datastore on the linux host at /opt/bmc/datastore then there 2 sub folders there one for rscd and one for windows.

                     

                     

                    In the windows folder I unpacked the windows.iso and put it there. The rscd directory has the rscd.msi installer.

                     

                     

                    I then set up a samba share with the following settings

                    [datastore]

                    path = \opt\bmc\datastore

                    public = yes

                    writable = yes

                    printable = no

                    .

                     

                     

                    I am able to connect to the datastore and navigate to it with the samba creds i created.

                     

                     

                    I then configured the data store as follows:

                    Host = ip address of fs

                    Full Path = /opt/bmc/datastore/windows

                    Virtual_URL=datastore

                    Creds that i created

                     

                     

                    After this I set the Server 2008 Ent x64 provisioning properties to

                    windows

                    rscd/windows(actual path of rscd installer)

                     

                     

                    Then created my WinPE, system package set to use the Server 2008 Ent x64, added the device making sure it was set to x64 and my WinPE image,and provisioning job targeting the device and ensuring it was also set to x64 and my winPE image.

                     

                     

                    The job makes it to the point in the log above and then fails, any clue from my descrition where my setup is wrong. I am replacing the iso through the night to make sure correuption was not an issue.

                     

                     

                    Thanks

                    Brad

                    • 7. Re: Windows Provisioning Job Looping

                      I believe your should remove /windows from your Full Path value shown above

                      Your PSI should point to the datastore root

                      Your provisioning configurations should define what folder inside the root that it needs to look

                      • 8. Re: Windows Provisioning Job Looping

                        I was mistaken my full path is /opt/bmc/datastore

                        • 9. Re: Windows Provisioning Job Looping
                          Bill Robinson

                          i'd look in the provisioning job run earlier than what you posted and make sure K: is being mounted and the cd into the windows install directly is happening. also - you are using a PSI in the datastore class right - not 'local datastore' ? (because it looks like it's looking on x: for the installer files instead of k:)

                          • 10. Re: Windows Provisioning Job Looping

                            Bill,

                            It looks like that was the issue, just removed using a local datastore and it seems to be rolling right along now.

                             

                            Thanks for the help

                            Brad