Why does VM not start with "Operation Canceled Internal RHEV Manager Error (Error code: 5001)" error?

Solution Unverified - Updated -

Issue

  • VM does not start with "Operation Canceled Internal RHEV Manager Error (Error code: 5001)" error .
  • engine.log shows the following error :
2013-04-01 15:19:01,126 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (pool-19-thread-50) Running command: RunVmCommand internal: false. Entities affected :  ID: 692bf115-3c5e-4c2a-90ec-efda29038cer Type: VM
2013-04-01 15:19:01,139 INFO  [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-19-thread-50) START, CreateVmVDSCommand(vdsId = e0ca3fd6-9803-11e2-ba90-3f6f5fbc0fc3, vmId=692bf115-3c5e-4c2a-90ec-efda29038cer, vm=org.ovirt.engine.core.common.businessentities.VM@1b7d21a5), log id: 6114c896
2013-04-01 15:19:01,143 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SysprepHandler] (pool-19-thread-50) Could not find value for user. Going to use default value of:
2013-04-01 15:19:01,143 ERROR [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-19-thread-50) Error in excuting CreateVmVDSCommand
java.lang.IndexOutOfBoundsException: No group 6
        at java.util.regex.Matcher.group(Matcher.java:470)
        at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
        at java.util.regex.Matcher.replaceAll(Matcher.java:813)
        at java.lang.String.replaceAll(String.java:2189)
        at org.ovirt.engine.core.compat.StringBuilderCompat.replace(StringBuilderCompat.java:22)
        at org.ovirt.engine.core.vdsbroker.vdsbroker.SysprepHandler.GetSysPrep(SysprepHandler.java:116)
        at org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVmFromSysPrepVDSCommand.<init>(CreateVmFromSysPrepVDSCommand.java:10)
        at org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand.ExecuteVdsIdCommand(CreateVmVDSCommand.java:52)
        at org.ovirt.engine.core.vdsbroker.VdsIdVDSCommandBase.ExecuteVDSCommand(VdsIdVDSCommandBase.java:37)
        at org.ovirt.engine.core.vdsbroker.VDSCommandBase.ExecuteCommand(VDSCommandBase.java:60)
        at org.ovirt.engine.core.dal.VdcCommandBase.Execute(VdcCommandBase.java:41)
        at org.ovirt.engine.core.vdsbroker.ResourceManager.runVdsCommand(ResourceManager.java:382)
        at org.ovirt.engine.core.vdsbroker.proxy.ResourceManagerProxy.runVdsCommand(ResourceManagerProxy.java:21)
        at sun.reflect.GeneratedMethodAccessor408.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
        at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:72)
        at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76)
        at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62)
        at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
        at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_313290858.invoke(InvocationContextInterceptor_z_fillMethod_313290858.java)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
        at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_313290858.invoke(InvocationContextInterceptor_z_setup_313290858.java)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
        at org.jboss.aspects.tx.TxInterceptor$Supports.invoke(TxInterceptor.java:147)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:193)
        at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:250)
        at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:188)
        at com.sun.proxy.$Proxy426.runVdsCommand(Unknown Source)
        at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:29)
        at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunAsyncVdsCommand(VDSBrokerFrontendImpl.java:67)
        at org.ovirt.engine.core.bll.RunVmCommand.CreateVm(RunVmCommand.java:371)
        at org.ovirt.engine.core.bll.RunVmCommand.RunVm(RunVmCommand.java:198)
        at org.ovirt.engine.core.bll.RunVmCommand.ExecuteVmCommand(RunVmCommand.java:242)
        at org.ovirt.engine.core.bll.VmCommand.executeCommand(VmCommand.java:91)
        at org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:629)
        at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:718)
        at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1022)
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequired(TransactionSupport.java:142)
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:109)
        at org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:733)
        at org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:207)
        at org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:140)
        at org.ovirt.engine.core.bll.SortedMultipleActionsRunnerBase.RunCommands(SortedMultipleActionsRunnerBase.java:16)
        at org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:61)
        at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:52)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
        at java.lang.Thread.run(Thread.java:662)
2013-04-01 15:19:01,145 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-19-thread-50) Command CreateVmVDS execution failed. Exception: RuntimeException: java.lang.IndexOutOfBoundsException: No group 6
2013-04-01 15:19:01,145 INFO  [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-19-thread-50) FINISH, CreateVmVDSCommand, log id: 6114c896
2013-04-01 15:19:01,145 ERROR [org.ovirt.engine.core.bll.RunVmCommand] (pool-19-thread-50) Command org.ovirt.engine.core.bll.RunVmCommand throw Vdc Bll exception. With error message VdcBLLException: java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: No group 6
2013-04-01 15:19:01,147 ERROR [org.ovirt.engine.core.bll.RunVmCommand] (pool-19-thread-50) Transaction rolled-back for command: org.ovirt.engine.core.bll.RunVmCommand.

Environment

  • Red Hat Enterprise Virtualization 3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In