Parth Jagirdar created CLOUDSTACK-3340:
------------------------------------------

             Summary: [Automation] Failed to create network due to: errorCode: 
431, errorText:StartIp/endIp/gateway/netmask are required when create network 
of type Shared and network of type Isolated with service SourceNat disabled
                 Key: CLOUDSTACK-3340
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3340
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation
    Affects Versions: 4.2.0
         Environment: Master
            Reporter: Parth Jagirdar
            Priority: Blocker



Test Network offering with Conserve mode off and VR - All services ... ok
Test Network offering with Conserve mode ON and VR - All services ... ok
Test deployVM in shared network without startIp/endIp ... ERROR

======================================================================
ERROR: Test deployVM in shared network without startIp/endIp
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Users/Parth/cloudstack/test/integration/component/test_network_offering.py", 
line 1927, in test_deployVmSharedNetworkWithoutIpRange
    zoneid=self.zone.id
  File "/Library/Python/2.7/site-packages/marvin/integration/lib/base.py", line 
1831, in create
    return Network(apiclient.createNetwork(cmd).__dict__)
  File 
"/Library/Python/2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
 line 1539, in createNetwork
    response = self.connection.marvin_request(command, response_type=response, 
method=method)
  File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 
215, in marvin_request
    response = jsonHelper.getResultObj(response.json(), response_type)
  File "/Library/Python/2.7/site-packages/marvin/jsonHelper.py", line 128, in 
getResultObj
    raise 
cloudstackException.cloudstackAPIException(responseName.replace("response", 
""), errMsg)
cloudstackAPIException: Execute cmd: createnetwork failed, due to: errorCode: 
431, errorText:StartIp/endIp/gateway/netmask are required when create network 
of type Shared and network of type Isolated with service SourceNat disabled
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?signature=XmVCQhRCBS%2B01pIMFP4TF72hguc%3D&apiKey=k9DlXgrK41CI4Zwmi5FK2CR5Ux5VAWCxEeBIQITPcQ2f9iVkDbAVhKD7n6loKjfJ_a0DpHanj0lReFtdcdZ8lg&command=deleteServiceOffering&id=bcd7dea2-fcb4-4399-9348-f93a736e0f48&response=json
 HTTP/1.1" 200 60
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?apiKey=k9DlXgrK41CI4Zwmi5FK2CR5Ux5VAWCxEeBIQITPcQ2f9iVkDbAVhKD7n6loKjfJ_a0DpHanj0lReFtdcdZ8lg&command=listDomains&signature=pZAoTagbtkv%2FIsx0OhvMu%2Bwj1Q8%3D&response=json
 HTTP/1.1" 200 1629
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?apiKey=k9DlXgrK41CI4Zwmi5FK2CR5Ux5VAWCxEeBIQITPcQ2f9iVkDbAVhKD7n6loKjfJ_a0DpHanj0lReFtdcdZ8lg&command=listZones&signature=7ZMjupfEOO2ii4bMH99AfUS5xPE%3D&response=json
 HTTP/1.1" 200 749
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?apiKey=k9DlXgrK41CI4Zwmi5FK2CR5Ux5VAWCxEeBIQITPcQ2f9iVkDbAVhKD7n6loKjfJ_a0DpHanj0lReFtdcdZ8lg&description=CentOS+5.3+%2864-bit%29&command=listOsTypes&signature=q300ePjyZOXldG214ljTmGlTDvA%3D&response=json
 HTTP/1.1" 200 194
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?apiKey=k9DlXgrK41CI4Zwmi5FK2CR5Ux5VAWCxEeBIQITPcQ2f9iVkDbAVhKD7n6loKjfJ_a0DpHanj0lReFtdcdZ8lg&templatefilter=featured&command=listTemplates&signature=R%2BEXf7TPecJYZPoBGuxglVkHOuA%3D&zoneid=bfcac7d1-3919-4c8d-a817-0a0b1bd83822&response=json
 HTTP/1.1" 200 819
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?apiKey=k9DlXgrK41CI4Zwmi5FK2CR5Ux5VAWCxEeBIQITPcQ2f9iVkDbAVhKD7n6loKjfJ_a0DpHanj0lReFtdcdZ8lg&name=Tiny+Instance&memory=128&command=createServiceOffering&signature=YwcXuluxcBkBlxZ3v0SBdPtJui8%3D&displaytext=Tiny+Instance&cpuspeed=100&cpunumber=1&response=json
 HTTP/1.1" 200 355
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?username=test-P691QH&domainid=7e521ece-e2e4-11e2-b7dd-52b2d980df8a&firstname=Test&lastname=User&response=json&apiKey=k9DlXgrK41CI4Zwmi5FK2CR5Ux5VAWCxEeBIQITPcQ2f9iVkDbAVhKD7n6loKjfJ_a0DpHanj0lReFtdcdZ8lg&command=createAccount&accounttype=2&signature=ju2ljpMtVjiFKyYf3QVMPeIr5Rw%3D&password=password&email=test%40test.com
 HTTP/1.1" 200 1332
testclient.testcase.TestSharedNetworkWithoutIp: DEBUG: Fetching default shared 
network offering from nw offerings
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.223.49.197

--
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

Reply via email to