Chandan Purushothama created CLOUDSTACK-7425:
------------------------------------------------
Summary: [Automation] Failed to create network offering due to
Invalid Service - Lb
Key: CLOUDSTACK-7425
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7425
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation, Test
Affects Versions: 4.5.0
Reporter: Chandan Purushothama
Priority: Critical
Fix For: 4.5.0
On Executing *test_persistent_networks.py* script, following error was seen
during creation of network offering.
*<nose.suite.ContextSuite context=TestRestartPersistentNetwork>:setup*
*Error*
Execute cmd: createnetworkoffering failed, due to: errorCode: 431,
errorText:Invalid service Lb Logs available at
http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=persistent_network
*Stacktrace*
File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 208, in run
self.setUp()
File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 291, in
setUp
self.setupContext(ancestor)
File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 314, in
setupContext
try_run(context, names)
File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, in
try_run
return func()
File
"/root/cloudstack/test/integration/component/test_persistent_networks.py", line
1352, in setUpClass
conservemode=False)
File "/usr/local/lib/python2.7/dist-packages/marvin/lib/base.py", line 2039,
in create
return NetworkOffering(apiclient.createNetworkOffering(cmd).__dict__)
File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 1864, in createNetworkOffering
response = self.connection.marvinRequest(command, response_type=response,
method=method)
File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py",
line 379, in marvinRequest
raise e
'Execute cmd: createnetworkoffering failed, due to: errorCode: 431,
errorText:Invalid service Lb\n
Logs available at
http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=persistent_network
=======================
Logs on Management Server:
=======================
{code}
2014-08-24 07:29:03,321 DEBUG [c.c.a.ApiServlet]
(catalina-exec-11:ctx-9045f4ed) ===START=== 10.220.135.73 -- GET
apiKey=YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg&serviceproviderlist%5B2%5D.provider=VirtualRouter&displaytext=Test+Nw+off+isolated+persistent-J1SARJ&serviceproviderlist%5B0%5D.service=Dhcp&serviceproviderlist%5B4%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.provider=VirtualRouter&availability=Optional&conservemode=False&serviceproviderlist%5B3%5D.service=Dns&serviceproviderlist%5B0%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.service=Lb&serviceproviderlist%5B4%5D.service=PortForwarding&supportedservices=Dhcp%2CDns%2CSourceNat%2CPortForwarding%2C+Lb&traffictype=GUEST&response=json&name=Test+Nw+off+isolated+persistent-7NEHE0&ispersistent=True&serviceproviderlist%5B3%5D.provider=VirtualRouter&guestiptype=Isolated&serviceproviderlist%5B2%5D.service=SourceNat&command=createNetworkOffering&signature=CSPMyaOuzQIuJ7pds6h0z1Zrz6Y%3D
2014-08-24 07:29:03,324 DEBUG [c.c.a.ApiServlet] (catalina-exec-25:ctx-4341a2a9
ctx-fe97e223 ctx-49ec168d) ===END=== 10.220.135.73 -- GET
username=User-JEOYWO&account=test-TestUserLogin-test_01_non_root_admin_Privileges-CCFZPY&domainid=56ab18f0-2b4d-11e4-89bd-1e5d0e053e75&firstname=User&lastname=User&email=user%40test.com&apiKey=YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg&command=createUser&signature=ibJAEjnOZiNMtVgyWqHd1HW4W3w%3D&response=json
2014-08-24 07:29:03,332 INFO [c.c.a.ApiServer] (catalina-exec-11:ctx-9045f4ed
ctx-fab16efe ctx-a9b84bb9) Invalid service Lb
2014-08-24 07:29:03,332 DEBUG [c.c.a.ApiServlet] (catalina-exec-11:ctx-9045f4ed
ctx-fab16efe ctx-a9b84bb9) ===END=== 10.220.135.73 -- GET
apiKey=YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg&serviceproviderlist%5B2%5D.provider=VirtualRouter&displaytext=Test+Nw+off+isolated+persistent-J1SARJ&serviceproviderlist%5B0%5D.service=Dhcp&serviceproviderlist%5B4%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.provider=VirtualRouter&availability=Optional&conservemode=False&serviceproviderlist%5B3%5D.service=Dns&serviceproviderlist%5B0%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.service=Lb&serviceproviderlist%5B4%5D.service=PortForwarding&supportedservices=Dhcp%2CDns%2CSourceNat%2CPortForwarding%2C+Lb&traffictype=GUEST&response=json&name=Test+Nw+off+isolated+persistent-7NEHE0&ispersistent=True&serviceproviderlist%5B3%5D.provider=VirtualRouter&guestiptype=Isolated&serviceproviderlist%5B2%5D.service=SourceNat&command=createNetworkOffering&signature=CSPMyaOuzQIuJ7pds6h0z1Zrz6Y%3D
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)