cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8971) Remove hardcoded configuration from test_privategw_acl
Date Tue, 20 Oct 2015 21:19:27 GMT

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

ASF GitHub Bot commented on CLOUDSTACK-8971:
--------------------------------------------

Github user michaelandersen commented on the pull request:

    https://github.com/apache/cloudstack/pull/957#issuecomment-149706469
  
    requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): cs2.cloud.lan
    requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?physicalnetworkid=200&vpcid=f2839995-7ebb-49be-b466-ad1da9274c7d&sourcenatsupported=true&aclid=420b9956-1ce3-4a7e-ac12-03615dcb09a2&vlan=30&gateway=10.147.30.1&netmask
    =255.255.255.0&apiKey=m5d8bqnS-qAVICCTlFiUHwPKd_dWXSOkKEnd8ur_UO-1Kcza8fD3a97OqDDB96NuElYmNY_4q4klE7sdpgJYWQ&command=createPrivateGateway&signature=uD9jjAKOWv%2B%2F3oRHIhWU3VBSW%2Bc%3D&ipaddress=10.147.30.200&response=json
HTTP/1.1" 
    530 83
    test_privategw_acl (integration.smoke.test_privategw_acl.TestPrivateGwACL): ERROR: Exception:['Traceback
(most recent call last):\n', '  File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py",
line 306, in __parseAnd
    GetResponse\n    response_cls)\n', '  File "/Library/Python/2.7/site-packages/marvin/jsonHelper.py",
line 151, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname,
errMsg)\n', 'CloudstackAPIException: Execu
    te cmd: createprivategateway failed, due to: errorCode: 530, errorText:None\n']
    Traceback (most recent call last):
      File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 306, in
__parseAndGetResponse
        response_cls)
      File "/Library/Python/2.7/site-packages/marvin/jsonHelper.py", line 151, in getResultObj
        raise cloudstackException.CloudstackAPIException(respname, errMsg)
    CloudstackAPIException: Execute cmd: createprivategateway failed, due to: errorCode: 530,
errorText:None



> Remove hardcoded configuration from test_privategw_acl
> ------------------------------------------------------
>
>                 Key: CLOUDSTACK-8971
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8971
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Test
>            Reporter: Wilder Rodrigues
>            Assignee: Wilder Rodrigues
>
> The current test_privategw_acl.py has come hardcoded configuration that makes it not
very reliable:
> * self.networkOfferingId = 11
> * self.zoneId = 1
> * self.serviceOfferingId = 1
> * self.templateId = 5
> The current test does not clean up the resources created. This has to be added as well.



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

Mime
View raw message