cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-5739) [vmware] Vcenter 5.5 host ESXi 5.5 host maintenance mode some VMs in stop state not migrated
Date Thu, 09 Jan 2014 04:39:50 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-5739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Likitha Shetty resolved CLOUDSTACK-5739.
----------------------------------------

    Resolution: Duplicate

>From the logs i observe two issues - 

1. Migration fails with an NPE

2014-01-02 17:26:37,599 DEBUG [c.c.v.VmWorkJobDispatcher] (Job-Executor-91:ctx-3c6854d7) Run
VM work job: com.cloud.vm.VmWorkMigrate
2014-01-02 17:26:37,603 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Job-Executor-91:ctx-3c6854d7
ctx-02dfc876) Execute VM work job: com.cloud.vm.VmWorkMigrate{"zoneId":1,"podId":1,"clusterId":1,"hostId":1,"srcHostId":2,"userId":2,"accountId":2,"vmId":1,"handlerName":"VirtualMachineManagerImpl"}
2014-01-02 17:26:37,606 ERROR [c.c.v.VmWorkJobHandlerProxy] (Job-Executor-91:ctx-3c6854d7
ctx-02dfc876) Invocation exception, caused by: java.lang.NullPointerException
2014-01-02 17:26:37,607 ERROR [c.c.v.VmWorkJobDispatcher] (Job-Executor-91:ctx-3c6854d7 ctx-02dfc876)
Unable to complete AsyncJobVO {id:69, userId: 2, accountId: 2, instanceType: null, instanceId:
null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: rO0ABXNyABpjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZRdxQXtPtzYqAgAGSgAJc3JjSG9zdElkTAAJY2x1c3RlcklkdAAQTGphdmEvbGFuZy9Mb25nO0wABmhvc3RJZHEAfgABTAAFcG9kSWRxAH4AAUwAB3N0b3JhZ2V0AA9MamF2YS91dGlsL01hcDtMAAZ6b25lSWRxAH4AAXhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRKAAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAAXQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAnNyAA5qYXZhLmxhbmcuTG9uZzuL5JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAAAAAAAAXEAfgAJcQB-AAlwcQB-AAk,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
6958920763321, completeMsid: null, lastUpdated: null, lastPolled: null, created: Thu Jan 02
17:26:35 PST 2014}
java.lang.NullPointerException
	at com.cloud.vm.VmWorkMigrate.getDeployDestination(VmWorkMigrate.java:60)
	at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualMachineManagerImpl.java:4758)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
	at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4855)
	at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:99)
	at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:522)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
	at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:679)
2014-01-02 17:26:37,609 ERROR [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-91:ctx-3c6854d7)
Unexpected exception
java.lang.NullPointerException
2014-01-02 17:26:37,610 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-91:ctx-3c6854d7)
Complete async job-69, jobStatus: FAILED, resultCode: 530, result: null

2. VM stop fails with an NPE (virtual routers)

2014-01-02 17:29:49,219 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Network-Scavenger-1:ctx-8e6a0d51)
Sending network shutdown to VirtualRouter
2014-01-02 17:29:49,221 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Network-Scavenger-1:ctx-8e6a0d51)
Stopping router VM[DomainRouter|r-8-VM]
2014-01-02 17:29:49,221 WARN  [o.a.c.e.o.NetworkOrchestrator] (Network-Scavenger-1:ctx-8e6a0d51)
Unable to complete shutdown of the network elements due to element: VirtualRouter
java.lang.NullPointerException
	at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1268)
	at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.stop(VirtualNetworkApplianceManagerImpl.java:2702)
	at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.stop(VirtualNetworkApplianceManagerImpl.java:139)

Both these issues are been tracked - 
[https://issues.apache.org/jira/browse/CLOUDSTACK-5720]
[https://issues.apache.org/jira/browse/CLOUDSTACK-5792]

> [vmware] Vcenter 5.5  host ESXi 5.5  host maintenance mode some VMs in stop state not
migrated
> ----------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5739
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5739
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>         Environment: MS    4.3   build  1/2/2014
> vcenter  5.5        host1   host2     ESXi 5.5
>            Reporter: angeline shen
>            Assignee: Likitha Shetty
>            Priority: Critical
>             Fix For: 4.3.0
>
>         Attachments: management-server(2).log.gz, management-server.log.2014-01-02.gz,
management-server.log.gz, vm1.png, vm43.png, vm431.png, vm432.png, vm5131.png, vm5132.png,
vm5133.png, vm5134.png, vm5135.png, vm5136.png
>
>
> 1. advance zone, create VMs
> 2. Put host1 in maintenance mode.
> 3. 1 guest VM remain in stop state , not migrated
>      VRs remain in stop state, not migrated
>      host remain in PrepareForMaintenance mode



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message