You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Dhananjay D Pathak (JIRA)" <ji...@apache.org> on 2014/02/14 15:19:20 UTC

[jira] [Created] (CLOUDSTACK-6118) [Automation] : test_haproxy.py fails with error as cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Command failed due to Internal Server Error'}

Dhananjay D Pathak created CLOUDSTACK-6118:
----------------------------------------------

             Summary: [Automation] : test_haproxy.py fails with error as cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Command failed due to Internal Server Error'}
                 Key: CLOUDSTACK-6118
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6118
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: marvin
    Affects Versions: 4.2.0
         Environment: CloudPlatform 4.2.0 on Red Hat Enterprise Linux Server release 6.4 (Santiago) 

            Reporter: Dhananjay D Pathak


Marvin Test test_haproxy.py fails with Error as described bellow (log files are attached):


2014-02-06 22:53:40,775 - DEBUG - test_04_delete_lb_rule (integration.component.test_haproxy.TestHAProxyStickyness) - Computed Signature by Marvin: f+H3cgxSThUSgJjAhPXEA9LEdmo=
2014-02-06 22:53:42,712 - DEBUG - test_04_delete_lb_rule (integration.component.test_haproxy.TestHAProxyStickyness) - Request: http://207.19.99.108:8080/client/api?signature=f%2BH3cgxSThUSgJjAhPXEA9LEdmo%3D&apiKey=fvHLVRKfsEQeejLrnRbye4XT4-j_pXMYsJxRYFxqxssppq2y4Txo1XYX2ABZ1qJD-2MNScVw24WT_QYOscA1Zg&command=deleteLoadBalancerRule&id=9bd0142a-665b-41ca-982e-9f899a2e2805&response=json Response: { "deleteloadbalancerruleresponse" : {"jobid":"e4e4b39f-f32a-4a00-8d4d-9cbbe87e9f51"} }
2014-02-06 22:53:42,717 - DEBUG - test_04_delete_lb_rule (integration.component.test_haproxy.TestHAProxyStickyness) - sending GET request: queryAsyncJobResult {'jobid': u'e4e4b39f-f32a-4a00-8d4d-9cbbe87e9f51'}
2014-02-06 22:53:42,720 - DEBUG - test_04_delete_lb_rule (integration.component.test_haproxy.TestHAProxyStickyness) - Computed Signature by Marvin: TvwJ8gqOg8Euk0zKHMF6pveBjBc=
2014-02-06 22:53:44,587 - DEBUG - test_04_delete_lb_rule (integration.component.test_haproxy.TestHAProxyStickyness) - Request: http://207.19.99.108:8080/client/api?signature=TvwJ8gqOg8Euk0zKHMF6pveBjBc%3D&apiKey=fvHLVRKfsEQeejLrnRbye4XT4-j_pXMYsJxRYFxqxssppq2y4Txo1XYX2ABZ1qJD-2MNScVw24WT_QYOscA1Zg&command=queryAsyncJobResult&response=json&jobid=e4e4b39f-f32a-4a00-8d4d-9cbbe87e9f51 Response: { "queryasyncjobresultresponse" : {"accountid":"1baaca47-2cfa-11e3-a4f0-f245a5b3ba0f","userid":"1bab389c-2cfa-11e3-a4f0-f245a5b3ba0f","cmd":"org.apache.cloudstack.api.command.user.loadbalancer.DeleteLoadBalancerRuleCmd","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcode":530,"errortext":"Command failed due to Internal Server Error"},"created":"2014-02-06T12:23:01-0500","jobid":"e4e4b39f-f32a-4a00-8d4d-9cbbe87e9f51"} }
2014-02-06 22:53:44,596 - CRITICAL - test_04_delete_lb_rule (integration.component.test_haproxy.TestHAProxyStickyness) - EXCEPTION: test_04_delete_lb_rule: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 327, in run
    testMethod()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_haproxy.py", line 557, in test_04_delete_lb_rule
    lb_rule.delete(self.apiclient)
  File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 1665, in delete
    apiclient.deleteLoadBalancerRule(cmd)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 973, in deleteLoadBalancerRule
    response = self.connection.marvinRequest(command, response_type=response, method=method)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 280, in marvinRequest
    response = self.poll(asyncJobId, response_type)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 86, in poll
    "asyncquery", asyncResonse.jobresult)
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Command failed due to Internal Server Error'}

2014-02-06 22:53:44,602 - DEBUG - test_04_delete_lb_rule (integration.component.test_haproxy.TestHAProxyStickyness) - sending GET request: deleteAccount {'id': u'd1380571-2370-4596-9ee1-5a1fd652bab3'}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)