1 2 Previous Next 16 Replies Latest reply on Oct 29, 2015 6:57 AM by Bill Robinson

    Software BLPackage deployment failed.

    Sarang S

      Hello experts,

       

      We are deploying a software (Commvault Agent) ,the job is getting failed at commit stage with below error.

       

      BLPackage has following logic,

       

      1.Update target host file with few entries.          (Getting Successful in job execution)

      2. Map network drive.                                      (Getting Successful in job execution)

      3.Copy XML from mapped drive to local server. (Getting Successful in job execution)

      4.Execute installation from mapped drive  .   (Failing With below error)

      5. Unmap drive.

       

      CommvaultIssue.png

       

      However, by manually running batch files in sequence the software is getting installed successfully.(these files are getting copied at staging area on target while blpackage deploy job ,please see below),


      CommvaultIssue2.png

       

      What can be cause and resolution  for this ?

      bldeploy logs are attached for details,

       

      App Server :BSA 8.5.01 (Win 2k8).

      Target:         BSA 8.5.01 (Win 2k8)

       

      Thanks,

      Sarang

        • 1. Re: Software BLPackage deployment failed.
          Bill Robinson

          What are the contents of bldeploycmd.3.bat and bldeploycmd.4.bat ?

          • 2. Re: Software BLPackage deployment failed.
            Sarang S

            Thanks Bill for prompt reply..

             

            here are the contents of both the files

             

            bldeploycmd.3.bat

            ----------------------------------------------------------------------------------------------------------------------------------------------------

            @echo off

            chcp 1252 > NUL

            set errorlevel=

            copy T:\CVDownloads_win\CVPackageWindows\WinX64\Install.xml C:\BLProv

            EXIT /B %errorlevel%

            ----------------------------------------------------------------------------------------------------------------------------------------------------

             

            bldeploycmd.4.bat


            ----------------------------------------------------------------------------------------------------------------------------------------------------

            @echo off

            chcp 1252 > NUL

            set errorlevel=

            start /wait T:\CVDownloads_win\WinX64\Setup.exe /silent /play T:\CVDownloads_win\CVPackageWindows\WinX64\Install.xml

            EXIT /B %errorlevel%

            ----------------------------------------------------------------------------------------------------------------------------------------------------


            Thanks,

            Sarang.

            • 3. Re: Software BLPackage deployment failed.
              Bill Robinson

              Yeah – so T: will not be available.  the net use and copy commands need to be in the same external command box.

               

              Or you should use the AGENT_MOUNT url type w/ depot software instead of a blpackage.

              • 4. Re: Software BLPackage deployment failed.
                Sarang S

                Thanks Bill,

                I have tried as you said,

                 

                Firstly ,added net use and copy command in same external command box and execution in another external command,

                but still the job is failing with same error.

                 

                Then in second try,I put all commands i.e net use,copy and execute in same external command box and execute the job ,but job failed with same error..however this time also manual execution of copied .batch file installed the Software successfully,so why BSA is not able to do the same ?

                 

                 

                -Sarang.

                • 5. Re: Software BLPackage deployment failed.
                  Bill Robinson

                  can you share the latest bldeploy log ?

                  • 6. Re: Software BLPackage deployment failed.
                    Sarang S

                    Logs are as follows,

                     

                    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                    10/23/15 05:53:20.538 INFO     bldeploy - Bldeploy started for package: 589bf1234223373391cb9a56861de00c

                    10/23/15 05:53:20.538 DEBUG    bldeploy - Bldeploy Arguments:

                    10/23/15 05:53:20.538 DEBUG    bldeploy - C:\Program Files\BMC Software\BladeLogic\RSCD\sbin\bldeploy.exe

                    10/23/15 05:53:20.538 DEBUG    bldeploy - 589bf1234223373391cb9a56861de00c

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -N=/temp/stage/b46e58ddb8ab3e3f88e8a2fa470bb54f

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -P=WIN-BSA

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -Q=params.txt

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -PKG=Copy%20of%20CommVault%20Simpana%20for%20Windows%20Server%20-%2064bit-45746.1

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -DryRun

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -Xr

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -Xs

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -V1

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -OverwriteReadOnlyFiles

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -js0

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -jr0

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -jc0

                    10/23/15 05:53:20.538 DEBUG    bldeploy - -StartNew

                    10/23/15 05:53:20.538 DEBUG    bldeploy - C:\Program Files\BMC Software\BladeLogic\RSCD\sbin\bldeploy.exe  - 8.5.00.416

                    10/23/15 05:53:20.538 INFO     bldeploy - Deployment job not in single-job mode. Reboot is not allowed. Any reboot requests by certain file operations will be ignored.

                    10/23/15 05:53:20.538 DEBUG    bldeploy - Leave staging area on failure

                    10/23/15 05:53:21.552 DEBUG    bldeploy - Utilizing configuration file: C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f\589bf1234223373391cb9a56861de00c.cfg

                    10/23/15 05:53:21.552 DEBUG    bldeploy - Fresh start of deployment, deleting any pre-existing configuration file

                    10/23/15 05:53:23.861 DEBUG    bldeploy - Could not open file "C:\Program Files\BMC Software\BladeLogic\RSCD\\params.txt" for reading

                    10/23/15 05:53:23.861 DEBUG    bldeploy -

                    DEPLOYNAME = 589bf1234223373391cb9a56861de00c:

                    DEPLOYPATH = C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f:

                    FQHOST = WIN-BSA:

                    HOST = WIN-BSA:

                    HOSTIP = fe80::e4dd:4a0b:2ab:8367%11:

                    NAMESPACE = WIN-BSA:

                    ROLLBACKPATH = C:\Program Files\BMC Software\BladeLogic\RSCD\\Transactions\589bf1234223373391cb9a56861de00c:

                    RSCDIR = C:\Program Files\BMC Software\BladeLogic\RSCD\:

                    WIN-BSA:MOUNT_PWD = BLencrypt:UMAKAPEOAXTKXMELEVTTMTNAVPZTPBAETZBKLTWBXEQVXAOLQVQNXOBKVTMEZUNV:

                    WIN-BSA:MOUNT_USER = Administrator:

                    WINDIR = C:\Windows:

                    XMLFILEPATH = C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f\bldeploy.xml:

                    10/23/15 05:53:23.861 DEBUG    bldeploy - Full command line C:\Program Files\BMC Software\BladeLogic\RSCD\sbin\bldeploy.exe 589bf1234223373391cb9a56861de00c -N=/temp/stage/b46e58ddb8ab3e3f88e8a2fa470bb54f -P=WIN-BSA -Q=params.txt -PKG=Copy%20of%20CommVault%20Simpana%20for%20Windows%20Server%20-%2064bit-45746.1 -DryRun -Xr -Xs -V1 -OverwriteReadOnlyFiles -js0 -jr0 -jc0

                    10/23/15 05:53:23.861 DEBUG    bldeploy - Resetting username size to 4096

                    10/23/15 05:53:23.861 DEBUG    bldeploy - GetUserNameExA failed for NameUserPrincipal re-attempting GetUserNameA: (1332 No mapping between account names and security IDs was done.

                     

                     

                    )

                    10/23/15 05:53:23.861 DEBUG    bldeploy - Running as User: BladeLogicRSCD

                    10/23/15 05:53:23.861 DEBUG    bldeploy -  Privileges:

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeIncreaseQuotaPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeSecurityPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeTakeOwnershipPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeLoadDriverPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeSystemProfilePrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeSystemtimePrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeProfileSingleProcessPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeIncreaseBasePriorityPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeCreatePagefilePrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeBackupPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeRestorePrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeShutdownPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeDebugPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeSystemEnvironmentPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeChangeNotifyPrivilege - Enabled by default

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeRemoteShutdownPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeUndockPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeManageVolumePrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeImpersonatePrivilege - Enabled by default

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeCreateGlobalPrivilege - Enabled by default

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeIncreaseWorkingSetPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeTimeZonePrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy -   SeCreateSymbolicLinkPrivilege - Disabled

                    10/23/15 05:53:23.861 DEBUG    bldeploy - Validating existence of wait lock C:\Program Files\BMC Software\BladeLogic\RSCD\\Transactions\locks\reboot.lck

                    10/23/15 05:53:23.861 DEBUG    bldeploy - Deployment running in multi-job mode

                    10/23/15 05:53:23.877 DEBUG    bldeploy - Read lock acquired release write lock

                    10/23/15 05:53:23.877 DEBUG    bldeploy - Acquired appropriate lock: C:\Program Files\BMC Software\BladeLogic\RSCD\\Transactions\locks\reader\589bf1234223373391cb9a56861de00c.lck

                    10/23/15 05:53:23.877 DEBUG    bldeploy - Creating directory C:\Program Files\BMC Software\BladeLogic\RSCD\Transactions\589bf1234223373391cb9a56861de00c

                    10/23/15 05:53:23.877 INFO     bldeploy - Bldeploy "Copy of CommVault Simpana for Windows Server - 64bit" UUID(589bf1234223373391cb9a56861de00c) started using file C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f\bldeploy.xml with rollback directory C:\Program Files\BMC Software\BladeLogic\RSCD\\Transactions\589bf1234223373391cb9a56861de00c

                    10/23/15 05:53:23.877 INFO     bldeploy - Starting dryRun

                    10/23/15 05:53:23.892 DEBUG    bldeploy - [][] Dryrun id =

                    10/23/15 05:53:23.892 DEBUG    bldeploy - [1][Add Hosts Aliases] Dryrun id = 1

                    10/23/15 05:53:23.892 DEBUG    bldeploy - [2][Mount Net Drive] Dryrun id = 2

                    10/23/15 05:53:23.892 DEBUG    bldeploy - [3][Execute Command] Dryrun id = 3

                    10/23/15 05:53:23.892 DEBUG    bldeploy - [4][Umount Net Drive] Dryrun id = 4

                    10/23/15 05:53:23.892 INFO     bldeploy - Dryrun succeeded

                    10/23/15 05:53:23.892 DEBUG    bldeploy - Dryrun does not delete staging nor rollback directories

                    10/23/15 05:53:23.892 DEBUG    bldeploy - DeletePkg = 0 DeleteUndo = 0

                    10/23/15 05:53:23.892 INFO     bldeploy - Bldeploy done - nRet = 3 (DryRun successful) exitCode = 0 (Deployment succeeded)

                     

                     

                    10/23/15 05:53:36.076 INFO     bldeploy - Bldeploy started for package: 589bf1234223373391cb9a56861de00c

                    10/23/15 05:53:36.076 DEBUG    bldeploy - Bldeploy Arguments:

                    10/23/15 05:53:36.076 DEBUG    bldeploy - C:\Program Files\BMC Software\BladeLogic\RSCD\sbin\bldeploy.exe

                    10/23/15 05:53:36.076 DEBUG    bldeploy - 589bf1234223373391cb9a56861de00c

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -N=/temp/stage/b46e58ddb8ab3e3f88e8a2fa470bb54f

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -P=WIN-BSA

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -Q=params.txt

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -PKG=Copy%20of%20CommVault%20Simpana%20for%20Windows%20Server%20-%2064bit-45746.1

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -Xs

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -V1

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -OverwriteReadOnlyFiles

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -RegAllCOM

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -UnregAllCOM

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -js0

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -jr0

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -jc0

                    10/23/15 05:53:36.076 DEBUG    bldeploy - -StartNew

                    10/23/15 05:53:36.076 DEBUG    bldeploy - C:\Program Files\BMC Software\BladeLogic\RSCD\sbin\bldeploy.exe  - 8.5.00.416

                    10/23/15 05:53:36.091 INFO     bldeploy - Deployment job not in single-job mode. Reboot is not allowed. Any reboot requests by certain file operations will be ignored.

                    10/23/15 05:53:36.091 DEBUG    bldeploy - Leave staging area on failure

                    10/23/15 05:53:37.105 DEBUG    bldeploy - Utilizing configuration file: C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f\589bf1234223373391cb9a56861de00c.cfg

                    10/23/15 05:53:37.105 DEBUG    bldeploy - Fresh start of deployment, deleting any pre-existing configuration file

                    10/23/15 05:53:39.399 DEBUG    bldeploy - Could not open file "C:\Program Files\BMC Software\BladeLogic\RSCD\\params.txt" for reading

                    10/23/15 05:53:39.399 DEBUG    bldeploy -

                    DEPLOYNAME = 589bf1234223373391cb9a56861de00c:

                    DEPLOYPATH = C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f:

                    FQHOST = WIN-BSA:

                    HOST = WIN-BSA:

                    HOSTIP = fe80::e4dd:4a0b:2ab:8367%11:

                    NAMESPACE = WIN-BSA:

                    ROLLBACKPATH = C:\Program Files\BMC Software\BladeLogic\RSCD\\Transactions\589bf1234223373391cb9a56861de00c:

                    RSCDIR = C:\Program Files\BMC Software\BladeLogic\RSCD\:

                    WIN-BSA:MOUNT_PWD = BLencrypt:UMAKAPEOAXTKXMELEVTTMTNAVPZTPBAETZBKLTWBXEQVXAOLQVQNXOBKVTMEZUNV:

                    WIN-BSA:MOUNT_USER = Administrator:

                    WINDIR = C:\Windows:

                    XMLFILEPATH = C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f\bldeploy.xml:

                    10/23/15 05:53:39.399 DEBUG    bldeploy - Full command line C:\Program Files\BMC Software\BladeLogic\RSCD\sbin\bldeploy.exe 589bf1234223373391cb9a56861de00c -N=/temp/stage/b46e58ddb8ab3e3f88e8a2fa470bb54f -P=WIN-BSA -Q=params.txt -PKG=Copy%20of%20CommVault%20Simpana%20for%20Windows%20Server%20-%2064bit-45746.1 -Xs -V1 -OverwriteReadOnlyFiles -RegAllCOM -UnregAllCOM -js0 -jr0 -jc0

                    10/23/15 05:53:39.399 DEBUG    bldeploy - Resetting username size to 4096

                    10/23/15 05:53:39.399 DEBUG    bldeploy - GetUserNameExA failed for NameUserPrincipal re-attempting GetUserNameA: (1332 No mapping between account names and security IDs was done.

                     

                     

                    )

                    10/23/15 05:53:39.399 DEBUG    bldeploy - Running as User: BladeLogicRSCD

                    10/23/15 05:53:39.399 DEBUG    bldeploy -  Privileges:

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeIncreaseQuotaPrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeSecurityPrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeTakeOwnershipPrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeLoadDriverPrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeSystemProfilePrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeSystemtimePrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeProfileSingleProcessPrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeIncreaseBasePriorityPrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeCreatePagefilePrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeBackupPrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeRestorePrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeShutdownPrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeDebugPrivilege - Disabled

                    10/23/15 05:53:39.399 DEBUG    bldeploy -   SeSystemEnvironmentPrivilege - Disabled

                    10/23/15 05:53:39.414 DEBUG    bldeploy -   SeChangeNotifyPrivilege - Enabled by default

                    10/23/15 05:53:39.414 DEBUG    bldeploy -   SeRemoteShutdownPrivilege - Disabled

                    10/23/15 05:53:39.414 DEBUG    bldeploy -   SeUndockPrivilege - Disabled

                    10/23/15 05:53:39.414 DEBUG    bldeploy -   SeManageVolumePrivilege - Disabled

                    10/23/15 05:53:39.414 DEBUG    bldeploy -   SeImpersonatePrivilege - Enabled by default

                    10/23/15 05:53:39.414 DEBUG    bldeploy -   SeCreateGlobalPrivilege - Enabled by default

                    10/23/15 05:53:39.414 DEBUG    bldeploy -   SeIncreaseWorkingSetPrivilege - Disabled

                    10/23/15 05:53:39.414 DEBUG    bldeploy -   SeTimeZonePrivilege - Disabled

                    10/23/15 05:53:39.414 DEBUG    bldeploy -   SeCreateSymbolicLinkPrivilege - Disabled

                    10/23/15 05:53:39.414 DEBUG    bldeploy - Validating existence of wait lock C:\Program Files\BMC Software\BladeLogic\RSCD\\Transactions\locks\reboot.lck

                    10/23/15 05:53:39.414 DEBUG    bldeploy - Deployment running in multi-job mode

                    10/23/15 05:53:39.414 DEBUG    bldeploy - Read lock acquired release write lock

                    10/23/15 05:53:39.414 DEBUG    bldeploy - Acquired appropriate lock: C:\Program Files\BMC Software\BladeLogic\RSCD\\Transactions\locks\reader\589bf1234223373391cb9a56861de00c.lck

                    10/23/15 05:53:39.414 INFO     bldeploy - Bldeploy "Copy of CommVault Simpana for Windows Server - 64bit" UUID(589bf1234223373391cb9a56861de00c) started using file C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f\bldeploy.xml with rollback directory C:\Program Files\BMC Software\BladeLogic\RSCD\\Transactions\589bf1234223373391cb9a56861de00c

                    10/23/15 05:53:39.414 INFO     bldeploy - Starting apply

                    10/23/15 05:53:39.414 DEBUG    bldeploy - [][] Starting pre-apply for BLPACKAGE

                    10/23/15 05:53:39.414 DEBUG    bldeploy - [][] Consolidating rollback file to bldeploy.xml

                    10/23/15 05:53:39.414 DEBUG    bldeploy - [][] Applying parent first id =

                    10/23/15 05:53:39.414 INFO     bldeploy - [][] Processing asset BLPACKAGE

                    10/23/15 05:53:39.414 DEBUG    bldeploy - [1][Add Hosts Aliases] Consolidating rollback file to bldeploy.xml

                    10/23/15 05:53:39.414 DEBUG    bldeploy - [1][Add Hosts Aliases] Applying parent first id = 1

                    10/23/15 05:53:39.414 INFO     bldeploy - [1][Add Hosts Aliases] Processing asset EXTERNALCMD

                    10/23/15 05:53:39.430 INFO     bldeploy - [1][Add Hosts Aliases] Executing command: "echo.  >> C:\Windows\System32\Drivers\etc\hosts

                    echo #************************************ >> C:\Windows\System32\Drivers\etc\hosts

                    echo #COMMCELL SERVERS - RED DE SERVICIOS* >> C:\Windows\System32\Drivers\etc\hosts

                    echo #************************************ >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.16 MA01-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.17 MA01-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.18 IDX01-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.19 CS01-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.20 CSDR01-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.38 CI_ACRONIS >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.41 MA03-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.55 MA02-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.59 MA06-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.61 MA02-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.62 MA07-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.87 CSDR02-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.88 CS02-CAP-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.107 MA04-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.108 MA05-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.119 MA08-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.120 MA09-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.121 MA10-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.122 MA11-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.123 MA12-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.124 MA13-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.125 MA14-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.126 MA15-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.132 MA16-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.133 MA17-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.135 CS03-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.127 MA03-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.128 MA04-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts

                    echo XX.XX.XX.156 CSDR03-XXXXXXX >> C:\Windows\System32\Drivers\etc\hosts"

                    10/23/15 05:53:39.430 DEBUG    bldeploy - [1][Add Hosts Aliases] chdir to PkgDir: 'C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f\'

                    10/23/15 05:53:39.430 DEBUG    bldeploy - [1][Add Hosts Aliases] exeFullPath = (null), CmdLine = "C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f\bldeploycmd.1.bat", workingDir = NULL

                    10/23/15 05:53:39.555 DEBUG    bldeploy - [1][Add Hosts Aliases] In RunProcess: exitCode = 0

                    10/23/15 05:53:39.555 DEBUG    bldeploy - [1][Add Hosts Aliases] chdir to PkgDir: 'C:\'

                    10/23/15 05:53:39.555 DEBUG    bldeploy - [1][Add Hosts Aliases] Apply for assetName 'EXTERNALCMD' returned '1'

                    10/23/15 05:53:39.555 DEBUG    bldeploy - [1][Add Hosts Aliases] force rollback flag set to '0'

                    10/23/15 05:53:39.555 DEBUG    bldeploy - [1][Add Hosts Aliases] Writing rollback entries

                    10/23/15 05:53:39.555 DEBUG    bldeploy - [1][Add Hosts Aliases] Skipping storing software payload for rollback

                    10/23/15 05:53:39.555 DEBUG    bldeploy - [2][Mount Net Drive] Consolidating rollback file to bldeploy.xml

                    10/23/15 05:53:39.555 DEBUG    bldeploy - [2][Mount Net Drive] Applying parent first id = 2

                    10/23/15 05:53:39.555 INFO     bldeploy - [2][Mount Net Drive] Processing asset EXTERNALCMD

                    10/23/15 05:53:39.555 INFO     bldeploy - [2][Mount Net Drive] Executing command: "net use T: \\XX.XX.12.16\pxestore\commvault *** /user:Administrator

                     

                     

                     

                     

                    copy T:\CVDownloads_win\CVPackageWindows\WinX64\Install.xml C:\BLProv

                     

                     

                     

                     

                    start /wait T:\CVDownloads_win\WinX64\Setup.exe /silent /play T:\CVDownloads_win\CVPackageWindows\WinX64\Install.xml"

                    10/23/15 05:53:39.555 DEBUG    bldeploy - [2][Mount Net Drive] chdir to PkgDir: 'C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f\'

                    10/23/15 05:53:39.555 DEBUG    bldeploy - [2][Mount Net Drive] exeFullPath = (null), CmdLine = "C:\temp\stage\b46e58ddb8ab3e3f88e8a2fa470bb54f\bldeploycmd.2.bat", workingDir = NULL

                    10/23/15 05:53:39.664 INFO     bldeploy - [2][Mount Net Drive] [stdout: 2] The command completed successfully.

                     

                     

                     

                     

                     

                     

                            1 file(s) copied.

                     

                     

                     

                     

                    10/23/15 05:53:42.269 DEBUG    bldeploy - [2][Mount Net Drive] In RunProcess: exitCode = 3

                    10/23/15 05:53:42.269 ERROR    bldeploy - [2][Mount Net Drive] Command returned non-zero exit code: 3 The system cannot find the path specified.

                     

                     

                     

                     

                    10/23/15 05:53:42.269 DEBUG    bldeploy - [2][Mount Net Drive] chdir to PkgDir: 'C:\'

                    10/23/15 05:53:42.269 DEBUG    bldeploy - [2][Mount Net Drive] Apply for assetName 'EXTERNALCMD' returned '0'

                    10/23/15 05:53:42.269 DEBUG    bldeploy - [2][Mount Net Drive] force rollback flag set to '0'

                    10/23/15 05:53:42.269 ERROR    bldeploy - [2][Mount Net Drive] Apply failed: id = 2

                    10/23/15 05:53:42.269 DEBUG    bldeploy - [2][Mount Net Drive] Apply failed -processing sub-list: id = 2

                    10/23/15 05:53:42.269 DEBUG    bldeploy - [][] Package failed = BLPACKAGE

                    10/23/15 05:53:42.269 DEBUG    bldeploy - Package items were processed

                    10/23/15 05:53:42.269 INFO     bldeploy - Starting undo

                    10/23/15 05:53:42.269 DEBUG    bldeploy - [][] Starting pre-applyUndo for BLPACKAGE

                    10/23/15 05:53:42.269 DEBUG    bldeploy - [][] Undo: Applying id =

                    10/23/15 05:53:42.285 INFO     bldeploy - [][] Processing asset BLPACKAGE

                    10/23/15 05:53:42.285 DEBUG    bldeploy - [1][Add Hosts Aliases] Undo: Applying id = 1

                    10/23/15 05:53:42.285 INFO     bldeploy - [1][Add Hosts Aliases] Processing asset EXTERNALCMD

                    10/23/15 05:53:42.285 WARN     bldeploy - [1][Add Hosts Aliases] Empty command: Skipping.

                    10/23/15 05:53:42.285 DEBUG    bldeploy - Package items were processed

                    10/23/15 05:53:42.285 INFO     bldeploy - Undo succeeded

                    10/23/15 05:53:42.285 DEBUG    bldeploy - DeletePkg = 1 DeleteUndo = 0

                    10/23/15 05:53:42.285 DEBUG    bldeploy - DirUtil::remove: pf->remove (C:\Program Files\BMC Software\BladeLogic\RSCD\\Transactions\589bf1234223373391cb9a56861de00c/bldeploy.xml) = 0

                    10/23/15 05:53:42.285 DEBUG    bldeploy - Deleted the folder: C:\Program Files\BMC Software\BladeLogic\RSCD\\Transactions\589bf1234223373391cb9a56861de00c

                    10/23/15 05:53:42.300 INFO     bldeploy - Bldeploy done - nRet = 6 (Apply failed; auto-rollback successful) exitCode = -4001 (Deployment failed)

                    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                     

                    * 'Attach' link was missing while relying so pasted here.

                    • 7. Re: Software BLPackage deployment failed.
                      Jim Wilson

                      * 'Attach' link was missing while relying so pasted here.

                      Click "use advanced editor

                      Attach is bottom right corner of the message box

                      • 9. Re: Software BLPackage deployment failed.
                        Bill Robinson

                        you sure these paths are right:

                         

                        T:\CVDownloads_win\CVPackageWindows\WinX64\Install.xml

                        T:\CVDownloads_win\WinX64\Setup.exe

                         

                         

                        it did look like the copy w/ the separate net use worked (the original) - typically i don't see that work...

                        • 10. Re: Software BLPackage deployment failed.
                          Sarang S

                          Just rechecked both the paths are right,as I mentioned earlier the installation is getting successful when I manually execute .bat file created at staging directory.

                          • 11. Re: Software BLPackage deployment failed.
                            Bill Robinson

                            You are mapping the drive as the same user as in the script ?

                            • 13. Re: Software BLPackage deployment failed.
                              Bill Robinson

                              can you take out the call to the setup.exe and run:

                               

                              dir T:\CVDownloads_win\WinX64

                               

                              instead and see what it does ?

                              • 14. Re: Software BLPackage deployment failed.
                                Ashish Vijay

                                Also i see in install command

                                 

                                "start /wait T:\CVDownloads_win\WinX64\Setup.exe /silent /play T:\CVDownloads_win\CVPackageWindows\WinX64\Install.xml"

                                 

                                You mentioned two different path for Folder WinX64 (T:\CVDownloads_win\WinX64 and T:\CVDownloads_win\CVPackageWindows\WinX64). Can you check if use correct path for folder WinX64 at both places.

                                 

                                I can also see below messages in log. You need to check this as well

                                 

                                10/23/15 05:53:39.399 DEBUG    bldeploy - Resetting username size to 4096

                                10/23/15 05:53:39.399 DEBUG    bldeploy - GetUserNameExA failed for NameUserPrincipal re-attempting GetUserNameA: (1332 No mapping between account names and security IDs was done.

                                 

                                And as Bill suggested, check what is there under WinX64 folder.

                                1 2 Previous Next