You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Prasanna Santhanam (JIRA)" <ji...@apache.org> on 2013/06/19 09:21:23 UTC

[jira] [Resolved] (CLOUDSTACK-3059) Testcase "test_redundant_router" not creating network offering with "capabilitytype=RedundantRouter"

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasanna Santhanam resolved CLOUDSTACK-3059.
--------------------------------------------

    Resolution: Fixed

serviceCapabilityList needs to be case sensitive. Fixed with b0d186ce5bd42a9120243d1f32adabc6851865a5
                
> Testcase "test_redundant_router" not creating network offering with "capabilitytype=RedundantRouter"
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3059
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3059
>             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: Automation
>            Reporter: Rayees Namathponnan
>            Assignee: Prasanna Santhanam
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> test_redundant_router.py failed completed,  test cases not creating network offering with RR, 
> Test cases failed with below error 
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_redundant_router.py", line 399, in test_createRvRNetwork
>     "Length of the list router should be 2 (Backup & master)"
>   File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
>     assertion_func(first, second, msg=msg)
>   File "/usr/local/lib/python2.7/unittest/case.py", line 487, in _baseAssertEqual
>     raise self.failureException(msg)
> Length of the list router should be 2 (Backup & master)
> Below API  log generated during automation run, here you can see "RR is False" 
> 2013-06-18 19:46:09,024 INFO  [cloud.api.ApiServer] (catalina-exec-22:null) (userId=2 accountId=2 sessionId=null) 10.223.240.194 -- GET apiKey=Zzxy3ps4AUUdnMT3EadmeO8zROnnKN0bqKmh56llSxmiI2BbqsqJgnF1lLPSsLJUd4WVptxoyXadJ3Yc149OAw&serviceproviderlist%5B2%5D.provider=VirtualRouter&serviceproviderlist%5B5%5D.service=Dhcp&displaytext=Network+off-RVR+services-7968S7&serviceproviderlist%5B0%5D.service=UserData&serviceproviderlist%5B4%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.provider=VirtualRouter&availability=Optional&conservemode=True&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=Vpn%2CDhcp%2CDns%2CSourceNat%2CPortForwarding%2CFirewall%2CLb%2CUserData%2CStaticNat&traffictype=GUEST&serviceproviderlist%5B6%5D.provider=VirtualRouter&serviceproviderlist%5B8%5D.service=StaticNat&serviceproviderlist%5B3%5D.provider=VirtualRouter&name=Network+offering-RVR+services-QLUAER&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=VOzYZ36FtZXJy97lCfmQftsyKiM%3D 200 { "createnetworkofferingresponse" :  { "networkoffering" : {"id":"3864b774-4439-4cad-bffb-89a0516b4f6f","name":"Network offering-RVR services-QLUAER","displaytext":"Network off-RVR services-7968S7","traffictype":"Guest","isdefault":false,"specifyvlan":false,"conservemode":true,"specifyipranges":false,"availability":"Optional","networkrate":200,"state":"Disabled","guestiptype":"Isolated","serviceofferingid":"12a3fa54-e945-48dd-8da3-826c7b7646e4","service":[{"name":"PortForwarding","provider":[{"name":"VirtualRouter"}]},{"name":"Vpn","provider":[{"name":"VirtualRouter"}]},{"name":"StaticNat","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"ElasticIp","value":"false","canchooseservicecapability":false},{"name":"AssociatePublicIP","value":"false","canchooseservicecapability":false}]},{"name":"Firewall","provider":[{"name":"VirtualRouter"}]},{"name":"Dns","provider":[{"name":"VirtualRouter"}]},{"name":"Dhcp","provider":[{"name":"VirtualRouter"}]},{"name":"Lb","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"SupportedLBIsolation","value":"shared","canchooseservicecapability":false},{"name":"ElasticLb","value":"false","canchooseservicecapability":false},{"name":"InlineMode","value":"false","canchooseservicecapability":false}]},{"name":"UserData","provider":[{"name":"VirtualRouter"}]},{"name":"SourceNat","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"SupportedSourceNatTypes","value":"peraccount","canchooseservicecapability":false},{"name":"RedundantRouter","value":"false","canchooseservicecapability":false}]}],"forvpc":false,"ispersistent":false} }  }

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