You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Parth Jagirdar (JIRA)" <ji...@apache.org> on 2013/07/03 02:01:20 UTC
[jira] [Created] (CLOUDSTACK-3339) [Automation] Failed to create
network with ue to: errorCode: 431, errorText:Can't specify vlan;
corresponding offering says specifyVlan=false
Parth Jagirdar created CLOUDSTACK-3339:
------------------------------------------
Summary: [Automation] Failed to create network with ue to: errorCode: 431, errorText:Can't specify vlan; corresponding offering says specifyVlan=false
Key: CLOUDSTACK-3339
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3339
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: Critical
Adding specifyVlan= True will fix this issue. Please submit a patch.
Following snippet from test_network_offering.py
},
"network_offering": {
"name": 'Network offering-VR services',
"displaytext": 'Network offering-VR services',
"guestiptype": 'Isolated',
"supportedservices": 'Dhcp,Dns,SourceNat,PortForwarding,Vpn,Firewall,Lb,UserData,StaticNat',
"traffictype": 'GUEST',
"availability": 'Optional',
"specifyVlan": 'True',
Test Network offering with Conserve mode off and VR - All services ... ERROR
Test Network offering with Conserve mode ON and VR - All services ... ERROR
Test deployVM in shared network without startIp/endIp ... ERROR
======================================================================
ERROR: Test Network offering with Conserve mode off and VR - All services
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/Parth/cloudstack/test/integration/component/test_network_offering.py", line 262, in test_01_network_off_without_conserve_mode
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:Can't specify vlan; corresponding offering says specifyVlan=false
-------------------- >> 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?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-WXQ0JF&domainid=7e521ece-e2e4-11e2-b7dd-52b2d980df8a&firstname=Test&lastname=User&response=json&apiKey=k9DlXgrK41CI4Zwmi5FK2CR5Ux5VAWCxEeBIQITPcQ2f9iVkDbAVhKD7n6loKjfJ_a0DpHanj0lReFtdcdZ8lg&command=createAccount&accounttype=2&signature=QfHLxvd5GwjWcr56FCxw5viiPY0%3D&password=password&email=test%40test.com HTTP/1.1" 200 1332
testclient.testcase.TestNOVirtualRouter: DEBUG: Creating n/w offering with all services in VR & conserve mode:off
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&serviceProviderList%5B2%5D.provider=VirtualRouter&serviceProviderList%5B5%5D.service=Dhcp&displaytext=Network+offering-VR+services-BH3DV0&serviceProviderList%5B0%5D.service=UserData&serviceProviderList%5B4%5D.provider=VirtualRouter&serviceProviderList%5B1%5D.provider=VirtualRouter&availability=Optional&conservemode=False&serviceProviderList%5B3%5D.service=Dns&serviceProviderList%5B5%5D.provider=VirtualRouter&response=json&serviceProviderList%5B0%5D.provider=VirtualRouter&serviceProviderList%5B8%5D.provider=VirtualRouter&serviceProviderList%5B1%5D.service=Lb&serviceProviderList%5B4%5D.service=Firewall&supportedservices=Dhcp%2CDns%2CSourceNat%2CPortForwarding%2CVpn%2CFirewall%2CLb%2CUserData%2CStaticNat&traffictype=GUEST&serviceProviderList%5B6%5D.provider=VirtualRouter&serviceProviderList%5B8%5D.service=StaticNat&serviceProviderList%5B3%5D.provider=VirtualRouter&name=Network+offering-VR+services-R4PDXM&guestiptype=Isolated&serviceProviderList%5B7%5D.provider=VirtualRouter&serviceProviderList%5B7%5D.service=SourceNat&serviceProviderList%5B2%5D.service=PortForwarding&serviceProviderList%5B6%5D.service=Vpn&command=createNetworkOffering&signature=LBtOov4%2BFUvH0VU%2BvqzL1Wt9im4%3D HTTP/1.1" 200 1638
testclient.testcase.TestNOVirtualRouter: DEBUG: Created n/w offering with ID: 9c359ef2-81a2-4c62-9521-76e27aac8ad7
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&id=9c359ef2-81a2-4c62-9521-76e27aac8ad7&state=Enabled&command=updateNetworkOffering&signature=I7tw2UmSeFstybLsQmywj5EIgeQ%3D&response=json HTTP/1.1" 200 1637
testclient.testcase.TestNOVirtualRouter: DEBUG: Creating network with network offering: 9c359ef2-81a2-4c62-9521-76e27aac8ad7
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&networkofferingid=9c359ef2-81a2-4c62-9521-76e27aac8ad7&vlan=2370&zoneid=bfcac7d1-3919-4c8d-a817-0a0b1bd83822&domainid=7e521ece-e2e4-11e2-b7dd-52b2d980df8a&displaytext=Test+Network&response=json&account=test-WXQ0JF&name=Test+Network&command=createNetwork&signature=RtZP%2BeTVMWvORua19sedhCilcZU%3D HTTP/1.1" 431 160
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: Test Network offering with Conserve mode ON and VR - All services
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/Parth/cloudstack/test/integration/component/test_network_offering.py", line 505, in test_02_network_off_with_conserve_mode
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:Can't specify vlan; corresponding offering says specifyVlan=false
-------------------- >> 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?username=test-DZ4CE1&domainid=7e521ece-e2e4-11e2-b7dd-52b2d980df8a&firstname=Test&lastname=User&response=json&apiKey=k9DlXgrK41CI4Zwmi5FK2CR5Ux5VAWCxEeBIQITPcQ2f9iVkDbAVhKD7n6loKjfJ_a0DpHanj0lReFtdcdZ8lg&command=createAccount&accounttype=2&signature=prcVWXDnMfCqNKMx2YWu53ZZLyg%3D&password=password&email=test%40test.com HTTP/1.1" 200 1332
--
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