You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Gaurav Aradhye (JIRA)" <ji...@apache.org> on 2014/09/10 13:53:29 UTC

[jira] [Updated] (CLOUDSTACK-7134) [Automation] Fix the script "test_reset_ssh_keypair.py" - Advanced Zone VM is being deployed in a Basic Zone deployment

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

Gaurav Aradhye updated CLOUDSTACK-7134:
---------------------------------------
    Status: Reviewable  (was: In Progress)

> [Automation] Fix the script "test_reset_ssh_keypair.py" - Advanced Zone VM is being deployed in a Basic Zone deployment
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7134
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7134
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, Test
>    Affects Versions: 4.5.0
>            Reporter: Chandan Purushothama
>            Assignee: Gaurav Aradhye
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> =============
> Error Message:
> =============
> est_01_reset_keypair_normal_user (integration.component.test_reset_ssh_keypair.TestResetSSHKeyUserRights): DEBUG: Response : {jobprocstatus : 0, created : u'2014-07-11T16:46:43+0000', cmd : u'org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin', userid : u'9f654606-08ed-11e4-887d-928d578f5db8', jobstatus : 1, jobid : u'e7c495f1-6324-4253-a453-494e2a36ae02', jobresultcode : 0, jobresulttype : u'object', jobresult : {domain : u'ROOT', domainid : u'7ccbf6bc-08ed-11e4-887d-928d578f5db8', haenable : False, templatename : u'Cent OS Template-9UKJWR', securitygroup : [{egressrule : [], account : u'test-TestResetSSHKeypair-test_01_reset_keypair_normal_user-D073XD', description : u'Default Security Group', tags : [], ingressrule : [], id : u'980df1d5-b24b-4851-b86c-2fd149692a57', name : u'default'}], zoneid : u'ae56b8ba-3fd6-4f63-b71f-32128f86688a', cpunumber : 1, ostypeid : 12, passwordenabled : True, instancename : u'i-150-92-VM', id : u'e391e779-2efe-4c6a-ad1f-e03d0867165f', hostname : u'swordtail', displayvm : True, state : u'Running', guestosid : u'7cd2c9a6-08ed-11e4-887d-928d578f5db8', details : {hypervisortoolsversion : u'xenserver56'}, memory : 128, serviceofferingid : u'5a70bf03-2147-4426-80a9-11d76f658c7b', zonename : u'XenRT-Zone-0', isdynamicallyscalable : False, displayname : u'VM', tags : [], nic : [{networkid : u'd792af3b-8e8d-4830-aa96-0933f42c71a3', macaddress : u'06:95:c6:00:00:12', type : u'Shared', broadcasturi : u'vlan://untagged', traffictype : u'Guest', netmask : u'255.255.240.0', ipaddress : u'10.220.114.151', id : u'1ba07040-dbaa-419e-8941-a7ba6f922676', networkname : u'guestNetworkForBasicZone', gateway : u'10.220.112.1', isdefault : True}], cpuspeed : 100, jobstatus : 0, templateid : u'b9946974-966c-4a74-8c57-c9a55e08542d', password : u'kU8pbbvtg', affinitygroup : [], account : u'test-TestResetSSHKeypair-test_01_reset_keypair_normal_user-D073XD', hostid : u'71c113f0-a559-4c9f-95b0-1bfeec463a9c', name : u'VM-e391e779-2efe-4c6a-ad1f-e03d0867165f', created : u'2014-07-11T16:46:43+0000', hypervisor : u'XenServer', jobid : u'e7c495f1-6324-4253-a453-494e2a36ae02', rootdevicetype : u'ROOT', rootdeviceid : 0, serviceofferingname : u'Tiny Instance', templatedisplaytext : u'Cent OS Template'}, accountid : u'9f6536a2-08ed-11e4-887d-928d578f5db8'}
> test_01_reset_keypair_normal_user (integration.component.test_reset_ssh_keypair.TestResetSSHKeyUserRights): DEBUG: Payload: {'account': u'test-TestResetSSHKeypair-test_01_reset_keypair_normal_user-D073XD', 'domainid': u'7ccbf6bc-08ed-11e4-887d-928d578f5db8', 'zoneid': u'ae56b8ba-3fd6-4f63-b71f-32128f86688a', 'apiKey': u'Ra1mlXzCZU0K1l4MKDWdRbQDU67PCQuRnKYv3hyc-Q8hSvCSFjB32UtifLbS6oYpMeKaf0BCuUidMw0LqZeCMA', 'command': 'associateIpAddress', 'signature': '52qNzGUlB0gK2dd/0r/tdZKGWaE=', 'response': 'json'}
> test_01_reset_keypair_normal_user (integration.component.test_reset_ssh_keypair.TestResetSSHKeyUserRights): DEBUG: ========Sending GET Cmd : associateIpAddress=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.135.73
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?account=test-TestResetSSHKeypair-test_01_reset_keypair_normal_user-D073XD&domainid=7ccbf6bc-08ed-11e4-887d-928d578f5db8&zoneid=ae56b8ba-3fd6-4f63-b71f-32128f86688a&apiKey=Ra1mlXzCZU0K1l4MKDWdRbQDU67PCQuRnKYv3hyc-Q8hSvCSFjB32UtifLbS6oYpMeKaf0BCuUidMw0LqZeCMA&command=associateIpAddress&signature=52qNzGUlB0gK2dd%2F0r%2FtdZKGWaE%3D&response=json HTTP/1.1" 533 129
> test_01_reset_keypair_normal_user (integration.component.test_reset_ssh_keypair.TestResetSSHKeyUserRights): ERROR: Exception:['Traceback (most recent call last):\n', '  File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 308, in __parseAndGetResponse\n    response_cls)\n', '  File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 150, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'CloudstackAPIException: Execute cmd: associateipaddress failed, due to: errorCode: 533, errorText:Insufficient address capacity\n']
> Traceback (most recent call last):
>   File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 308, in __parseAndGetResponse
>     response_cls)
>   File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 150, in getResultObj
>     raise cloudstackException.CloudstackAPIException(respname, errMsg)
> CloudstackAPIException: Execute cmd: associateipaddress failed, due to: errorCode: 533, errorText:Insufficient address capacity
> test_01_reset_keypair_normal_user (integration.component.test_reset_ssh_keypair.TestResetSSHKeyUserRights): ERROR: marvinRequest : CmdName: <marvin.cloudstackAPI.associateIpAddress.associateIpAddressCmd object at 0x2921c10> Exception: ['Traceback (most recent call last):\n', '  File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 375, in marvinRequest\n    raise self.__lastError\n', 'CloudstackAPIException: Execute cmd: associateipaddress failed, due to: errorCode: 533, errorText:Insufficient address capacity\n']
> Traceback (most recent call last):
>   File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 375, in marvinRequest
>     raise self.__lastError
> CloudstackAPIException: Execute cmd: associateipaddress failed, due to: errorCode: 533, errorText:Insufficient address capacity
> test_01_reset_keypair_normal_user (integration.component.test_reset_ssh_keypair.TestResetSSHKeyUserRights): CRITICAL: EXCEPTION: test_01_reset_keypair_normal_user: ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/unittest/case.py", line 332, in run\n    testMethod()\n', '  File "/home/jenkins/workspace/xenrt-reg-basic-xs/cloudstack.git/test/integration/component/test_reset_ssh_keypair.py", line 1104, in test_01_reset_keypair_normal_user\n    mode=self.services["mode"]\n', '  File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/lib/base.py", line 481, in create\n    networkid=cmd.networkids[0] if cmd.networkids else None)\n', '  File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/lib/base.py", line 324, in access_ssh_over_nat\n    networkid=networkid\n', '  File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/lib/base.py", line 1419, in create\n    return PublicIPAddress(apiclient.associateIpAddress(cmd).__dict__)\n', '  File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1019, in associateIpAddress\n    response = self.connection.marvinRequest(command, response_type=response, method=method)\n', '  File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 380, in marvinRequest\n    raise e\n', 'CloudstackAPIException: Execute cmd: associateipaddress failed, due to: errorCode: 533, errorText:Insufficient address capacity\n']
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 332, in run
>     testMethod()
>   File "/home/jenkins/workspace/xenrt-reg-basic-xs/cloudstack.git/test/integration/component/test_reset_ssh_keypair.py", line 1104, in test_01_reset_keypair_normal_user
>     mode=self.services["mode"]
>   File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/lib/base.py", line 481, in create
>     networkid=cmd.networkids[0] if cmd.networkids else None)
>   File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/lib/base.py", line 324, in access_ssh_over_nat
>     networkid=networkid
>   File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/lib/base.py", line 1419, in create
>     return PublicIPAddress(apiclient.associateIpAddress(cmd).__dict__)
>   File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1019, in associateIpAddress
>     response = self.connection.marvinRequest(command, response_type=response, method=method)
>   File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 380, in marvinRequest
>     raise e
> 'Execute cmd: associateipaddress failed, due to: errorCode: 533, errorText:Insufficient address capacity\n-------------------- >> begin captured stdout << ---------------------\n=== TestName: test_01_reset_keypair_normal_user | Status : EXCEPTION ===\n\n\n--------------------- >> end captured stdout << 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)