cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9604) Root disk resize support for VMware and XenServer
Date Wed, 01 Mar 2017 09:21:45 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15889833#comment-15889833
] 

ASF GitHub Bot commented on CLOUDSTACK-9604:
--------------------------------------------

Github user borisstoyanov commented on the issue:

    https://github.com/apache/cloudstack/pull/1813
  
    It's a NPE
    ```
    2017-03-01 09:18:09,343 INFO  [c.c.h.v.r.VmwareResource] (DirectAgentCronJob-70:ctx-46e74661)
(logid:9541e85e) Scan hung worker VM to recycle
    2017-03-01 09:18:09,399 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgentCronJob-70:ctx-46e74661)
(logid:9541e85e) Ping from 2(10.2.2.88)
    2017-03-01 09:18:09,399 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661)
(logid:9541e85e) Process host VM state report from ping process. host: 2
    2017-03-01 09:18:09,403 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661)
(logid:9541e85e) Process VM state report. host: 2, number of records in report: 2
    2017-03-01 09:18:09,403 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661)
(logid:9541e85e) VM state report. host: 2, vm id: 1, power state: PowerOn
    2017-03-01 09:18:09,405 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661)
(logid:9541e85e) VM power state does not change, skip DB writing. vm id: 1
    2017-03-01 09:18:09,405 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661)
(logid:9541e85e) VM state report. host: 2, vm id: 2, power state: PowerOn
    2017-03-01 09:18:09,407 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661)
(logid:9541e85e) VM power state does not change, skip DB writing. vm id: 2
    2017-03-01 09:18:09,409 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgentCronJob-70:ctx-46e74661)
(logid:9541e85e) Done with process of VM state report. host: 2
    2017-03-01 09:18:10,686 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-7fe352c2) (logid:5171a11d)
HostOutOfBandManagementStatsCollector is running...
    2017-03-01 09:18:11,018 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-11:null)
(logid:) SeqA 3-119: Processing Seq 3-119:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11,
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n  \"connections\":
[]\n}","wait":0}}] }
    2017-03-01 09:18:11,023 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-11:null)
(logid:) SeqA 3-119: Sending Seq 3-119:  { Ans: , MgmtId: 7222893545287, via: 3, Ver: v1,
Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
    2017-03-01 09:18:11,571 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-10:null)
(logid:) Ping from 4(s-2-VM)
    2017-03-01 09:18:11,755 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null)
(logid:) Ping from 3(v-1-VM)
    ^[[1;9D2017-03-01 09:18:14,974 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-d9c806b4)
(logid:1458d11b) Begin cleanup expired async-jobs
    2017-03-01 09:18:14,980 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-d9c806b4)
(logid:1458d11b) End cleanup expired async-jobs
    2017-03-01 09:18:15,320 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-4ff63676)
(logid:883b6d34) Found 0 routers to update status.
    2017-03-01 09:18:15,321 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-4ff63676)
(logid:883b6d34) Found 0 VPC networks to update Redundant State.
    2017-03-01 09:18:15,322 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-4ff63676)
(logid:883b6d34) Found 0 networks to update RvR status.
    2017-03-01 09:18:15,687 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-0d6666d9) (logid:51552762)
HostOutOfBandManagementStatsCollector is running...
    2017-03-01 09:18:17,306 DEBUG [c.c.a.ApiServlet] (catalina-exec-7:ctx-353f8336) (logid:0d215557)
===START===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=listDomains&signature=taHWwbdB2MfrjDaU2iur%2FdKK3ew%3D&response=json
    2017-03-01 09:18:17,321 DEBUG [c.c.a.ApiServlet] (catalina-exec-7:ctx-353f8336 ctx-ac65f9a7
ctx-2f0b4e99) (logid:0d215557) ===END===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=listDomains&signature=taHWwbdB2MfrjDaU2iur%2FdKK3ew%3D&response=json
    2017-03-01 09:18:17,328 DEBUG [c.c.a.ApiServlet] (catalina-exec-6:ctx-3f88e3d1) (logid:b5e4e800)
===START===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&name=pr1813-t920-vmware-60u2&command=listZones&signature=2WSEhLiR742m7RumG99EfWta9xU%3D&response=json
    2017-03-01 09:18:17,339 DEBUG [c.c.a.ApiServlet] (catalina-exec-6:ctx-3f88e3d1 ctx-e7fcbc14
ctx-77e33e86) (logid:b5e4e800) ===END===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&name=pr1813-t920-vmware-60u2&command=listZones&signature=2WSEhLiR742m7RumG99EfWta9xU%3D&response=json
    2017-03-01 09:18:17,345 DEBUG [c.c.a.ApiServlet] (catalina-exec-8:ctx-0314b81f) (logid:3d207800)
===START===  10.5.0.15 -- GET  zoneid=a23fe774-1e1f-4f99-819b-59402e8b9e1f&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=listTemplates&signature=eCa1ddhjAhy7hVfbUE7%2BxrunO%2Bc%3D&templatefilter=featured&response=json
    2017-03-01 09:18:17,370 DEBUG [c.c.a.ApiServlet] (catalina-exec-8:ctx-0314b81f ctx-99598998
ctx-89e4a97a) (logid:3d207800) ===END===  10.5.0.15 -- GET  zoneid=a23fe774-1e1f-4f99-819b-59402e8b9e1f&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=listTemplates&signature=eCa1ddhjAhy7hVfbUE7%2BxrunO%2Bc%3D&templatefilter=featured&response=json
    2017-03-01 09:18:17,378 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-582fed22) (logid:3582e970)
===START===  10.5.0.15 -- GET  username=test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1&domainid=453ab518-fe5d-11e6-aca0-0691b6010747&firstname=Test&lastname=User&response=json&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=createAccount&accounttype=0&signature=dJtcrKgeDTSQg4IdZfLCbGNzNHQ%3D&email=test%40test.com
    2017-03-01 09:18:17,387 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-12:ctx-582fed22
ctx-d56720d2 ctx-bd479fc0) (logid:3582e970) Access granted to Acct[fe2151d8-bac7-4daf-a8d8-b209f7299b3f-admin]
to Domain:1/ by AffinityGroupAccessChecker
    2017-03-01 09:18:17,411 DEBUG [c.c.n.s.SecurityGroupManagerImpl] (catalina-exec-12:ctx-582fed22
ctx-d56720d2 ctx-bd479fc0) (logid:3582e970) Created security group com.cloud.network.security.SecurityGroupVO$$EnhancerByCGLIB$$8bc5e083@e6ca79b
for account id=7
    2017-03-01 09:18:17,411 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-12:ctx-582fed22
ctx-d56720d2 ctx-bd479fc0) (logid:3582e970) Creating user: test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1,
accountId: 7 timezone:null
    2017-03-01 09:18:18,013 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-582fed22 ctx-d56720d2
ctx-bd479fc0) (logid:3582e970) ===END===  10.5.0.15 -- GET  username=test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1&domainid=453ab518-fe5d-11e6-aca0-0691b6010747&firstname=Test&lastname=User&response=json&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=createAccount&accounttype=0&signature=dJtcrKgeDTSQg4IdZfLCbGNzNHQ%3D&email=test%40test.com
    2017-03-01 09:18:18,021 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-60c17ff0) (logid:6062a4f8)
===START===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&cpunumber=1&memory=256&cpuspeed=100&response=json&name=Small+Instance&command=createServiceOffering&signature=0va5l21RrvsdoUMRveBUA01dUBY%3D&displaytext=Small+Instance
    2017-03-01 09:18:18,047 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-60c17ff0 ctx-4b3e1328
ctx-8426f85d) (logid:6062a4f8) ===END===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&cpunumber=1&memory=256&cpuspeed=100&response=json&name=Small+Instance&command=createServiceOffering&signature=0va5l21RrvsdoUMRveBUA01dUBY%3D&displaytext=Small+Instance
    2017-03-01 09:18:18,055 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-c0aa3c83) (logid:67a697b4)
===START===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&name=vmware.create.full.clone&command=listConfigurations&signature=5GR9jeIS53aUohZyDENqKm6iEUY%3D&response=json
    2017-03-01 09:18:18,065 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-c0aa3c83 ctx-50b9689a
ctx-e556d65d) (logid:67a697b4) ===END===  10.5.0.15 -- GET  apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&name=vmware.create.full.clone&command=listConfigurations&signature=5GR9jeIS53aUohZyDENqKm6iEUY%3D&response=json
    2017-03-01 09:18:18,073 DEBUG [c.c.a.ApiServlet] (catalina-exec-13:ctx-20b0b79f) (logid:7aab82c4)
===START===  10.5.0.15 -- GET  domainid=453ab518-fe5d-11e6-aca0-0691b6010747&zoneid=a23fe774-1e1f-4f99-819b-59402e8b9e1f&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&details%5B0%5D.rootdisksize=4&serviceofferingid=05e127b6-295f-42cb-8f24-92f4a21f9ef7&displayname=Test+VM&templateid=45408b07-fe5d-11e6-aca0-0691b6010747&response=json&account=test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1&name=testvm&command=deployVirtualMachine&signature=lKnwdyRxNKaX1V%2FSQITX4oJqT%2BY%3D
    2017-03-01 09:18:18,097 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Access granted to Acct[2390b592-48b0-4ce3-98fa-d3882bc2bbc4-test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1]
to org.apache.cloudstack.quota.vo.ServiceOfferingVO$$EnhancerByCGLIB$$7097b69d@3371bbc8 by
AffinityGroupAccessChecker
    2017-03-01 09:18:18,098 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Access granted to Acct[2390b592-48b0-4ce3-98fa-d3882bc2bbc4-test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1]
to null by AffinityGroupAccessChecker
    2017-03-01 09:18:18,105 DEBUG [c.c.v.UserVmManagerImpl] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Creating network for account Acct[2390b592-48b0-4ce3-98fa-d3882bc2bbc4-test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1]
from the network offering id=8 as a part of deployVM process
    2017-03-01 09:18:18,125 DEBUG [c.c.n.g.BigSwitchBcfGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network, the physical
isolation type is not BCF_SEGMENT
    2017-03-01 09:18:18,126 DEBUG [o.a.c.n.c.m.ContrailGuru] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network
    2017-03-01 09:18:18,126 DEBUG [c.c.n.g.MidoNetGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) design called
    2017-03-01 09:18:18,127 DEBUG [c.c.n.g.MidoNetGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network, the physical
isolation type is not MIDO
    2017-03-01 09:18:18,127 DEBUG [c.c.n.g.NiciraNvpGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network
    2017-03-01 09:18:18,128 DEBUG [o.a.c.n.o.OpendaylightGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network
    2017-03-01 09:18:18,129 DEBUG [c.c.n.g.OvsGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network
    2017-03-01 09:18:18,154 DEBUG [o.a.c.n.g.SspGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) SSP not configured to be active
    2017-03-01 09:18:18,155 DEBUG [c.c.n.g.BrocadeVcsGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design this network
    2017-03-01 09:18:18,156 DEBUG [c.c.n.g.NuageVspGuestNetworkGuru] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Refusing to design network using network offering
8 on physical network 201
    2017-03-01 09:18:18,157 DEBUG [o.a.c.e.o.NetworkOrchestrator] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Releasing lock for Acct[2390b592-48b0-4ce3-98fa-d3882bc2bbc4-test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1]
    2017-03-01 09:18:18,198 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Access to Tmpl[7-OVA-centos53-x64 granted to Acct[2390b592-48b0-4ce3-98fa-d3882bc2bbc4-test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1]
by DomainChecker
    2017-03-01 09:18:18,200 DEBUG [c.c.n.NetworkModelImpl] (catalina-exec-13:ctx-20b0b79f
ctx-dd2094ae ctx-db23f217) (logid:7aab82c4) Service SecurityGroup is not supported in the
network id=207
    2017-03-01 09:18:18,211 ERROR [c.c.a.ApiServer] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae
ctx-db23f217) (logid:7aab82c4) unhandled exception executing api command: [Ljava.lang.String;@6bc2855c
    java.lang.NullPointerException
    	at com.cloud.vm.UserVmManagerImpl.validateRootDiskResize(UserVmManagerImpl.java:3615)
    	at com.cloud.vm.UserVmManagerImpl$4.doInTransaction(UserVmManagerImpl.java:3524)
    	at com.cloud.vm.UserVmManagerImpl$4.doInTransaction(UserVmManagerImpl.java:3483)
    	at com.cloud.utils.db.Transaction.execute(Transaction.java:40)
    	at com.cloud.vm.UserVmManagerImpl.commitUserVm(UserVmManagerImpl.java:3483)
    	at com.cloud.vm.UserVmManagerImpl.createVirtualMachine(UserVmManagerImpl.java:3421)
    	at com.cloud.vm.UserVmManagerImpl.createAdvancedVirtualMachine(UserVmManagerImpl.java:3076)
    	at com.cloud.vm.UserVmManagerImpl.createVirtualMachine(UserVmManagerImpl.java:4431)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
    	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
    	at com.sun.proxy.$Proxy205.createVirtualMachine(Unknown Source)
    	at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.create(DeployVMCmd.java:475)
    	at com.cloud.api.dispatch.CommandCreationWorker.handle(CommandCreationWorker.java:47)
    	at com.cloud.api.dispatch.DispatchChain.dispatch(DispatchChain.java:37)
    	at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:84)
    	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:633)
    	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:533)
    	at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:299)
    	at com.cloud.api.ApiServlet$1.run(ApiServlet.java:129)
    	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.api.ApiServlet.processRequest(ApiServlet.java:126)
    	at com.cloud.api.ApiServlet.doGet(ApiServlet.java:88)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
    	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
    	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
    	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1749)
    	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1708)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    	at java.lang.Thread.run(Thread.java:745)
    2017-03-01 09:18:18,217 DEBUG [c.c.a.ApiServlet] (catalina-exec-13:ctx-20b0b79f ctx-dd2094ae
ctx-db23f217) (logid:7aab82c4) ===END===  10.5.0.15 -- GET  domainid=453ab518-fe5d-11e6-aca0-0691b6010747&zoneid=a23fe774-1e1f-4f99-819b-59402e8b9e1f&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&details%5B0%5D.rootdisksize=4&serviceofferingid=05e127b6-295f-42cb-8f24-92f4a21f9ef7&displayname=Test+VM&templateid=45408b07-fe5d-11e6-aca0-0691b6010747&response=json&account=test-TestDeployVM-test_00_deploy_vm_root_resize-H884W1&name=testvm&command=deployVirtualMachine&signature=lKnwdyRxNKaX1V%2FSQITX4oJqT%2BY%3D
    2017-03-01 09:18:18,231 DEBUG [c.c.a.ApiServlet] (catalina-exec-20:ctx-16da7da8) (logid:8229a703)
===START===  10.5.0.15 -- GET  signature=kewlI6SVSftW0OEWz5T38gfnfXs%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=deleteServiceOffering&id=05e127b6-295f-42cb-8f24-92f4a21f9ef7&response=json
    2017-03-01 09:18:18,250 DEBUG [c.c.a.ApiServlet] (catalina-exec-20:ctx-16da7da8 ctx-e6e95c11
ctx-5f1915a0) (logid:8229a703) ===END===  10.5.0.15 -- GET  signature=kewlI6SVSftW0OEWz5T38gfnfXs%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=deleteServiceOffering&id=05e127b6-295f-42cb-8f24-92f4a21f9ef7&response=json
    2017-03-01 09:18:18,356 DEBUG [c.c.a.ApiServlet] (catalina-exec-21:ctx-ae1b9b13) (logid:0feaf955)
===START===  10.5.0.15 -- GET  signature=qrxpW2IpF0oJ1Kwn%2B0SUKou9Dlc%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=deleteAccount&id=2390b592-48b0-4ce3-98fa-d3882bc2bbc4&response=json
    2017-03-01 09:18:18,404 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-26:ctx-f832aefd
job-32) (logid:f83b3aa2) Add job-32 into job monitoring
    2017-03-01 09:18:18,407 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-21:ctx-ae1b9b13
ctx-124b1530 ctx-f26206d5) (logid:0feaf955) submit async job-32, details: AsyncJobVO {id:32,
userId: 2, accountId: 2, instanceType: Account, instanceId: 7, cmd: org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd,
cmdInfo: {"apiKey":"LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q","signature":"qrxpW2IpF0oJ1Kwn+0SUKou9Dlc\u003d","response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"100","id":"2390b592-48b0-4ce3-98fa-d3882bc2bbc4","ctxDetails":"{\"interface
com.cloud.user.Account\":\"2390b592-48b0-4ce3-98fa-d3882bc2bbc4\"}","ctxAccountId":"2","uuid":"2390b592-48b0-4ce3-98fa-d3882bc2bbc4","cmdEventType":"ACCOUNT.DELETE"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
7222893545287, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
    2017-03-01 09:18:18,408 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32) (logid:1bfa9c1c) Executing AsyncJobVO {id:32, userId: 2, accountId: 2, instanceType:
Account, instanceId: 7, cmd: org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd,
cmdInfo: {"apiKey":"LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q","signature":"qrxpW2IpF0oJ1Kwn+0SUKou9Dlc\u003d","response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"100","id":"2390b592-48b0-4ce3-98fa-d3882bc2bbc4","ctxDetails":"{\"interface
com.cloud.user.Account\":\"2390b592-48b0-4ce3-98fa-d3882bc2bbc4\"}","ctxAccountId":"2","uuid":"2390b592-48b0-4ce3-98fa-d3882bc2bbc4","cmdEventType":"ACCOUNT.DELETE"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
7222893545287, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
    2017-03-01 09:18:18,409 DEBUG [c.c.a.ApiServlet] (catalina-exec-21:ctx-ae1b9b13 ctx-124b1530
ctx-f26206d5) (logid:0feaf955) ===END===  10.5.0.15 -- GET  signature=qrxpW2IpF0oJ1Kwn%2B0SUKou9Dlc%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=deleteAccount&id=2390b592-48b0-4ce3-98fa-d3882bc2bbc4&response=json
    2017-03-01 09:18:18,415 DEBUG [c.c.a.ApiServlet] (catalina-exec-25:ctx-1d288866) (logid:a1643b9d)
===START===  10.5.0.15 -- GET  signature=Asu71VgaUSbbaOeroRnSh7LQdo0%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=queryAsyncJobResult&response=json&jobid=1bfa9c1c-b38b-4c7b-b0db-f31437018255
    2017-03-01 09:18:18,428 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Removed account 7
    2017-03-01 09:18:18,438 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Successfully deleted snapshots directories for all volumes
under account 7 across all zones
    2017-03-01 09:18:18,443 DEBUG [c.c.a.ApiServlet] (catalina-exec-25:ctx-1d288866 ctx-dcb9d779
ctx-efe63cf8) (logid:a1643b9d) ===END===  10.5.0.15 -- GET  signature=Asu71VgaUSbbaOeroRnSh7LQdo0%3D&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=queryAsyncJobResult&response=json&jobid=1bfa9c1c-b38b-4c7b-b0db-f31437018255
    2017-03-01 09:18:18,445 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Expunging # of vms (accountId=7): 0
    2017-03-01 09:18:18,463 INFO  [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) deleteAccount: Deleted 1 network groups for account
7
    2017-03-01 09:18:18,464 INFO  [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) deleteAccount: Deleted 0 affinity groups for account
7
    2017-03-01 09:18:18,464 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Deleting networks for account 7
    2017-03-01 09:18:18,469 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Network is already shutdown: Ntwk[207|Guest|8]
    2017-03-01 09:18:18,472 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Releasing 0 port forwarding rules for network id=207
    2017-03-01 09:18:18,473 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Releasing 0 static nat rules for network id=207
    2017-03-01 09:18:18,474 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) There are no port forwarding rules to apply for network
id=207
    2017-03-01 09:18:18,475 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) There are no static nat rules to apply for network id=207
    2017-03-01 09:18:18,477 DEBUG [c.c.n.r.RulesManagerImpl] (API-Job-Executor-26:ctx-f832aefd
job-32 ctx-96a4e7a5) (logid:1bfa9c1c) Successfully released rules for network id=207 and #
of rules now = 0
    
    ```
    @priyankparihar @serg38 
    Still have the environment let me know if you want me to try something.


> Root disk resize support for VMware and XenServer
> -------------------------------------------------
>
>                 Key: CLOUDSTACK-9604
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9604
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Priyank Parihar
>            Assignee: Priyank Parihar
>         Attachments: 1.png, 2.png, 3.png
>
>
> Currently the root size of an instance is locked to that of the template. This creates
unnecessary template duplicates, prevents the creation of a market place, wastes time and
disk space and generally makes work more complicated.
> Real life example - a small VPS provider might want to offer the following sizes (in
GB):
> 10,20,40,80,160,240,320,480,620
> That's 9 offerings.
> The template selection could look like this, including real disk space used:
> Windows 2008 ~10GB
> Windows 2008+Plesk ~15GB
> Windows 2008+MSSQL ~15GB
> Windows 2012 ~10GB
> Windows 2012+Plesk ~15GB
> Windows 2012+MSSQL ~15GB
> CentOS ~1GB
> CentOS+CPanel ~3GB
> CentOS+Virtualmin ~3GB
> CentOS+Zimbra ~3GB
> CentOS+Docker ~2GB
> Debian ~1GB
> Ubuntu LTS ~1GB
> In this case the total disk space used by templates will be 828 GB, that's almost 1 TB.
If your storage is expensive and limited SSD this can get painful!
> If the root resize feature is enabled we can reduce this to under 100 GB.
> Specifications and Description 
>     Administrators don't want to deploy duplicate OS templates of differing sizes just
to support different storage packages. Instead, the VM deployment can accept a size for the
root disk and adjust the template clone accordingly. In addition, CloudStack already supports
data disk resizing for existing volumes, we can extend that functionality to resize existing
root disks. 
>   As mentioned, we can leverage the existing design for resizing an existing volume.
The difference with root volumes is that we can't resize via disk offering, therefore we need
to verify that no disk offering was passed, just a size. The existing enforcements of new
size > existing size will still server their purpose.
>    For deployment-based resize (ROOT volume size different from template size), we pass
the rootdisksize parameter when the existing code allocates the root volume. In the process,
we validate that the root disk size is > existing template size, and non-zero. This will
persist the root volume as the desired size regardless of whether or not the VM is started
on deploy. Then hypervisor specific code needs to be made to pay attention to the VolumeObjectTO's
size attribute and use that when doing the work of cloning from template, rather than inheriting
the template's size. This can be implemented one hypervisor at a time, and as such there needs
to be a check in UserVmManagerImpl to fail unsupported hypervisors with InvalidParameterValueException
when the rootdisksize is passed.
>    
> Hypervisor specific changes
> XenServer
> Resize ROOT volume is only supported for stopped VMs
> Newly created ROOT volume will be resized after clone from template
> VMware  
> Resize ROOT volume is only supported for stopped VMs.
> New size should be large then the previous size.
> Newly created ROOT volume will be resized after clone from template iff
>  There is no root disk chaining.(means use Full clone)
> And Root Disk controller setting is not  IDE.
> Previously created Root Volume could be resized iif
> There is no root disk chaining.
> And Root Disk controller setting is not  IDE.
> Web Services APIs
> resizeVolume API call will not change, but it will accept volume UUIDs of root volumes
in id parameter for resizing.
> deployVirtualMachine API call will allow new rootdisksize parameter to be passed. This
parameter will be used as the disk size (in GB) when cloning from template.
> UI
> 1) (refer attached image 1) shows UI that resize volume option is added for ROOT disks.
> 2) (refer attached image 2) when user calls the resize volume on ROOT volume. Here only
size option is shown. For DATADISK disk offerings are shown.
> 3) (refer attached image 3) when user deploys VM. New option for Root disk size is added.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message