vmware operations( apply custom spec , set power state) failed with weird error

hey experts,

I'm provisioning vm builds using OO and therefore I'm using couple of virtualization operations like( Apply custom spec, set power state ) in the flows and just FYI, This are working without issue

From the past two days, This operation throwing me a weird error and basically I found out these operations are not able to search any object (like vm name .vmid in the inventory) . it ending with error " particular vmid or vmname not found)  when I dig deeper, it's throwing this error

 

exception=com.vmware.vim25.SystemError

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:422)

at java.lang.Class.newInstance(Class.java:442)

at com.vmware.vim25.ws.XmlGen.fromXml(XmlGen.java:205)

at com.vmware.vim25.ws.XmlGen.parseSoapFault(XmlGen.java:82)

at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:134)

at com.vmware.vim25.ws.VimStub.xmlToCustomizationSpecItem(VimStub.java:362)

at com.vmware.vim25.mo.CustomizationSpecManager.xmlToCustomizationSpecItem(CustomizationSpecManager.java:106)

at com.hp.oo.content.wrappers.vijava.GuestOpsWrapper.applyCustomizationSpecToVM(GuestOpsWrapper.java:445)

at com.hp.oo.content.wrappers.vijava.GuestOpsWrapper.applyCustomizationSpecToVM(GuestOpsWrapper.java:40)

at com.opsware.content.actions.vmware.guest.ApplyCustomizationSpecToVM.execute(ApplyCustomizationSpecToVM.java:68)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.hp.oo.sdk.plugins.abstracts.BaseActionPlugin.execute(BaseActionPlugin.java:53)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.hp.oo.maven.PluginAdapterImpl.executePlugin(PluginAdapterImpl.java:328)

at com.hp.oo.maven.PluginAdapterImpl.execute(PluginAdapterImpl.java:248)

at com.hp.oo.execution.control.actions.contentexecution.ContentExecutionActions.executeContentAction(ContentExecutionActions.java:97)

at sun.reflect.GeneratedMethodAccessor786.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:62)

at io.cloudslang.worker.execution.services.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:326)

at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:80)

at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:167)

at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:120)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:33)

at java.lang.Thread.run(Thread.java:745)

), (SESSION_ON=true), (returnCode=-1)

 

Note - Eventhough the vm exists in vcenter , still this  kind oferrors 

If anyone has faced this error / has any idea. please suggest me the steps. 

 

Mail - sasekumar.m-b@hpe.com

Contact - 91 8123011734