[
https://issues.apache.org/jira/browse/CLOUDSTACK-3921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasanna Santhanam reassigned CLOUDSTACK-3921:
----------------------------------------------
Assignee: Rayees Namathponnan (was: Prasanna Santhanam)
This is what I'm seeing on the latest marvin when doing associateIpAddress:
account=test-TestRecurringSnapshots-8SQI84&domainid=ed4de246-f9a4-11e2-b803-b6c8db337241&zoneid=ab56f278-f891-4cf2-9634-7be49f87d437&apiKey=PcL7NMVcLu-oTbrTZ01SrreNJCKe7rlQsOKNa41Btbt2-Ob34brHyRmIVjZjWvApdW5w0OiZa3GZA8F9TFl6kw&command=associateIpAddress&signature=HFjuzlNc4EFnYShw0UjPonhPULY%3D&response=json
The credential verification is happening correctly and the API call succeeds.
Can you add the API call going through where you see the signature mismatch?
> [Automation] test cases failing; while associating ipaddress to VM
> ------------------------------------------------------------------
>
> Key: CLOUDSTACK-3921
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3921
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation, Test
> Affects Versions: 4.2.0
> Environment: Automation
> Reporter: Rayees Namathponnan
> Assignee: Rayees Namathponnan
> Priority: Blocker
> Fix For: 4.2.0
>
> Attachments: management-server.log.2013-07-29.gz,
> management-server.rar
>
>
> Automation test cases failing while associating ipaddress to VM,
> Seems its happening after below check-in
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=8be9a47542e0ae0f481733ac4ddb6476d0e20a18
> Observed below error
> Error Message
> Execute cmd: associateipaddress failed, due to: errorCode: 401,
> errorText:unable to verify user credentials and/or request signature
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestDeployVM: DEBUG: c8b87303-af9e-44cf-93e1-650c7a4d6894
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in
> run
> self.setUp()
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in
> setUp
> self.setupContext(ancestor)
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in
> setupContext
> try_run(context, names)
> File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in
> try_run
> return func()
> File
> "/Repo_30X/ipcl/cloudstack/test/integration/smoke/test_vm_life_cycle.py",
> line 180, in setUpClass
> mode=cls.services['mode']
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
> 404, in create
> cls.access_ssh_over_nat(apiclient, services, virtual_machine)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
> 289, in access_ssh_over_nat
> services
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
> 1114, in create
> return PublicIPAddress(apiclient.associateIpAddress(cmd).__dict__)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 921, in associateIpAddress
> response = self.connection.marvin_request(command,
> response_type=response, method=method)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
> 222, in marvin_request
> response = jsonHelper.getResultObj(response.json(), response_type)
> File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line
> 148, in getResultObj
> raise cloudstackException.cloudstackAPIException(respname, errMsg)
> Execute cmd: associateipaddress failed, due to: errorCode: 401,
> errorText:unable to verify user credentials and/or request signature
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestDeployVM: DEBUG: c8b87303-af9e-44cf-93e1-650c7a4d6894
> --------------------- >> end captured logging << ---------------------
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira