3 Replies Latest reply on Aug 7, 2014 3:45 PM by Bill Robinson

    Server 2012 R2 Provisioning Hanging

    Benjamin Hawkins

      Hi,

       

      We're having issues deploying VM Guests from BSA 8.3.02 Patch 1 for Server 2012 and 2012 R2 on ESXi 5.1.

       

      When deploying a job it seems to get so far through the build and customization and then hangs. We're getting random successes and failures at different points.

       

      Sometimes the build will succeed if we reset the vm during the hanging time.

      Sometimes the build will fail and roll itself back.

      Sometime the build will fail and not roll back.

      Sometimes it will just hang and stay in the console until cancelled.

       

      Any ideas around this?

       

      Server 2003 and 2008 R2 deploys correctly still.

       

      Thanks

      Ben

        • 1. Re: Server 2012 R2 Provisioning Hanging
          Bill Robinson

          does this work outside of bsa (direct in vmware) ?

           

          could it be related to VMware KB: Guest OS customization of Windows 8 and Windows Server 2012 may not complete ?

          • 2. Re: Server 2012 R2 Provisioning Hanging
            Benjamin Hawkins

            Hi Bill,

             

            We've moved our testing over to a lab following your information around the KB above. We are running ESX 5.1 and vCenter 5.1 on our production environment.

             

            When testing on ESX 5.1 Update 1 and vCenter 5.1 Update 1 we're getting past the customisation errors but the VGJ is failing to complete.

             

            Please find the logs from the vCenter server below:

             

            08/05/14 17:46:40.262 ERROR    blcoserver -  ******VCPR01 57140 BladeLogicRSCD (Not_available): (Not_available):  - unable to fetch the property : VirtualMachine : name : null

            08/05/14 17:46:40.277 ERROR    blcoserver -  ******VCPR01 57140 BladeLogicRSCD (Not_available): (Not_available):  - unable to fetch the property : VirtualMachine : name : null

            08/05/14 17:46:40.293 INFO     blcoserver -  ******VCPR01 57140 BladeLogicRSCD (Not_available): (Not_available): Is the request is to fetch VM Template?: false

            08/05/14 17:46:40.418 INFO     blcoserver -  ******VCPR01 57140 BladeLogicRSCD (Not_available): (Not_available): Is the request is to fetch VM Template?: false

            08/05/14 17:46:40.636 INFO     blcoserver -  ******VCPR01 57140 BladeLogicRSCD (Not_available): (Not_available): Is the request is to fetch VM Template?: false

            08/05/14 17:46:41.057 INFO     blcoserver -  ******VCPR01 57140 BladeLogicRSCD (Not_available): (Not_available): Processing delete asset : bmctst01 of type : BMC_VMware_VirtualMachine

            08/05/14 17:46:41.057 ERROR    blcoserver -  ******VCPR01 57140 BladeLogicRSCD (Not_available): (Not_available): Unable to rollback changes.

            08/05/14 17:46:41.057 ERROR    blcoserver -  ******VCPR01 57140 BladeLogicRSCD (Not_available): (Not_available): Commit failed

            08/05/14 17:46:41.057 ERROR    blcoserver -  ******VCPR01 57140 BladeLogicRSCD (Not_available): (Not_available): BMC-BSA-00400000:exception in targeted MOR fetch

            08/05/14 17:46:41.057 ERROR    blcoserver -  ******VCPR01 57140 BladeLogicRSCD (BladeLogicRSCD): (Not_available): Exception occurred in plugin: com.bladelogic.om.infra.daal.jco.CustomObjectException: exception in targeted MOR fetch

            08/05/14 17:46:41.057 ERROR    blcoserver -  ******VCPR01 57140 BladeLogicRSCD (BladeLogicRSCD): (Not_available): exception in targeted MOR fetch

            08/05/14 17:46:41.057 ERROR    blcoserver -  ******VCPR01 57140 BladeLogicRSCD (BladeLogicRSCD): (Not_available): Exception occurred in plugin: com.bladelogic.om.infra.daal.jco.CustomObjectException: exception in targeted MOR fetch com.bladelogic.virtualization.jpa.VirtCustomObject.bulkPutAttributeValues(VirtCustomObject.java:519) com.bladelogic.om.infra.daal.jco.GenericPlugin.notify(GenericPlugin.java:203) com.bladelogic.om.infra.daal.jco.JPAShim.bulkPutAttributeValues(JPAShim.java:713) Caused by: com.bladelogic.virtualization.ServiceException: exception in targeted MOR fetch com.bladelogic.vmware.VMwareJpaAdapter.processVMException(VMwareJpaAdapter.java:222) com.bladelogic.vmware.deployer.VMwareLegacyDeployer.deploy(VMwareLegacyDeployer.java:366) com.bladelogic.vmware.deployer.VMwareLegacyDeployer.bulkPutAttributeValues(VMwareLegacyDeployer.java:128) com.bladelogic.vmware.deployer.VMwareLegacyDeployer.bulkPutAttributeValues(VMwareLegacyDeployer.java:39) com.bladelogic.virtualization.jpa.VirtCustomObject.bulkPutAttributeValues(VirtCustomObject.java:511) com.bladelogic.om.infra.daal.jco.GenericPlugin.notify(GenericPlugin.java:203) com.bladelogic.om.infra.daal.jco.JPAShim.bulkPutAttributeValues(JPAShim.java:713) Caused by: com.bladelogic.om.virtualization.vmware.VMException: exception in targeted MOR fetch com.bladelogic.om.virtualization.vmware.VMWareWebService.targetedMORFetch(VMWareWebService.java:2819) com.bladelogic.om.virtualization.vmware.VMWareWebService.getNameFromMOR(VMWareWebService.java:2267) com.bladelogic.om.virtualization.vmware.VMWareWebService.powerOffVirtualMachine(VMWareWebService.java:1241) com.bladelogic.om.virtualization.vmware.deploy.VirtualMachineCustomizationDeployer.deploy(VirtualMachineCustomizationDeployer.java:91) com.bladelogic.om.virtualization.vmware.VMWareDeployService.doDeploy(VMWareDeployService.java:585) com.bladelogic.om.virtualization.vmware.VMWareDeployService.commit(VMWareDeployService.java:293) com.bladelogic.om.virtualization.vmware.VMWareDeployService.deploy(VMWareDeployService.java:180) com.bladelogic.vmware.deployer.VMwareLegacyDeployer.deploy(VMwareLegacyDeployer.java:362) com.bladelogic.vmware.deployer.VMwareLegacyDeployer.bulkPutAttributeValues(VMwareLegacyDeployer.java:128) com.bladelogic.vmware.deployer.VMwareLegacyDeployer.bulkPutAttributeValues(VMwareLegacyDeployer.java:39) com.bladelogic.virtualization.jpa.VirtCustomObject.bulkPutAttributeValues(VirtCustomObject.java:511) com.bladelogic.om.infra.daal.jco.GenericPlugin.notify(GenericPlugin.java:203) com.bladelogic.om.infra.daal.jco.JPAShim.bulkPutAttributeValues(JPAShim.java:713) Caused by: com.vmware.vim25.ManagedObjectNotFound: (no message available) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) java.lang.reflect.Constructor.newInstance(Unknown Source) java.lang.Class.newInstance(Unknown Source) org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104) org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90) com.vmware.vim25.ManagedObjectNotFound.getDeserializer(ManagedObjectNotFound.java:123) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154) org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84) org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464) org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547) org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157) org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source) org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) org.apache.axis.Message.getSOAPEnvelope(Message.java:435) org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) org.apache.axis.client.Call.invokeEngine(Call.java:2784) org.apache.axis.client.Call.invoke(Call.java:2767) org.apache.axis.client.Call.invoke(Call.java:2443) org.apache.axis.client.Call.invoke(Call.java:2366) org.apache.axis.client.Call.invoke(Call.java:1812) com.vmware.vim25.VimBindingStub.retrieveProperties(VimBindingStub.java:46669) com.bladelogic.om.virtualization.vmware.VMWareWebService.targetedMORFetchWithException(VMWareWebService.java:2844) com.bladelogic.om.virtualization.vmware.VMWareWebService.targetedMORFetch(VMWareWebService.java:2802) com.bladelogic.om.virtualization.vmware.VMWareWebService.getNameFromMOR(VMWareWebService.java:2267) com.bladelogic.om.virtualization.vmware.VMWareWebService.powerOffVirtualMachine(VMWareWebService.java:1241) com.bladelogic.om.virtualization.vmware.deploy.VirtualMachineCustomizationDeployer.deploy(VirtualMachineCustomizationDeployer.java:91) com.bladelogic.om.virtualization.vmware.VMWareDeployService.doDeploy(VMWareDeployService.java:585) com.bladelogic.om.virtualization.vmware.VMWareDeployService.commit(VMWareDeployService.java:293) com.bladelogic.om.virtualization.vmware.VMWareDeployService.deploy(VMWareDeployService.java:180) com.bladelogic.vmware.deployer.VMwareLegacyDeployer.deploy(VMwareLegacyDeployer.java:362) com.bladelogic.vmware.deployer.VMwareLegacyDeployer.bulkPutAttributeValues(VMwareLegacyDeployer.java:128) com.bladelogic.vmware.deployer.VMwareLegacyDeployer.bulkPutAttributeValues(VMwareLegacyDeployer.java:39) com.bladelogic.virtualization.jpa.VirtCustomObject.bulkPutAttributeValues(VirtCustomObject.java:511) com.bladelogic.om.infra.daal.jco.GenericPlugin.notify(GenericPlugin.java:203) com.bladelogic.om.infra.daal.jco.JPAShim.bulkPutAttributeValues(JPAShim.java:713) 

            08/05/14 17:46:41.088 ERROR    blcoserver -  ******VCPR01 57140 BladeLogicRSCD (BladeLogicRSCD): (Not_available): Error returned from plug-in ; Plug-in: /BMC_VMware_VirtualInfrastructureManager_win64 ; Plug-in function: blAsset_PutAll ; Plug-in asset: BMC_VMware_VirtualMachineTemplate:******VCPR01:/Templates/WIN2012R2_x64_STD ; Plug-in error code: 800 ; Plug-in error message: exception in targeted MOR fetch ; Plug-in detail message: Exception occurred in plugin: com.bladelogic.om.infra.daal.jco.CustomObjectException: exception in targeted MOR fetch

            08/05/14 17:46:41.104 INFO     blcoserver -  ******VCPR01 57140 BladeLogicRSCD (Not_available): (Not_available): Completed Method: DAAL.putAll (Pid[57068], ThreadID[0])

            • 3. Re: Server 2012 R2 Provisioning Hanging
              Bill Robinson

              is it only 2012 and 2012 R2 that are an issue?

               

              can you attach the full blcoserver logs ?