cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "prashant kumar mishra (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CLOUDSTACK-5585) [Automation]Unable to stop VM reported by HA Worker
Date Thu, 09 Jan 2014 05:34:51 GMT

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

prashant kumar mishra reopened CLOUDSTACK-5585:
-----------------------------------------------


i am seeing this issue when i am trying to stop/destroy  vm . Operation was successful but
still i see this error.

Log
-------
0; movedfromreserved: false,moveToReserveredtrue
2014-01-09 05:48:39,042 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-25:ctx-c06a200e ctx-5e82b2f5)
release mem from host: 1, old used: 4697620480,reserved: 0, total: 16001265664; new used:
4160749568,reserved:536870912; movedfromreserved: false,moveToReserveredtrue
2014-01-09 05:48:39,042 DEBUG [c.c.v.d.VMInstanceDaoImpl] (HA-Worker-0:ctx-b394a9c6 work-13)
Unable to update VM[User|three]: DB Data={Host=null; State=Stopped; updated=14; time=Thu Jan
09 05:48:39 EST 2014} New Data: {Host=null; State=Stopped; updated=14; time=Thu Jan 09 05:48:39
EST 2014} Stale Data: {Host=1; State=Stopping; updated=13; time=Thu Jan 09 05:48:14 EST 2014}
2014-01-09 05:48:39,045 ERROR [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-0:ctx-b394a9c6
work-13) Terminating HAWork[13-Stop-6-Stopping-Scheduled]
com.cloud.utils.exception.CloudRuntimeException: unable to stop VM[User|three]
        at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1475)
        at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStop(VirtualMachineManagerImpl.java:1297)
        at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1270)
        at com.cloud.ha.HighAvailabilityManagerImpl.stopVM(HighAvailabilityManagerImpl.java:676)
        at com.cloud.ha.HighAvailabilityManagerImpl$WorkerThread.runWithContext(HighAvailabilityManagerImpl.java:869)
        at com.cloud.ha.HighAvailabilityManagerImpl$WorkerThread.access$000(HighAvailabilityManagerImpl.java:822)
        at com.cloud.ha.HighAvailabilityManagerImpl$WorkerThread$1.run(HighAvailabilityManagerImpl.java:834)
        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 com.cloud.ha.HighAvailabilityManagerImpl$WorkerThread.run(HighAvailabilityManagerImpl.java:831)
2014-01-09 05:48:39,168 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-25:ctx-c06a200e ctx-5e82b2f5)
VM state transitted from :Stopped to Destroyed with event: DestroyRequestedvm's original host
id: 1 new host id: null host id before state transition: null
2014-01-09 05:48:39,180 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-25:ctx-c06a200e ctx-5e82b2f5)
Hosts's actual total CPU: 9576 and CPU after applying overprovisioning: 9576
2014-01-09 05:48:39,180 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-25:ctx-c06a200e ctx-5e82b2f5)
Hosts's actual total RAM: 16001266176 and RAM after applying overprovisioning: 16001265664
2014-01-09 05:48:39,180 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-25:ctx-c06a200e ctx-5e82b2f5)
release cpu from host: 1, old used: 3400,reserved: 500, actual total: 9576, total with overprovisioning:
9576; new used: 3400,reserved:0; movedfromreserved: true,moveToReserveredfalse
2014-01-09 05:48:39,180 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-25:ctx-c06a200e ctx-5e82b2f5)
release mem from host: 1, old used: 4160749568,reserved: 536870912, total: 16001265664; new
used: 4160749568,reserved:0; movedfromreserved: true,moveToReserveredfalse
2014-01-09 05:48:39,269 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-25:ctx-c06a200e
ctx-5e82b2f5) Stopped called on VM[User|three] but the state is Destroyed
2014-01-09 05:48:39,280 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-25:ctx-c06a200e ctx-5e82b2f5)
VM state transitted from :Destroyed to Expunging with event: ExpungeOperationvm's original
host id: 1 new host id: null host id before state transition: null
2014-01-09 05:48:39,283 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-25:ctx-c06a200e
ctx-5e82b2f5) Destroying vm VM[User|three]


> [Automation]Unable to stop VM reported by HA Worker
> ---------------------------------------------------
>
>                 Key: CLOUDSTACK-5585
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5585
>             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: Xenserver
> advanced
>            Reporter: Srikanteswararao Talluri
>            Assignee: Bharat Kumar
>            Priority: Critical
>             Fix For: 4.3.0
>
>
> After this fix, 
> i am hitting 'unable to stop VM' for a different reason. I will open another bug for
this.
> 2013-12-18 13:17:50,490 WARN [c.c.v.VirtualMachineManagerImpl] (HA-Worker-0:ctx-8b1e82fb
work-200) Unable to stop vm VM[User|QA-54b3a865-b499-4b65-9bbf-308b3b7e3209]
> 2013-12-18 13:17:50,504 DEBUG [c.c.c.CapacityManagerImpl] (HA-Worker-0:ctx-8b1e82fb work-200)
VM state transitted from :Stopping to Running with event: OperationFailedvm's original host
id: 2 new host id: 2 host id before state transition: 2
> 2013-12-18 13:17:50,504 ERROR [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-0:ctx-8b1e82fb
work-200) Terminating HAWork[200-Stop-612-Stopping-Scheduled]
> com.cloud.utils.exception.CloudRuntimeException: Unable to stop VM[User|QA-54b3a865-b499-4b65-9bbf-308b3b7e3209]
> at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1398)
> at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStop(VirtualMachineManagerImpl.java:1258)
> at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1231)
> at com.cloud.ha.HighAvailabilityManagerImpl.stopVM(HighAvailabilityManagerImpl.java:651)
> at com.cloud.ha.HighAvailabilityManagerImpl$WorkerThread.runWithContext(HighAvailabilityManagerImpl.java:844)
> at com.cloud.ha.HighAvailabilityManagerImpl$WorkerThread.access$000(HighAvailabilityManagerImpl.java:797)
> at com.cloud.ha.HighAvailabilityManagerImpl$WorkerThread$1.run(HighAvailabilityManagerImpl.java:809)
> 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 com.cloud.ha.HighAvailabilityManagerImpl$WorkerThread.run(HighAvailabilityManagerImpl.java:806)
> 2013-12-18 13:17:50,587 INFO [c.c.h.x.r.XenServer56Resource] (DirectAgent-225:ctx-f80fc44c)
Catch com.xensource.xenapi.Types$VifInUse: failed to destory VLAN eth0 on host 06df9c52-24bf-49d0-a4c0-e635214bcf9f
due to Network has active VIFs



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

Mime
View raw message