11 Replies Latest reply on Sep 26, 2008 5:01 AM by MarXtar

    Provisiong Fails to run system configuration portion of template...

    Rookie

       

      I am having some issues with provisioning templates not running past the Post-OS installation section of the template.   Here are some of the things that I am seeing. 

       

       

      I am seeing web service call error messages on the last step of the Post-OS installation portion of the template.   In the case of my template, this is a reboot action.    This started in 8.7 SP5 and has continued with 8.8. 

       

       

      In 8.7 SP5 to be able to force the reboot prior to the error timeout period, and the template would continue into the system configuration phase.  This wasn't perfect, but it allowed me to work around the issue.  Now, the template does not run after the OS boots for the first time.  In investigating this, I get the following errors in the event logs.  There was not an ldprovision.log in C:\ldprovisioning

       

       

      •1.       Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system. Source: SideBySide  Event ID: 32

       

       

      •2.       Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system. Source: SideBySide  Event ID: 59

       

       

      •3.       Generate Activation Context failed for C:\Program Files\LANDesk\Shared Files\httpclient.exe. Reference error message: The operation completed successfully. Source: SideBySide  Event ID: 59

       

       

      I thought perhaps I could force the template to continue by running LDProvision.exe manually.   This resulted in the following error:

       

       

      ldProvision.exe has encountered a problem and needs to close.  We are sorry for the inconvenience.  

       

       

      This then asks if I want to send the error to Microsoft.  The errors in the event log  that I mentioned above are now duplicated.  I also now have an ldprovision.log file.   Here is what it says:

       

       

      2008-04-21 18:43:53(2416-2420) ldProvision.exe:ldProvision started

       

       

      2008-04-21 18:43:53(2416-2420) ldProvision.exe:Unable to load action configuration file; using default action configuration

       

       

      2008-04-21 18:43:53(2416-2420) ldProvision.exe:waiting for ProvisionGUI.exe to start. timeout is 10 minutes.

       

       

      2008-04-21 18:43:53(2416-2420) ldProvision.exe:ProvisionGUI.exe not found. Can not show GUI.

       

       

      2008-04-21 18:43:53(2416-2420) ldProvision.exe:Caught exception in main: code=80001301H, file=.\TaskInfo.cpp, line=355

       

       

      If I install the LANDesk agent, and then run LDProvision, the next action in my template, which is a Configure Agent action, begins to run.   However, when it reaches the Distribute Software actions, it returns the following error:

       

       

      Action index=22443 type=Distribute_software

       

       

      FAILED

       

       

      Error:[8dac4018H]An unknown error occurred.  If the problem persists, contact the LANDesk administrator.

       

       

      I have been running this template successfully since 8.7 SP4, so I am confident the template is OK.    I have several open tickets with LANDesk regarding these issues.  The web service call issues was "turned into engineering" when I was on 8.7 SP5.   I have a couple of other tickets for other portions of the problems listed above,  even though I suspect that the problems are likely related.  

       

       

      I apologize for being so long winded, but I have spent a great deal of time and effort troubleshooting these issues and wanted to present all of the facts.   I can work around the issue, but that involves retraining of staff responsible for imaging, not to mention creation of OSD scripts and scheduled tasks for software distribution.  Not to mention, this adds to the possibility of human error, if a task is forgotten.

       

       

      If anyone can offer any insight to any of my issues, It would be greatly appreciated.  Also anyone else who may have turned in the webservice call issue, have you gotten any feedback?   

       

       

        • 1. Re: Provisiong Fails to run system configuration portion of template...
          bnelson Employee

           

          I am a little confused about your problem. First you said it doesn't continue beyond the Configure Target OS portion of the template. Then you said it won't run after booting into windows. It is failing to run after booting into windows due to the Configure Target OS action failing? If so, check your core to see how many PXE reps are on it. Ensure that each and every PXE rep is actually up and running and in communication with the core. Remove any that aren't by going to All Devices and deleting the machine. (It will add itself back after it checks in)

           

           

           

           

           

          I was having an issue like the one you are having and found that the problem was PXE reps that were unreachable by the core.

           

           

          • 2. Re: Provisiong Fails to run system configuration portion of template...
            Rookie

             

            No.  Configure Target OS appears to be functioning fine.  The problem is in the Post OS install phase of the template.  The last task, whatever it is, will fail with a web service call error message when using run from source.   In the case of my template, this is a reboot action.  

             

             

            In 8.7 SP5, I could force the restart prior to receiving the error message and it would continue on with the template after the OS loaded.    This is not the case with 8.8, due to the errors I mentioned in the event log.

             

             

            • 3. Re: Provisiong Fails to run system configuration portion of template...
              bnelson Employee

              Did you check for rogue PXE reps that are turned off? I had the same issue and removing those rogue PXE reps resolved those issues for me.

              1 of 1 people found this helpful
              • 4. Re: Provisiong Fails to run system configuration portion of template...
                Rookie

                No, I haven't. It was my understanding that PXE reps were out of the picture once the Pre-boot OS was loaded.

                 

                I know I have at least one PXE Rep that is turned off, and another that has a personal firewall enabled, so I am willing to give this a shot. I'll let you know how it works. I appreciate the suggestion.

                 

                Also, as a workaround, what I have done is added two file copy actions to the Post-OS configuration portion of the template. One copies the LANDesk agent installer, the other is a batch file that gets copied to the startup directory, runs the landesk agent installer, then launches LDprovision.exe and removes the agent installer .exe file and itself once it has completed running. Its not what I would call Ideal, but it gets me around the issue.

                • 5. Re: Provisiong Fails to run system configuration portion of template...
                  bnelson Employee

                  I was under this same impression and was shocked to find that removing those reps resolved the issue.

                  • 6. Re: Provisiong Fails to run system configuration portion of template...
                    Rookie

                     

                    Well, I tried removing those pxe reps and the template will still not continue to process after the OS boots. 

                     

                     

                     

                     

                     

                    I still need to install the agent prior to running LDProvision.exe.  I think there is file that the ldprovision.exe is dependant on that either isn't there, or is a wrong version.      The good news is, I at least have a workaround with batch file process that can get me going for now.  

                     

                     

                    I had already tried recreating the templates, which  seemed to get rid of the software distribution errors, so I was not able to determine if this problem was resolved by removing the PXE reps that were unavailable. 

                     

                     

                    I'll keep my eyes open for that fix from engineering in the meantime...

                     

                     

                    Thanks again though, it was worth a try. 

                     

                     

                     

                     

                     

                    Ed

                     

                     

                     

                     

                     

                    • 7. Re: Provisiong Fails to run system configuration portion of template...
                      Apprentice

                       

                      Hi Edwars,

                       

                       

                      I have the same error code when try to run a template with Distribute Software (8dac4018H).

                       

                       

                      After a lot of investigation I found a workaround, I will give this tip and if you can validate it could be great to send it to LANDesk directly. This are the steps:

                       

                       

                      Cause: Open the template with the error, the template that never works !. At the left go to the XML part and have a look into XML to find the Distribute Software part , you will find this tag <SWDPackageId>XXX</SWDPackageId> with your soft number, and also you "should" fine another tag <SwdSnippet></SwdSnippet> with a lot of information into this tag (lika distribution parameter, options...). For me everytime a distribute software failed it 's because the <SwdSnippet> doesn't exist or was incomplete.

                       

                       

                      Workaround: Create a template with only the software you want to distribute. Then on the client under windows, run manually from the server the LDProvisioning.exe. (Do not schedule the template). LDProvisionin will start, connect the server and It will ask you to enter credential and to choose which template you want to execute. Choose you template, and normally it should works. Then after the install, edit the template, go to the XML part and have a look under the <SwdSnippet> part. You should see a lot of information on it. This are the miss information on the not working  template . Then export the template, copy paste change, import template and try your whole template deployment.

                       

                       

                      For me this workaround fix temporary my problem for every template I try. I have open a call regarding this issue.

                       

                       

                      And for you? Could you send me result / observation?

                       

                       

                      Best regards

                       

                       

                      Lionel

                       

                       

                      • 8. Re: Provisiong Fails to run system configuration portion of template...
                        Apprentice

                         

                        Lionel,

                         

                         

                         

                         

                         

                        I have been getting the same problem, tried your workaround and it works perfect now

                         

                         

                        did you get an update with the case you had open?

                         

                         

                         

                         

                         

                        Thanks

                         

                         

                         

                         

                         

                        Chris

                         

                         

                        • 9. Re: Provisiong Fails to run system configuration portion of template...
                          Specialist

                           

                          This issue is actually resolved by a patch which is included in 8.8 SP1.  The issue stems from a call that was made to one of the scheduler dlls.  Specifically, if you right-click and schedule a template that contains distribute software actions, the SWD snippets were not being built in the XML template files.  However, if you manually schedule from ldprovision on the client side, or drag the target machine onto the template, the XML snippets are created.  The patch addresses this issue.   Keep in mind, that the XML snippets are not actually "built" until the template is started.

                           

                           

                           

                           

                           

                          I highly reccomend applying SP1 as there were four major provisioning patches added to this release.

                           

                           

                          • 10. Re: Provisiong Fails to run system configuration portion of template...
                            Rookie

                            We had the problem, worked a call with landesk, a workaround was used (the one below was rehashed by the support agent :) ) and finally a patch was released...

                            Now we have SP2 and the problem is back but this time the workaround (Manually running the template) DOES NOT work...

                            So now we have another 3 months of being unable to use the product properly whilst we wait for support to work out what is wrong.

                             

                            I am now beginnign to really hate the "Corporate standard" and want to go back to Zenworks 4 which at least did what it was suppposed to do....

                            The more I work with LANDesk the more it seems that it is a collection of incomplete parts, often bought in from different vendors and not quite compatible..

                            • 11. Re: Provisiong Fails to run system configuration portion of template...
                              MarXtar ITSMMVPGroup

                              Ask ZenWorks where they got their parts from and why many customers are downgrading from Zen10 to Zen7. LANDesk has its faults but no-one out there is perfect.

                               

                              Mark Star - MarXtar LANDesk Enhancements

                              Home of Power State Notifier & Wake-On-WAN for LANDesk