Thanks Sangeetha for confirmation -----Original Message----- From: Sangeetha Hariharan [mailto:sangeetha.hariha...@citrix.com] Sent: Friday, January 18, 2013 10:55 AM To: cloudstack-dev@incubator.apache.org Subject: RE: [ASF41][QA]CLOUDSTACK - 1007
Tested with latest build from "network-refactor" branch: I am able to successfully delete the Shared network that has no Vms assocaiated with it. We are able to stop the router successfully as part of destroying the router. management server logs: 2013-01-18 13:32:46,785 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-2:job-58) Attempting to destroy router 10 2013-01-18 13:32:46,803 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-2:job-58) VM state transitted from :Running to Stopping with event: StopRequestedvm's original host id: 1 new host id: 1 host id before state transition: 1 2013-01-18 13:32:46,821 DEBUG [agent.transport.Request] (Job-Executor-2:job-58) Seq 1-386072589: Sending { Cmd , MgmtId: 206915885081428, via: 1, Ver: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"r-10-VM","wait":0}}] } 2013-01-18 13:32:51,672 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===START=== 10.217.252.59 -- GET command=queryAsyncJobResult&jobId=f38eac22-30aa-4f56-b886-8f9eb3d0a25b&response=json&sessionkey=bgGUZzPWiG2VDGjCsU3oUROHbms%3D&_=1358534197988 2013-01-18 13:32:51,710 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===END=== 10.217.252.59 -- GET command=queryAsyncJobResult&jobId=f38eac22-30aa-4f56-b886-8f9eb3d0a25b&response=json&sessionkey=bgGUZzPWiG2VDGjCsU3oUROHbms%3D&_=1358534197988 2013-01-18 13:32:53,398 DEBUG [agent.transport.Request] (AgentManager-Handler-13:null) Seq 1-386072589: Processing: { Ans: , MgmtId: 206915885081428, via: 1, Ver: v1, Flags: 110, [{"StopAnswer":{"vncPort":0,"result":true,"wait":0}}] } 2013-01-18 13:32:53,399 DEBUG [agent.manager.AgentAttache] (AgentManager-Handler-13:null) Seq 1-386072589: No more commands found 2013-01-18 13:32:53,399 DEBUG [agent.transport.Request] (Job-Executor-2:job-58) Seq 1-386072589: Received: { Ans: , MgmtId: 206915885081428, via: 1, Ver: v1, Flags: 110, { StopAnswer } } 2013-01-18 13:32:53,409 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-2:job-58) Successfully updated user statistics as a part of domR VM[DomainRouter|r-10-VM] reboot/stop 2013-01-18 13:32:53,445 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-2:job-58) VM[DomainRouter|r-10-VM] is stopped on the host. Proceeding to release resource held. Agent.log: 2013-01-18 18:36:44,388 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Request:Seq 1-386072589: { Cmd , MgmtId: 206915885081428, via: 1, Ver: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"r-10-VM","wait":0}}] } 2013-01-18 18:36:44,388 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Processing command: com.cloud.agent.api.StopCommand 2013-01-18 18:36:44,489 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-3:null) Executing: /usr/lib64/cloud/common/scripts/vm/network/security_group.py destroy_network_rules_for_vm --vmname r-10-VM --vif vnet12 2013-01-18 18:36:44,708 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-3:null) Execution is successful. 2013-01-18 18:36:44,709 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-3:null) Try to stop the vm at first 2013-01-18 18:36:50,956 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) Seq 1-386072589: { Ans: , MgmtId: 206915885081428, via: 1, Ver: v1, Flags: 110, [{"StopAnswer":{"vncPort":0,"result":true,"wait":0}}] } 2013-01-18 18:36:51,307 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Request:Seq 1-386072590: { Cmd , MgmtId: 206915885081428, via: 1, Ver: v1, Flags: 100111, [{"storage.DestroyCommand":{"vmName":"r-10-VM","volume":{"id":10,"name":"ROOT-10","mountPoint":"/export/home/sangeetha/asf/primary","path":"bde8865f-aed6-4072-8c2c-43025219cbd7","size":725811200,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"afcf9136-8f08-3361-8328-fac0f471b3e4","deviceId":0},"wait":0}}] } 2013-01-18 18:36:51,307 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing command: com.cloud.agent.api.storage.DestroyCommand 2013-01-18 18:36:51,663 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-4:null) requested delete disk /mnt/afcf9136-8f08-3361-8328-fac0f471b3e4/r-10-VM-patchdisk 2013-01-18 18:36:51,672 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Seq 1-386072590: { Ans: , MgmtId: 206915885081428, via: 1, Ver: v1, Flags: 110, [{"Answer":{"result":true,"details":"Success","wait":0}}] } I will close this issue after I test the account delete scenario as well. -Thanks Sangeetha -----Original Message----- From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com] Sent: Friday, January 18, 2013 10:25 AM To: cloudstack-dev@incubator.apache.org Subject: [ASF41][QA]CLOUDSTACK - 1007 Marcus/Edison, Wanted to check if defect [1] has anything to do with the fix done for Cloudstack - 1011 [1] https://issues.apache.org/jira/browse/CLOUDSTACK-1007 Thanks /sudha