[jira] [Commented] (CLOUDSTACK-6575) Deploy VM failed with NPE while using custom compute offering

2014-11-10 Thread Jayashree Ramamoorthy (JIRA)

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

Jayashree Ramamoorthy commented on CLOUDSTACK-6575:
---

Issue not seen with the latest build – Created a custom offering and created a 
VM using that custom offering. VM came up fine without any exceptions

> Deploy VM failed with NPE while using custom compute offering 
> --
>
> Key: CLOUDSTACK-6575
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6575
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.4.0
>Reporter: Sailaja Mada
>Assignee: Saksham Srivastava
>Priority: Critical
> Fix For: 4.4.0
>
> Attachments: logs.zip
>
>
> Steps:
> 1. Install and configure Adv zone using Xen 6.2.5 Hypervisor 
> 2. Create Compute offering with Custom option enabled
> 3.  Deploy VM using Default Cent OS template using Customer option enabled 
> Compute offering with CPU=1, Memory=2000 , Speed = 500 
> Observation: 
> Deploy VM failed with NPE while using custom compute offering 
> API call:
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to service offering:13 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to disk offering:4 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Tmpl[5-VHD-centos56-x86_64-xen} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,335 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,373 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Ntwk[91973ed0-97f6-47bf-94ea-25751da81ae9|Guest|8]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,412 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,437 ERROR 

[jira] [Commented] (CLOUDSTACK-6575) Deploy VM failed with NPE while using custom compute offering

2014-05-15 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-6575:
-

Commit 84135cd302ab5fb944a28e73b394d02a8d1c17e2 in cloudstack's branch 
refs/heads/4.4-forward from [~saksham]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=84135cd ]

CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering


> Deploy VM failed with NPE while using custom compute offering 
> --
>
> Key: CLOUDSTACK-6575
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6575
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.4.0
>Reporter: Sailaja Mada
>Priority: Critical
> Fix For: 4.4.0
>
> Attachments: logs.zip
>
>
> Steps:
> 1. Install and configure Adv zone using Xen 6.2.5 Hypervisor 
> 2. Create Compute offering with Custom option enabled
> 3.  Deploy VM using Default Cent OS template using Customer option enabled 
> Compute offering with CPU=1, Memory=2000 , Speed = 500 
> Observation: 
> Deploy VM failed with NPE while using custom compute offering 
> API call:
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to service offering:13 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to disk offering:4 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Tmpl[5-VHD-centos56-x86_64-xen} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,335 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,373 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Ntwk[91973ed0-97f6-47bf-94ea-25751da81ae9|Guest|8]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,412 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f

[jira] [Commented] (CLOUDSTACK-6575) Deploy VM failed with NPE while using custom compute offering

2014-05-15 Thread Animesh Chaturvedi (JIRA)

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

Animesh Chaturvedi commented on CLOUDSTACK-6575:


Did you ask Daan for cherry-pick?

> Deploy VM failed with NPE while using custom compute offering 
> --
>
> Key: CLOUDSTACK-6575
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6575
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.4.0
>Reporter: Sailaja Mada
>Assignee: Saksham Srivastava
>Priority: Critical
> Fix For: 4.4.0
>
> Attachments: logs.zip
>
>
> Steps:
> 1. Install and configure Adv zone using Xen 6.2.5 Hypervisor 
> 2. Create Compute offering with Custom option enabled
> 3.  Deploy VM using Default Cent OS template using Customer option enabled 
> Compute offering with CPU=1, Memory=2000 , Speed = 500 
> Observation: 
> Deploy VM failed with NPE while using custom compute offering 
> API call:
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to service offering:13 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to disk offering:4 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Tmpl[5-VHD-centos56-x86_64-xen} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,335 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,373 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Ntwk[91973ed0-97f6-47bf-94ea-25751da81ae9|Guest|8]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,412 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,437 ERROR [c.c.a.ApiServer] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) unhandled exception executing 
> api command: [Ljava.lan

[jira] [Commented] (CLOUDSTACK-6575) Deploy VM failed with NPE while using custom compute offering

2014-05-14 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-6575:
-

Commit b8adb96ae1d1ce0066ce8c937fa0e15434c4acc4 in cloudstack's branch 
refs/heads/master from [~saksham]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b8adb96 ]

CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering


> Deploy VM failed with NPE while using custom compute offering 
> --
>
> Key: CLOUDSTACK-6575
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6575
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.4.0
>Reporter: Sailaja Mada
>Priority: Critical
> Fix For: 4.4.0
>
> Attachments: logs.zip
>
>
> Steps:
> 1. Install and configure Adv zone using Xen 6.2.5 Hypervisor 
> 2. Create Compute offering with Custom option enabled
> 3.  Deploy VM using Default Cent OS template using Customer option enabled 
> Compute offering with CPU=1, Memory=2000 , Speed = 500 
> Observation: 
> Deploy VM failed with NPE while using custom compute offering 
> API call:
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to service offering:13 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to disk offering:4 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Tmpl[5-VHD-centos56-x86_64-xen} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,335 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,373 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Ntwk[91973ed0-97f6-47bf-94ea-25751da81ae9|Guest|8]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,412 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fd

[jira] [Commented] (CLOUDSTACK-6575) Deploy VM failed with NPE while using custom compute offering

2014-05-14 Thread Saksham Srivastava (JIRA)

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

Saksham Srivastava commented on CLOUDSTACK-6575:


Available for review at: https://reviews.apache.org/r/21156/

> Deploy VM failed with NPE while using custom compute offering 
> --
>
> Key: CLOUDSTACK-6575
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6575
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.4.0
>Reporter: Sailaja Mada
>Priority: Critical
> Fix For: 4.4.0
>
> Attachments: logs.zip
>
>
> Steps:
> 1. Install and configure Adv zone using Xen 6.2.5 Hypervisor 
> 2. Create Compute offering with Custom option enabled
> 3.  Deploy VM using Default Cent OS template using Customer option enabled 
> Compute offering with CPU=1, Memory=2000 , Speed = 500 
> Observation: 
> Deploy VM failed with NPE while using custom compute offering 
> API call:
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to service offering:13 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to disk offering:4 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Tmpl[5-VHD-centos56-x86_64-xen} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,335 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,373 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Ntwk[91973ed0-97f6-47bf-94ea-25751da81ae9|Guest|8]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,412 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,437 ERROR [c.c.a.ApiServer] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) unhandled exception executing 
> api command: [Ljava.lang.String;@763f4

[jira] [Commented] (CLOUDSTACK-6575) Deploy VM failed with NPE while using custom compute offering

2014-05-11 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-6575:
-

Commit 3943e0ba1c6fc343ac928980bb7309c7256b4e8e in cloudstack's branch 
refs/heads/4.4 from [~saksham]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3943e0b ]

CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering


> Deploy VM failed with NPE while using custom compute offering 
> --
>
> Key: CLOUDSTACK-6575
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6575
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.4.0
>Reporter: Sailaja Mada
>Assignee: Saksham Srivastava
>Priority: Critical
> Fix For: 4.4.0
>
> Attachments: logs.zip
>
>
> Steps:
> 1. Install and configure Adv zone using Xen 6.2.5 Hypervisor 
> 2. Create Compute offering with Custom option enabled
> 3.  Deploy VM using Default Cent OS template using Customer option enabled 
> Compute offering with CPU=1, Memory=2000 , Speed = 500 
> Observation: 
> Deploy VM failed with NPE while using custom compute offering 
> API call:
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to service offering:13 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to disk offering:4 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Tmpl[5-VHD-centos56-x86_64-xen} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,335 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,373 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Ntwk[91973ed0-97f6-47bf-94ea-25751da81ae9|Guest|8]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,412 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted 

[jira] [Commented] (CLOUDSTACK-6575) Deploy VM failed with NPE while using custom compute offering

2014-05-11 Thread Saksham Srivastava (JIRA)

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

Saksham Srivastava commented on CLOUDSTACK-6575:


Yes I had mailed on dev, but I don't think it got delivered.
Let me request again.

> Deploy VM failed with NPE while using custom compute offering 
> --
>
> Key: CLOUDSTACK-6575
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6575
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.4.0
>Reporter: Sailaja Mada
>Assignee: Saksham Srivastava
>Priority: Critical
> Fix For: 4.4.0
>
> Attachments: logs.zip
>
>
> Steps:
> 1. Install and configure Adv zone using Xen 6.2.5 Hypervisor 
> 2. Create Compute offering with Custom option enabled
> 3.  Deploy VM using Default Cent OS template using Customer option enabled 
> Compute offering with CPU=1, Memory=2000 , Speed = 500 
> Observation: 
> Deploy VM failed with NPE while using custom compute offering 
> API call:
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,233 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-19:ctx-b904a14a) ===START===  10.144.6.6 -- GET  
> command=deployVirtualMachine&response=json&sessionkey=TDXLIOmV8uKaEsb9Mr5o96exjw0%3D&zoneid=764d3b82-5f1f-450c-a337-6b1398c472b3&templateid=68e3978c-d1d8-11e3-9149-32588ba65dc8&hypervisor=XenServer&serviceofferingid=d04e17be-e99d-427a-95bf-ed0cbc82520d&details%5B0%5D.cpuNumber=1&details%5B0%5D.cpuSpeed=500&details%5B0%5D.memory=2000&diskofferingid=ac9d944f-6b66-4822-bd97-bde18573caae&iptonetworklist%5B0%5D.networkid=91973ed0-97f6-47bf-94ea-25751da81ae9&displayname=newcent1&name=newcent1&_=1399286122706
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,247 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to service offering:13 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,255 DEBUG [c.c.a.d.ParamProcessWorker] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] to disk offering:4 by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Tmpl[5-VHD-centos56-x86_64-xen} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter displayvm as 
> the caller is not authorized to pass it in
> 2014-05-05 16:04:23,295 DEBUG [o.a.c.a.BaseCmd] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Ignoring paremeter 
> deploymentplanner as the caller is not authorized to pass it in
> 2014-05-05 16:04:23,335 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,373 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Ntwk[91973ed0-97f6-47bf-94ea-25751da81ae9|Guest|8]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,412 DEBUG [c.c.u.AccountManagerImpl] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) Access to 
> {Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1]} granted to 
> Acct[e412bd9a-f443-413d-941f-a2fdf1af6cf3-cdcuser1] by 
> RoleBasedEntityAccessChecker
> 2014-05-05 16:04:23,437 ERROR [c.c.a.ApiServer] 
> (catalina-exec-19:ctx-b904a14a ctx-e989ce28) unhandl