cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kelven Yang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-5772) [Automation] NPE while processing ClusterSyncAnswer
Date Mon, 06 Jan 2014 22:29:50 GMT

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

Kelven Yang resolved CLOUDSTACK-5772.
-------------------------------------

    Resolution: Fixed

This is addressed in 29aa7c272cbf5ae7beb7e201d912979e62cae220

> [Automation] NPE while processing ClusterSyncAnswer
> ---------------------------------------------------
>
>                 Key: CLOUDSTACK-5772
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5772
>             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
>            Reporter: Chandan Purushothama
>            Assignee: Kelven Yang
>            Priority: Critical
>             Fix For: 4.3.0
>
>
> =================
> NullPointerException:
> =================
> 2014-01-04 00:08:26,460 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-141:ctx-b620b339)
Seq 1-1665662979: Response Received:
> 2014-01-04 00:08:26,460 DEBUG [c.c.a.t.Request] (DirectAgent-141:ctx-b620b339) Seq 1-1665662979:
Processing:  { Ans: , MgmtId: 6631563722783, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{"i-42-58-QA":{"t":"123a6240-c017-444e-abdc-e853c7228665","u":"Running","v":"viridian:true;acpi:1;apic:true;pae:true;nx:true"},"r-55-QA":{"t":"123a6240-c017-444e-abdc-e853c7228665","u":"Running","v":"viridian:true;acpi:1;apic:true;pae:true;nx:true"}},"_isExecuted":false,"result":true,"wait":0}}]
}
> 2014-01-04 00:08:26,457 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-138:ctx-8396d3c9
ctx-c1529109) Complete async job-388, jobStatus: SUCCEEDED, resultCode: 0, result: org.apache.cloudstack.api.response.UserVmResponse/virtualmachine/{"id":"a96accda-80e2-4e23-8183-b42dd590eaad","name":"QA-a96accda-80e2-4e23-8183-b42dd590eaad","displayname":"Small
Instance","account":"test-TestReleaseIP-test_reboot_router-SFGG1O","domainid":"4508cc0e-7497-11e3-b905-06080800001f","domain":"ROOT","created":"2014-01-03T23:57:26+0530","state":"Destroyed","haenable":false,"zoneid":"12b23cea-8fbd-439f-ac88-c7e78668817a","zonename":"Sandbox-XenServer","templateid":"450dc9f2-7497-11e3-b905-06080800001f","templatename":"CentOS
5.6(64-bit) no GUI (XenServer)","templatedisplaytext":"CentOS 5.6(64-bit) no GUI (XenServer)","passwordenabled":false,"serviceofferingid":"97fe4f0c-3933-473d-a4bd-c2f15956d88c","serviceofferingname":"Tiny
Instance","cpunumber":1,"cpuspeed":100,"memory":256,"cpuused":"0%","networkkbsread":3,"networkkbswrite":2,"diskkbsread":0,"diskkbswrite":0,"diskioread":0,"diskiowrite":0,"guestosid":"4515f852-7497-11e3-b905-06080800001f","rootdeviceid":0,"rootdevicetype":"ROOT","securitygroup":[],"nic":[{"id":"038ad488-37c4-4b5b-93aa-532452168a3d","networkid":"5b45c57d-006b-417f-9c85-95babb500aa1","networkname":"test-TestReleaseIP-test_reboot_router-SFGG1O-network","netmask":"255.255.255.0","gateway":"10.1.1.1","ipaddress":"10.1.1.210","traffictype":"Guest","type":"Isolated","isdefault":true,"macaddress":"02:00:48:91:00:01"}],"hypervisor":"XenServer","instancename":"i-41-56-QA","tags":[],"affinitygroup":[],"displayvm":true,"isdynamicallyscalable":true,"jobid":"5b3b9b5d-a272-44f4-a581-1c3cc5c413e3","jobstatus":0}
> 2014-01-04 00:08:26,476 DEBUG [c.c.v.VirtualMachineManagerImpl] (DirectAgent-141:ctx-b620b339)
VM r-55-QA: cs state = Stopping and realState = Running
> 2014-01-04 00:08:26,476 DEBUG [c.c.v.VirtualMachineManagerImpl] (DirectAgent-141:ctx-b620b339)
VM r-55-QA: cs state = Stopping and realState = Running
> 2014-01-04 00:08:26,476 DEBUG [c.c.v.VirtualMachineManagerImpl] (DirectAgent-141:ctx-b620b339)
Scheduling a stop command for VM[DomainRouter|r-55-QA]
> 2014-01-04 00:08:26,490 DEBUG [c.c.h.HighAvailabilityManagerImpl] (DirectAgent-141:ctx-b620b339)
Scheduled HAWork[18-Stop-55-Stopping-Scheduled]
> 2014-01-04 00:08:26,516 INFO  [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-0:ctx-ba90e0a2
work-18) Processing HAWork[18-Stop-55-Stopping-Scheduled]
> 2014-01-04 00:08:26,526 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-138:ctx-8396d3c9)
Done executing org.apache.cloudstack.api.command.user.vm.DestroyVMCmd for job-388
> 2014-01-04 00:08:26,531 INFO  [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-0:ctx-ba90e0a2
work-18) Stopping VM[DomainRouter|r-55-QA]
> 2014-01-04 00:08:26,532 ERROR [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-0:ctx-ba90e0a2
work-18) Terminating HAWork[18-Stop-55-Stopping-Scheduled]
> java.lang.NullPointerException
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1268)
>         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-04 00:08:26,543 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-138:ctx-8396d3c9)
Remove job-388 from job monitoring
> 2014-01-04 00:08:26,558 DEBUG [c.c.v.VirtualMachineManagerImpl] (DirectAgent-141:ctx-b620b339)
VM i-42-58-QA: cs state = Running and realState = Running
> 2014-01-04 00:08:26,558 DEBUG [c.c.v.VirtualMachineManagerImpl] (DirectAgent-141:ctx-b620b339)
VM i-42-58-QA: cs state = Running and realState = Running
> 2014-01-04 00:08:26,575 DEBUG [c.c.v.VirtualMachineManagerImpl] (DirectAgent-141:ctx-b620b339)
Both states are Running for VM[User|QA-0db5b5c0-b8d3-4c75-a46f-c3b7146d5e37]
> 2014-01-04 00:08:26,577 DEBUG [c.c.c.CapacityManagerImpl] (DirectAgent-141:ctx-b620b339)
VM state transitted from :Running to Running with event: AgentReportRunningvm's original host
id: 2 new host id: 2 host id before state transition: 2



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

Mime
View raw message