[jira] [Created] (CLOUDSTACK-6698) listResourceDetals - normal user able to list details not belonging to it
Nitin Mehta created CLOUDSTACK-6698: --- Summary: listResourceDetals - normal user able to list details not belonging to it Key: CLOUDSTACK-6698 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6698 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: Nitin Mehta Priority: Critical Fix For: 4.4.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CLOUDSTACK-6699) listResouceDetails - enhance it to list by (key,value) pair
Nitin Mehta created CLOUDSTACK-6699: --- Summary: listResouceDetails - enhance it to list by (key,value) pair Key: CLOUDSTACK-6699 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6699 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Reporter: Nitin Mehta listResouceDetails - enhance it to list by (key,value) pair. Currently allowing this to only Admin user. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Resolved] (CLOUDSTACK-6679) [Automation] Vm deployment fails with error Could not find suitable Deployment Destination for this VM under any clusters
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sudha Ponnaganti resolved CLOUDSTACK-6679. -- Resolution: Not a Problem See comments from prachi [Automation] Vm deployment fails with error Could not find suitable Deployment Destination for this VM under any clusters --- Key: CLOUDSTACK-6679 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6679 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Automation, Management Server Affects Versions: 4.4.0 Environment: vmware 5.0 4.4-forward Reporter: Rayees Namathponnan Assignee: Rayees Namathponnan Priority: Blocker Fix For: 4.4.0 This issue observed with test case integration.component.test_blocker_bugs.TestTemplate.test_01_create_template This test cases creating template from snapshot and deploying VM, Zone1 is vmware zone, and template created from snapshot of vmware vm, but in DB, its store with type: XenServer mysql select * from vm_template where uuid like 4dce%; +-+--+---+--++--+--+-+--+---++-+-++--++-+---+-+--+-+-+-+-++--+--++--+--+-+--+ | id | unique_name | name | uuid | public | featured | type | hvm | bits | url | format | created | removed | account_id | checksum | display_text | enable_password | enable_sshkey | guest_os_id | bootable | prepopulate | cross_zones | extractable | hypervisor_type | source_template_id | template_tag | sort_key | size | state| update_count | updated | dynamically_scalable | +-+--+---+--++--+--+-+--+---++-+-++--++-+---+-+--+-+-+-+-++--+--++--+--+-+--+ | 214 | 214-116-e52835bf-a537-3f13-aa38-164ba85f5801 | Template from snapshot-607C3Z | 4dcecb05-5930-469a-910c-691518bbafef | 1 |0 | USER | 1 | 64 | http://10.223.243.3/userdata/c583b4ad-81fe-4eab-a76d-74976f055e29.ova | OVA | 2014-05-14 01:31:57 | NULL|116 | 855be0d95c60e7abcd73e54a7ac38038 | Template from snapshot | 1 | 0 | 12 |1 | 0 | 0 | 1 | XenServer | NULL | NULL |0 | 2147483648 | Inactive |0 | NULL|0 | +-+--+---+--++--+--+-+--+---++-+-++--++-+---+-+--+-+-+-+-++--+--++--+--+-+--+ 1 row in set (0.00 sec) mysql select uuid,name,hypervisor_type from snapshots; +--++-+ | uuid | name | hypervisor_type | +--++-+ | cf01419c-7a57-42c9-a3b2-863f4f36c713 |
[jira] [Commented] (CLOUDSTACK-6631) unable to attach new Volume to VM
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14001323#comment-14001323 ] Kazuhiro Ito commented on CLOUDSTACK-6631: -- Thank you for your support. I have three zones. I tested on each zone with Small Disk, 5GB disk offering , but the same results. unable to attach new Volume to VM - Key: CLOUDSTACK-6631 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6631 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Volumes Affects Versions: 4.2.1 Environment: Cloudstack 4.2.1 + KVM on CentOS 6.4 Reporter: Kazuhiro Ito 1. I added new volume. 2. I tried to attach the volume to a VM on UI. 3. It failed and the following log appeared. 2014-05-12 11:29:47,096 DEBUG [cloud.api.ApiServlet] (http-6443-exec-116:null) ===START=== 133.xx.xxx.xxx -- GET command=attachVolumeid=ac7099fb-ac66-4c63-bf1e-ed0e1429f412virtualMachineId=ecdc2c1d-e21e-4c04-962a-4efac1a69a74response=jsonsessionkey=TDcTy%2FQRb5%2F%2Bk28wsjg6BWd6pcA%3D_=1399861774316 2014-05-12 11:29:47,143 DEBUG [cloud.async.AsyncJobManagerImpl] (http-6443-exec-116:null) submit async job-4916 = [ dd8fab57-96aa-446f-8ebd-53c32ce4501a ], details: AsyncJobVO {id:4916, userId: 3, accountId: 3, sessionKey: null, instanceType: Volume, instanceId: 1543, cmd: org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd, cmdOriginator: null, cmdInfo: {response:json,id:ac7099fb-ac66-4c63-bf1e-ed0e1429f412,sessionkey:TDcTy/QRb5/+k28wsjg6BWd6pcA\u003d,cmdEventType:VOLUME.ATTACH,ctxUserId:3,virtualMachineId:ecdc2c1d-e21e-4c04-962a-4efac1a69a74,httpmethod:GET,_:1399861774316,ctxAccountId:3,ctxStartEventId:34276}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 90520731085572, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-05-12 11:29:47,144 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-146:job-4916 = [ dd8fab57-96aa-446f-8ebd-53c32ce4501a ]) Executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd for job-4916 = [ dd8fab57-96aa-446f-8ebd-53c32ce4501a ] 2014-05-12 11:29:47,147 DEBUG [cloud.api.ApiServlet] (http-6443-exec-116:null) ===END=== 133.xx.xxx.xxx -- GET command=attachVolumeid=ac7099fb-ac66-4c63-bf1e-ed0e1429f412virtualMachineId=ecdc2c1d-e21e-4c04-962a-4efac1a69a74response=jsonsessionkey=TDcTy%2FQRb5%2F%2Bk28wsjg6BWd6pcA%3D_=1399861774316 2014-05-12 11:29:47,192 DEBUG [cloud.user.AccountManagerImpl] (Job-Executor-146:job-4916 = [ dd8fab57-96aa-446f-8ebd-53c32ce4501a ]) Access to org.apache.cloudstack.storage.volume.VolumeObject@17178a01 granted to Acct[0bea1cc1-ac60-4fb2-990b-f2dd04a5a329-xxx-x-x] by DomainChecker_EnhancerByCloudStack_9b413459 2014-05-12 11:29:47,192 DEBUG [cloud.user.AccountManagerImpl] (Job-Executor-146:job-4916 = [ dd8fab57-96aa-446f-8ebd-53c32ce4501a ]) Access to VM[User|TEST-A2-VM01] granted to Acct[0bea1cc1-ac60-4fb2-990b-f2dd04a5a329-xxx-x-x] by DomainChecker_EnhancerByCloudStack_9b413459 2014-05-12 11:29:47,212 DEBUG [storage.allocator.LocalStoragePoolAllocator] (Job-Executor-146:job-4916 = [ dd8fab57-96aa-446f-8ebd-53c32ce4501a ]) LocalStoragePoolAllocator trying to find storage pool to fit the vm 2014-05-12 11:29:47,212 DEBUG [storage.allocator.ClusterScopeStoragePoolAllocator] (Job-Executor-146:job-4916 = [ dd8fab57-96aa-446f-8ebd-53c32ce4501a ]) ClusterScopeStoragePoolAllocator looking for storage pool 2014-05-12 11:29:47,212 DEBUG [storage.allocator.ClusterScopeStoragePoolAllocator] (Job-Executor-146:job-4916 = [ dd8fab57-96aa-446f-8ebd-53c32ce4501a ]) Looking for pools in dc: 1 pod:1 cluster:null having tags:[MPI] 2014-05-12 11:29:47,216 DEBUG [storage.allocator.ClusterScopeStoragePoolAllocator] (Job-Executor-146:job-4916 = [ dd8fab57-96aa-446f-8ebd-53c32ce4501a ]) No storage pools available for shared volume allocation, returning 2014-05-12 11:29:47,234 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-146:job-4916 = [ dd8fab57-96aa-446f-8ebd-53c32ce4501a ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd com.cloud.utils.exception.CloudRuntimeException: Caught: SELECT pool.id, SUM(IF(vol.state='Ready' AND vol.account_id = ?, 1, 0)) FROM `cloud`.`storage_pool` pool LEFT JOIN `cloud`.`volumes` vol ON pool.id = vol.pool_id WHERE pool.data_center_id = ? AND pool.pod_id = ? AND pool.cluster_id = ? GROUP BY pool.id ORDER BY 2 ASC at com.cloud.storage.dao.VolumeDaoImpl.listPoolIdsByVolumeCount(VolumeDaoImpl.java:480) at
[jira] [Reopened] (CLOUDSTACK-6612) [Automation] Test cases failing with db connection error
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rayees Namathponnan reopened CLOUDSTACK-6612: - Still hitting same issue with integration.component.test_project_usage/TestVpnUsage/test_01_vpn_usag e/ [Automation] Test cases failing with db connection error - Key: CLOUDSTACK-6612 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6612 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.4.0 Reporter: Rayees Namathponnan Assignee: Gaurav Aradhye Priority: Critical Fix For: 4.4.0 Test caseintegration.component.test_egress_fw_rules.TestEgressFWRules.test_04_1_egress_fr4 (from nosetests) failed with below error requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.195 requests.packages.urllib3.connectionpool: DEBUG: GET /client/api?signature=ylEuPgkfrfJfwrM8fLVEn7SaBNI%3DapiKey=TKG3-LFUFTPhT_OQ9MPrEdI_UpDMgvR07w8NZCUhWlsIKeSPIrnKBNcn0UgWIPIQLhwcTYMD5jyVpJ7oMdc9GAcommand=queryAsyncJobResultresponse=jsonjobid=42c474a9-a4eb-4b5f-8ea0-e46d332e62c5 HTTP/1.1 200 621 test_04_1_egress_fr4 (integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Response : {jobprocstatus : 0, created : u'2014-05-07T18:10:06-0700', cmd : u'org.apache.cloudstack.api.command.user.firewall.CreateEgressFirewallRuleCmd', userid : u'b1d59b38-d616-11e3-a7c8-1a6f7bb0d0a8', jobstatus : 1, jobid : u'42c474a9-a4eb-4b5f-8ea0-e46d332e62c5', jobresultcode : 0, jobresulttype : u'object', jobresult : {networkid : u'72a5c1d3-4120-4139-bef9-4508268d8539', protocol : u'icmp', fordisplay : True, cidrlist : u'10.1.1.0/24', tags : [], icmptype : -1, state : u'Active', icmpcode : -1, id : u'8b12a8ef-01e6-4dac-b995-1081dceffc2c'}, accountid : u'b1d58e04-d616-11e3-a7c8-1a6f7bb0d0a8'} test_04_1_egress_fr4 (integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: ===Jobid:42c474a9-a4eb-4b5f-8ea0-e46d332e62c5 ; StartTime:Wed May 7 14:23:16 2014 ; EndTime:Wed May 7 14:23:22 2014 ; TotalTime:-5=== test_04_1_egress_fr4 (integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Response : {jobprocstatus : 0, created : u'2014-05-07T18:10:06-0700', cmd : u'org.apache.cloudstack.api.command.user.firewall.CreateEgressFirewallRuleCmd', userid : u'b1d59b38-d616-11e3-a7c8-1a6f7bb0d0a8', jobstatus : 1, jobid : u'42c474a9-a4eb-4b5f-8ea0-e46d332e62c5', jobresultcode : 0, jobresulttype : u'object', jobresult : {networkid : u'72a5c1d3-4120-4139-bef9-4508268d8539', protocol : u'icmp', fordisplay : True, cidrlist : u'10.1.1.0/24', tags : [], icmptype : -1, state : u'Active', icmpcode : -1, id : u'8b12a8ef-01e6-4dac-b995-1081dceffc2c'}, accountid : u'b1d58e04-d616-11e3-a7c8-1a6f7bb0d0a8'} test_04_1_egress_fr4 (integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Created rule=8b12a8ef-01e6-4dac-b995-1081dceffc2c test_04_1_egress_fr4 (integration.component.test_egress_fw_rules.TestEgressFWRules): CRITICAL: EXCEPTION: test_04_1_egress_fr4: ['Traceback (most recent call last):\n', ' File /usr/local/lib/python2.7/unittest/case.py, line 318, in run\n testMethod()\n', ' File /Repo_30X/ipcl/cloudstack/test/integration/component/test_egress_fw_rules.py, line 542, in test_04_1_egress_fr4\nqresultset = self.dbclient.execute(select purpose, traffic_type from firewall_rules where uuid=\'%s\'; % self.egressruleid)\n', ' File /usr/local/lib/python2.7/site-packages/marvin/dbConnection.py, line 48, in execute\ndb=str(self.database))) as conn:\n', ' File /usr/local/lib/python2.7/site-packages/mysql/connector/__init__.py, line 98, in connect\nreturn MySQLConnection(*args, **kwargs)\n', ' File /usr/local/lib/python2.7/site-packages/mysql/connector/connection.py, line 118, in __init__\nself.connect(**kwargs)\n', ' File /usr/local/lib/python2.7/site-packages/mysql/connector/connection.py, line 382, in connect\nself._open_connection()\n', ' File /usr/local/lib/python2.7/site-packages/mysql/connector/connection.py, line 349, in _open_connection\nself._ssl)\n', ' File /usr/local/lib/python2.7/site-packages/mysql/connector/connection.py, line 176, in _do_auth\nraise errors.get_exception(packet)\n', ProgrammingError: 1045 (28000): Access denied for user 'root'@'10.223.240.194' (using password: YES)\n] - end captured logging - Stacktrace File /usr/local/lib/python2.7/unittest/case.py, line 318, in run testMethod() File
[jira] [Created] (CLOUDSTACK-6700) [Windows]Give Option to install or not MySql Server along with Main Installer on the same server
Damodar Reddy T created CLOUDSTACK-6700: --- Summary: [Windows]Give Option to install or not MySql Server along with Main Installer on the same server Key: CLOUDSTACK-6700 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6700 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Install and Setup Affects Versions: 4.5.0 Reporter: Damodar Reddy T Assignee: Damodar Reddy T Fix For: 4.5.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CLOUDSTACK-6701) [Windows]Integrate System Seed Template into MSI Installer
Damodar Reddy T created CLOUDSTACK-6701: --- Summary: [Windows]Integrate System Seed Template into MSI Installer Key: CLOUDSTACK-6701 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6701 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Install and Setup Affects Versions: 4.5.0 Reporter: Damodar Reddy T Assignee: Damodar Reddy T Fix For: 4.5.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CLOUDSTACK-6702) [Windows] Give Details to admin in a popup When system properties are changed
Damodar Reddy T created CLOUDSTACK-6702: --- Summary: [Windows] Give Details to admin in a popup When system properties are changed Key: CLOUDSTACK-6702 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6702 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Install and Setup Affects Versions: 4.5.0 Reporter: Damodar Reddy T Assignee: Damodar Reddy T Fix For: 4.5.0 1. Give popups at necessary places to take permission from admin before changing the system properties like environment varibales, firewall rules etc.. 2. Move all titles and descriptions to a property file or move to build properties -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CLOUDSTACK-6703) [Windows] Try to install as a normal java service (Spawn a java thread)
Damodar Reddy T created CLOUDSTACK-6703: --- Summary: [Windows] Try to install as a normal java service (Spawn a java thread) Key: CLOUDSTACK-6703 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6703 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Install and Setup Affects Versions: 4.5.0 Reporter: Damodar Reddy T Assignee: Damodar Reddy T Fix For: 4.5.0 1, Currently it is started as s tomcat service. Instead of that try to spawn a java thread service 2. Try to add Cloud stack Version some where in the service name or in the registry keys -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CLOUDSTACK-6704) [Windows] Localization of the windows installer
Damodar Reddy T created CLOUDSTACK-6704: --- Summary: [Windows] Localization of the windows installer Key: CLOUDSTACK-6704 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6704 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Affects Versions: 4.5.0 Reporter: Damodar Reddy T Assignee: Damodar Reddy T Fix For: 4.5.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CLOUDSTACK-6672) [Automation] NPE observed while listing system vms
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14001388#comment-14001388 ] ASF subversion and git services commented on CLOUDSTACK-6672: - Commit 8bcd2546ac159bbfa778c7a023065a1efc7edd5e in cloudstack's branch refs/heads/4.4-forward from [~murali.reddy] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8bcd254 ] CLOUDSTACK-6672: [Automation] NPE observed while listing system vms fixing NPE [Automation] NPE observed while listing system vms -- Key: CLOUDSTACK-6672 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6672 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: SystemVM Affects Versions: 4.4.0 Environment: EIP/ELB Reporter: Rayees Namathponnan Assignee: Murali Reddy Fix For: 4.4.0 Attachments: management-server.rar This issue is observed in EIP/ELB setup Steps to reproduce 1) Create EIP/ELB setup 2) delete ssvm 3) while creating new SSVM, call list system vm API. listsystem vm api returns NPE 2014-05-14 07:45:53,227 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-3a43fc0b) ===START=== 10.216.51.142 -- GET command=listSystemsresponse=jsonsessionkey=xiNXdhTMhQghYSan%2Bsj60Au015s%3DlistAll=truepage=1pagesize=1_=1400079830040 2014-05-14 07:45:53,236 WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) Received unknown pameters for command listSystemVms. Unknown parameters : listall 2014-05-14 07:45:53,237 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) IAM access check fo2-null-null-DomainResourceCapability from cache: false 2014-05-14 07:45:53,265 ERROR [c.c.a.ApiServer] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) unhandled exception executing api comman [Ljava.lang.String;@2329f184 java.lang.NullPointerException at com.cloud.api.ApiResponseHelper.createSystemVmResponse(ApiResponseHelper.java:1210) at org.apache.cloudstack.api.command.admin.systemvm.ListSystemVMsCmd.execute(ListSystemVMsCmd.java:136) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:119) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:683) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:506) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118) 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:115) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) 2014-05-14 07:45:53,267 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker]
[jira] [Resolved] (CLOUDSTACK-6672) [Automation] NPE observed while listing system vms
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Murali Reddy resolved CLOUDSTACK-6672. -- Resolution: Fixed [Automation] NPE observed while listing system vms -- Key: CLOUDSTACK-6672 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6672 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: SystemVM Affects Versions: 4.4.0 Environment: EIP/ELB Reporter: Rayees Namathponnan Assignee: Murali Reddy Fix For: 4.4.0 Attachments: management-server.rar This issue is observed in EIP/ELB setup Steps to reproduce 1) Create EIP/ELB setup 2) delete ssvm 3) while creating new SSVM, call list system vm API. listsystem vm api returns NPE 2014-05-14 07:45:53,227 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-3a43fc0b) ===START=== 10.216.51.142 -- GET command=listSystemsresponse=jsonsessionkey=xiNXdhTMhQghYSan%2Bsj60Au015s%3DlistAll=truepage=1pagesize=1_=1400079830040 2014-05-14 07:45:53,236 WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) Received unknown pameters for command listSystemVms. Unknown parameters : listall 2014-05-14 07:45:53,237 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) IAM access check fo2-null-null-DomainResourceCapability from cache: false 2014-05-14 07:45:53,265 ERROR [c.c.a.ApiServer] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) unhandled exception executing api comman [Ljava.lang.String;@2329f184 java.lang.NullPointerException at com.cloud.api.ApiResponseHelper.createSystemVmResponse(ApiResponseHelper.java:1210) at org.apache.cloudstack.api.command.admin.systemvm.ListSystemVMsCmd.execute(ListSystemVMsCmd.java:136) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:119) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:683) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:506) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118) 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:115) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) 2014-05-14 07:45:53,267 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) IAM access check fo2-null-null-SystemCapability from cache: true 2014-05-14 07:45:53,267 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-14:ctx-3a43fc0b ctx-0ec73e61) Root Access granted to Acct[e49832-db1b-11e3-b407-4290361b938f-admin] by RoleBasedEntityAccessChecker 2014-05-14 07:45:53,267 DEBUG