StretchedL2Subnet

2014-05-06 Thread Ian Southam
Anybody know what this is?

I see our Integration testing (for Nicira) has started failing of late.  We are 
not requesting such a network so I presume a default has changed somewhere?



ERROR: 
test-create-nicira-network-offerings.testNetworkOffering.testCreateNetworkOfferingNiciraL2
--
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in 
runTest
self.test(*self.arg)
  File "/home/jenkins/slave/workspace/team_tkt/Cloudstack Integration 
Testing/build-cloud/scripts/test-create-nicira-network-offerings.py", line 80, 
in testCreateNetworkOfferingNiciraL2
resp = conn.marvinRequest(createNetOff)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", 
line 279, in marvinRequest
response = jsonHelper.getResultObj(response.json(), response_type)
  File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, 
in getResultObj
raise cloudstackException.cloudstackAPIException(respname, errMsg)
cloudstackAPIException: Execute cmd: createnetworkoffering failed, due to: 
errorCode: 431, errorText:Provider: NiciraNvp does not support StretchedL2Subnet
 >> begin captured stdout << -
DEBUG: sending GET request: createNetworkOffering {'specifyipranges': 'false', 
'serviceproviderlist[2].provider': 'VirtualRouter', 
'serviceproviderlist[5].service': 'Lb', 'displaytext': 'NiciraNvpL2SNAT', 
'serviceproviderlist[0].service': 'UserData', 
'serviceproviderlist[4].provider': 'VirtualRouter', 
'serviceproviderlist[1].provider': 'VirtualRouter', 'availability': 'Optional', 
'conservemode': 'true', 'serviceproviderlist[3].service': 'StaticNat', 
'serviceproviderlist[5].provider': 'VirtualRouter', 
'serviceproviderlist[0].provider': 'VirtualRouter', 'specifyvlan': 'false', 
'serviceproviderlist[8].provider': 'VirtualRouter', 
'serviceproviderlist[9].provider': 'NiciraNvp', 
'serviceproviderlist[1].service': 'Vpn', 'serviceproviderlist[4].service': 
'PortForwarding', 'supportedservices': 
'UserData,Vpn,Dhcp,StaticNat,PortForwarding,Lb,Firewall,Dns,SourceNat,Connectivity',
 'traffictype': 'GUEST', 'serviceproviderlist[6].provider': 'VirtualRouter', 
'serviceproviderlist[8].service': 'SourceNat', 
'serviceproviderlist[3].provider': 'VirtualRouter', 'name': 'NiciraNvpL2SNAT', 
'serviceproviderlist[9].service': 'Connectivity', 'guestiptype': 'Isolated', 
'serviceproviderlist[7].provider': 'VirtualRouter', 
'serviceproviderlist[7].service': 'Dns', 'serviceproviderlist[2].service': 
'Dhcp', 'serviceproviderlist[6].service': 'Firewall'}
DEBUG: Computed Signature by Marvin: uwA97AMbhXAPNjW+vzx90pAZv1M=
DEBUG: Request: 
http://cittapp232:8080/client/api?specifyipranges=false&serviceproviderlist%5B2%5D.provider=VirtualRouter&serviceproviderlist%5B5%5D.service=Lb&apiKey=ZJi1_VqmRIhto3bj9zGlPq9y9ywI15bskwdvIGooKjfppdKk5lQhwVSMPyhs2wDN8o_EK51ePHN8ibzPxXXSTg&displaytext=NiciraNvpL2SNAT&serviceproviderlist%5B0%5D.service=UserData&serviceproviderlist%5B4%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.provider=VirtualRouter&availability=Optional&conservemode=true&serviceproviderlist%5B3%5D.service=StaticNat&serviceproviderlist%5B5%5D.provider=VirtualRouter&response=json&serviceproviderlist%5B0%5D.provider=VirtualRouter&specifyvlan=false&serviceproviderlist%5B8%5D.provider=VirtualRouter&serviceproviderlist%5B9%5D.provider=NiciraNvp&serviceproviderlist%5B1%5D.service=Vpn&serviceproviderlist%5B4%5D.service=PortForwarding&supportedservices=UserData%2CVpn%2CDhcp%2CStaticNat%2CPortForwarding%2CLb%2CFirewall%2CDns%2CSourceNat%2CConnectivity&traffictype=GUEST&serviceproviderlist%5B6%5D.provider=VirtualRouter&serviceproviderlist%5B8%5D.service=SourceNat&serviceproviderlist%5B3%5D.provider=VirtualRouter&name=NiciraNvpL2SNAT&serviceproviderlist%5B9%5D.service=Connectivity&guestiptype=Isolated&serviceproviderlist%5B7%5D.provider=VirtualRouter&serviceproviderlist%5B7%5D.service=Dns&serviceproviderlist%5B2%5D.service=Dhcp&serviceproviderlist%5B6%5D.service=Firewall&command=createNetworkOffering&signature=uwA97AMbhXAPNjW%2Bvzx90pAZv1M%3D
 Response: { "createnetworkofferingresponse" : 
{"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Provider: 
NiciraNvp does not support StretchedL2Subnet"} }



--
TIA
Ian


Re: StretchedL2Subnet

2014-05-06 Thread murali reddy
On Tue, May 6, 2014 at 5:30 PM, Ian Southam wrote:

> Anybody know what this is?
>
> I see our Integration testing (for Nicira) has started failing of late.
>  We are not requesting such a network so I presume a default has changed
> somewhere?
>

I added this as capability to 'Connectivity' service providers. This should
not be affecting default behaviour. Let me check on this,


>
> 
>
> ERROR:
> test-create-nicira-network-offerings.testNetworkOffering.testCreateNetworkOfferingNiciraL2
> --
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in
> runTest
> self.test(*self.arg)
>   File "/home/jenkins/slave/workspace/team_tkt/Cloudstack Integration
> Testing/build-cloud/scripts/test-create-nicira-network-offerings.py", line
> 80, in testCreateNetworkOfferingNiciraL2
> resp = conn.marvinRequest(createNetOff)
>   File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 279, in marvinRequest
> response = jsonHelper.getResultObj(response.json(), response_type)
>   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line
> 148, in getResultObj
> raise cloudstackException.cloudstackAPIException(respname, errMsg)
> cloudstackAPIException: Execute cmd: createnetworkoffering failed, due to:
> errorCode: 431, errorText:Provider: NiciraNvp does not support
> StretchedL2Subnet
>  >> begin captured stdout << -
> DEBUG: sending GET request: createNetworkOffering {'specifyipranges':
> 'false', 'serviceproviderlist[2].provider': 'VirtualRouter',
> 'serviceproviderlist[5].service': 'Lb', 'displaytext': 'NiciraNvpL2SNAT',
> 'serviceproviderlist[0].service': 'UserData',
> 'serviceproviderlist[4].provider': 'VirtualRouter',
> 'serviceproviderlist[1].provider': 'VirtualRouter', 'availability':
> 'Optional', 'conservemode': 'true', 'serviceproviderlist[3].service':
> 'StaticNat', 'serviceproviderlist[5].provider': 'VirtualRouter',
> 'serviceproviderlist[0].provider': 'VirtualRouter', 'specifyvlan': 'false',
> 'serviceproviderlist[8].provider': 'VirtualRouter',
> 'serviceproviderlist[9].provider': 'NiciraNvp',
> 'serviceproviderlist[1].service': 'Vpn', 'serviceproviderlist[4].service':
> 'PortForwarding', 'supportedservices':
> 'UserData,Vpn,Dhcp,StaticNat,PortForwarding,Lb,Firewall,Dns,SourceNat,Connectivity',
> 'traffictype': 'GUEST', 'serviceproviderlist[6].provider': 'VirtualRouter',
> 'serviceproviderlist[8].service': 'SourceNat',
> 'serviceproviderlist[3].provider': 'VirtualRouter', 'name':
> 'NiciraNvpL2SNAT', 'serviceproviderlist[9].service': 'Connectivity',
> 'guestiptype': 'Isolated', 'serviceproviderlist[7].provider':
> 'VirtualRouter', 'serviceproviderlist[7].service': 'Dns',
> 'serviceproviderlist[2].service': 'Dhcp', 'serviceproviderlist[6].service':
> 'Firewall'}
> DEBUG: Computed Signature by Marvin: uwA97AMbhXAPNjW+vzx90pAZv1M=
> DEBUG: Request:
> http://cittapp232:8080/client/api?specifyipranges=false&serviceproviderlist%5B2%5D.provider=VirtualRouter&serviceproviderlist%5B5%5D.service=Lb&apiKey=ZJi1_VqmRIhto3bj9zGlPq9y9ywI15bskwdvIGooKjfppdKk5lQhwVSMPyhs2wDN8o_EK51ePHN8ibzPxXXSTg&displaytext=NiciraNvpL2SNAT&serviceproviderlist%5B0%5D.service=UserData&serviceproviderlist%5B4%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.provider=VirtualRouter&availability=Optional&conservemode=true&serviceproviderlist%5B3%5D.service=StaticNat&serviceproviderlist%5B5%5D.provider=VirtualRouter&response=json&serviceproviderlist%5B0%5D.provider=VirtualRouter&specifyvlan=false&serviceproviderlist%5B8%5D.provider=VirtualRouter&serviceproviderlist%5B9%5D.provider=NiciraNvp&serviceproviderlist%5B1%5D.service=Vpn&serviceproviderlist%5B4%5D.service=PortForwarding&supportedservices=UserData%2CVpn%2CDhcp%2CStaticNat%2CPortForwarding%2CLb%2CFirewall%2CDns%2CSourceNat%2CConnectivity&traffictype=GUEST&serviceproviderlist%5B6%5D.provider=VirtualRouter&serviceproviderlist%5B8%5D.service=SourceNat&serviceproviderlist%5B3%5D.provider=VirtualRouter&name=NiciraNvpL2SNAT&serviceproviderlist%5B9%5D.service=Connectivity&guestiptype=Isolated&serviceproviderlist%5B7%5D.provider=VirtualRouter&serviceproviderlist%5B7%5D.service=Dns&serviceproviderlist%5B2%5D.service=Dhcp&serviceproviderlist%5B6%5D.service=Firewall&command=createNetworkOffering&signature=uwA97AMbhXAPNjW%2Bvzx90pAZv1M%3DResponse:
>  { "createnetworkofferingresponse" :
> {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Provider:
> NiciraNvp does not support StretchedL2Subnet"} }
>
> 
>
> --
> TIA
> Ian
>


Re: StretchedL2Subnet

2014-05-06 Thread Daan Hoogland
Murali,

Can you have a look to see what defaults where introduced to make
these tests fail? I see StretchedL2 was introduced in commit
d2d54a946310d25a8edd4cab5abf8588a9e1b4df, committed on the 20th of
march.

thanks,
Daan

On Tue, May 6, 2014 at 2:00 PM, Ian Southam  wrote:
> Anybody know what this is?
>
> I see our Integration testing (for Nicira) has started failing of late.  We 
> are not requesting such a network so I presume a default has changed 
> somewhere?
>
> 
>
> ERROR: 
> test-create-nicira-network-offerings.testNetworkOffering.testCreateNetworkOfferingNiciraL2
> --
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in 
> runTest
> self.test(*self.arg)
>   File "/home/jenkins/slave/workspace/team_tkt/Cloudstack Integration 
> Testing/build-cloud/scripts/test-create-nicira-network-offerings.py", line 
> 80, in testCreateNetworkOfferingNiciraL2
> resp = conn.marvinRequest(createNetOff)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 279, in marvinRequest
> response = jsonHelper.getResultObj(response.json(), response_type)
>   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 
> 148, in getResultObj
> raise cloudstackException.cloudstackAPIException(respname, errMsg)
> cloudstackAPIException: Execute cmd: createnetworkoffering failed, due to: 
> errorCode: 431, errorText:Provider: NiciraNvp does not support 
> StretchedL2Subnet
>  >> begin captured stdout << -
> DEBUG: sending GET request: createNetworkOffering {'specifyipranges': 
> 'false', 'serviceproviderlist[2].provider': 'VirtualRouter', 
> 'serviceproviderlist[5].service': 'Lb', 'displaytext': 'NiciraNvpL2SNAT', 
> 'serviceproviderlist[0].service': 'UserData', 
> 'serviceproviderlist[4].provider': 'VirtualRouter', 
> 'serviceproviderlist[1].provider': 'VirtualRouter', 'availability': 
> 'Optional', 'conservemode': 'true', 'serviceproviderlist[3].service': 
> 'StaticNat', 'serviceproviderlist[5].provider': 'VirtualRouter', 
> 'serviceproviderlist[0].provider': 'VirtualRouter', 'specifyvlan': 'false', 
> 'serviceproviderlist[8].provider': 'VirtualRouter', 
> 'serviceproviderlist[9].provider': 'NiciraNvp', 
> 'serviceproviderlist[1].service': 'Vpn', 'serviceproviderlist[4].service': 
> 'PortForwarding', 'supportedservices': 
> 'UserData,Vpn,Dhcp,StaticNat,PortForwarding,Lb,Firewall,Dns,SourceNat,Connectivity',
>  'traffictype': 'GUEST', 'serviceproviderlist[6].provider': 'VirtualRouter', 
> 'serviceproviderlist[8].service': 'SourceNat', 
> 'serviceproviderlist[3].provider': 'VirtualRouter', 'name': 
> 'NiciraNvpL2SNAT', 'serviceproviderlist[9].service': 'Connectivity', 
> 'guestiptype': 'Isolated', 'serviceproviderlist[7].provider': 
> 'VirtualRouter', 'serviceproviderlist[7].service': 'Dns', 
> 'serviceproviderlist[2].service': 'Dhcp', 'serviceproviderlist[6].service': 
> 'Firewall'}
> DEBUG: Computed Signature by Marvin: uwA97AMbhXAPNjW+vzx90pAZv1M=
> DEBUG: Request: 
> http://cittapp232:8080/client/api?specifyipranges=false&serviceproviderlist%5B2%5D.provider=VirtualRouter&serviceproviderlist%5B5%5D.service=Lb&apiKey=ZJi1_VqmRIhto3bj9zGlPq9y9ywI15bskwdvIGooKjfppdKk5lQhwVSMPyhs2wDN8o_EK51ePHN8ibzPxXXSTg&displaytext=NiciraNvpL2SNAT&serviceproviderlist%5B0%5D.service=UserData&serviceproviderlist%5B4%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.provider=VirtualRouter&availability=Optional&conservemode=true&serviceproviderlist%5B3%5D.service=StaticNat&serviceproviderlist%5B5%5D.provider=VirtualRouter&response=json&serviceproviderlist%5B0%5D.provider=VirtualRouter&specifyvlan=false&serviceproviderlist%5B8%5D.provider=VirtualRouter&serviceproviderlist%5B9%5D.provider=NiciraNvp&serviceproviderlist%5B1%5D.service=Vpn&serviceproviderlist%5B4%5D.service=PortForwarding&supportedservices=UserData%2CVpn%2CDhcp%2CStaticNat%2CPortForwarding%2CLb%2CFirewall%2CDns%2CSourceNat%2CConnectivity&traffictype=GUEST&serviceproviderlist%5B6%5D.provider=VirtualRouter&serviceproviderlist%5B8%5D.service=SourceNat&serviceproviderlist%5B3%5D.provider=VirtualRouter&name=NiciraNvpL2SNAT&serviceproviderlist%5B9%5D.service=Connectivity&guestiptype=Isolated&serviceproviderlist%5B7%5D.provider=VirtualRouter&serviceproviderlist%5B7%5D.service=Dns&serviceproviderlist%5B2%5D.service=Dhcp&serviceproviderlist%5B6%5D.service=Firewall&command=createNetworkOffering&signature=uwA97AMbhXAPNjW%2Bvzx90pAZv1M%3D
>  Response: { "createnetworkofferingresponse" : 
> {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Provider: 
> NiciraNvp does not support StretchedL2Subnet"} }
>
> 
>
> --
> TIA
> Ian



-- 
Daan


RE: StretchedL2Subnet

2014-05-06 Thread Ian Southam
Thanks!

-Original Message-
From: murali reddy [mailto:muralimmre...@gmail.com] 
Sent: dinsdag 6 mei 2014 14:11
To: dev@cloudstack.apache.org
Subject: Re: StretchedL2Subnet

On Tue, May 6, 2014 at 5:30 PM, Ian Southam wrote:

> Anybody know what this is?
>
> I see our Integration testing (for Nicira) has started failing of late.
>  We are not requesting such a network so I presume a default has 
> changed somewhere?
>

I added this as capability to 'Connectivity' service providers. This should not 
be affecting default behaviour. Let me check on this,


>
> 
>
> ERROR:
> test-create-nicira-network-offerings.testNetworkOffering.testCreateNet
> workOfferingNiciraL2
> --
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 
> 197, in runTest
> self.test(*self.arg)
>   File "/home/jenkins/slave/workspace/team_tkt/Cloudstack Integration 
> Testing/build-cloud/scripts/test-create-nicira-network-offerings.py", 
> line 80, in testCreateNetworkOfferingNiciraL2
> resp = conn.marvinRequest(createNetOff)
>   File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py
> ",
> line 279, in marvinRequest
> response = jsonHelper.getResultObj(response.json(), response_type)
>   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", 
> line 148, in getResultObj
> raise cloudstackException.cloudstackAPIException(respname, errMsg)
> cloudstackAPIException: Execute cmd: createnetworkoffering failed, due to:
> errorCode: 431, errorText:Provider: NiciraNvp does not support 
> StretchedL2Subnet
>  >> begin captured stdout << -
> DEBUG: sending GET request: createNetworkOffering {'specifyipranges':
> 'false', 'serviceproviderlist[2].provider': 'VirtualRouter',
> 'serviceproviderlist[5].service': 'Lb', 'displaytext': 
> 'NiciraNvpL2SNAT',
> 'serviceproviderlist[0].service': 'UserData',
> 'serviceproviderlist[4].provider': 'VirtualRouter',
> 'serviceproviderlist[1].provider': 'VirtualRouter', 'availability':
> 'Optional', 'conservemode': 'true', 'serviceproviderlist[3].service':
> 'StaticNat', 'serviceproviderlist[5].provider': 'VirtualRouter',
> 'serviceproviderlist[0].provider': 'VirtualRouter', 'specifyvlan': 
> 'false',
> 'serviceproviderlist[8].provider': 'VirtualRouter',
> 'serviceproviderlist[9].provider': 'NiciraNvp',
> 'serviceproviderlist[1].service': 'Vpn', 'serviceproviderlist[4].service':
> 'PortForwarding', 'supportedservices':
> 'UserData,Vpn,Dhcp,StaticNat,PortForwarding,Lb,Firewall,Dns,SourceNat,
> Connectivity',
> 'traffictype': 'GUEST', 'serviceproviderlist[6].provider': 
> 'VirtualRouter',
> 'serviceproviderlist[8].service': 'SourceNat',
> 'serviceproviderlist[3].provider': 'VirtualRouter', 'name':
> 'NiciraNvpL2SNAT', 'serviceproviderlist[9].service': 'Connectivity',
> 'guestiptype': 'Isolated', 'serviceproviderlist[7].provider':
> 'VirtualRouter', 'serviceproviderlist[7].service': 'Dns',
> 'serviceproviderlist[2].service': 'Dhcp', 'serviceproviderlist[6].service':
> 'Firewall'}
> DEBUG: Computed Signature by Marvin: uwA97AMbhXAPNjW+vzx90pAZv1M=
> DEBUG: Request:
> http://cittapp232:8080/client/api?specifyipranges=false&serviceproviderlist%5B2%5D.provider=VirtualRouter&serviceproviderlist%5B5%5D.service=Lb&apiKey=ZJi1_VqmRIhto3bj9zGlPq9y9ywI15bskwdvIGooKjfppdKk5lQhwVSMPyhs2wDN8o_EK51ePHN8ibzPxXXSTg&displaytext=NiciraNvpL2SNAT&serviceproviderlist%5B0%5D.service=UserData&serviceproviderlist%5B4%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.provider=VirtualRouter&availability=Optional&conservemode=true&serviceproviderlist%5B3%5D.service=StaticNat&serviceproviderlist%5B5%5D.provider=VirtualRouter&response=json&serviceproviderlist%5B0%5D.provider=VirtualRouter&specifyvlan=false&serviceproviderlist%5B8%5D.provider=VirtualRouter&serviceproviderlist%5B9%5D.provider=NiciraNvp&serviceproviderlist%5B1%5D.service=Vpn&serviceproviderlist%5B4%5D.service=PortForwarding&supportedservices=UserData%2CVpn%2CDhcp%2CStaticNat%2CPortForwarding%2CLb%2CFirewall%2CDns%2CSourceNat%2CConnectivity&traffictype=GUEST&serviceproviderlist%5B6%5D.provider=VirtualRouter&serviceproviderlist%5B8%5D.service=SourceNat&serviceproviderlist%5B3%5D.provider=VirtualRouter&name=NiciraNvpL2SNAT&serviceproviderlist%5B9%5D.service=Connectivity&guestiptype=Isolated&serviceproviderlist%5B7%5D.provider=VirtualRouter&serviceproviderlist%5B7%5D.service=Dns&serviceproviderlist%5B2%5D.service=Dhcp&serviceproviderlist%5B6%5D.service=Firewall&command=createNetworkOffering&signature=uwA97AMbhXAPNjW%2Bvzx90pAZv1M%3DResponse:
>  { "createnetworkofferingresponse" :
> {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Provider:
> NiciraNvp does not support StretchedL2Subnet"} }
>
> 
>
> --
> TIA
> Ian
>


Re: StretchedL2Subnet

2014-05-11 Thread Murali Reddy
Daan, looks like you already pulled in fix into 4.4. I have committed it
on 4.4-forward, master as well.

On 08/05/14 5:08 PM, "Daan Hoogland"  wrote:

>Murali,
>
>Thanks.
>
>What branches is this on? what branches should it be on?
>
>regards,
>Daan
>
>On Thu, May 8, 2014 at 12:35 PM, Murali Reddy 
>wrote:
>>
>> Fixed with below commit.
>>
>> commit df65b2e7c438986fac645f0a33688f8b36a12152
>> Author: Murali Reddy 
>> Date:   Wed May 7 20:03:28 2014 +0530
>>
>> CLOUDSTACK-6593: Connectivity service capabilites should be matched
>> with
>> the provider only if at least one capability is specified
>>
>>
>> Fix avoids the check, and only if the createNetworkOffering
>> 'StrechedL2'Subnet' capability is specified then it should match
>> against
>> 'Connectivity' service provider
>>
>>
>>
>> On 06/05/14 5:41 PM, "Daan Hoogland"  wrote:
>>
>>>Murali,
>>>
>>>Can you have a look to see what defaults where introduced to make
>>>these tests fail? I see StretchedL2 was introduced in commit
>>>d2d54a946310d25a8edd4cab5abf8588a9e1b4df, committed on the 20th of
>>>march.
>>>
>>>thanks,
>>>Daan
>>>
>>>On Tue, May 6, 2014 at 2:00 PM, Ian Southam
>>>
>>>wrote:
>>>> Anybody know what this is?
>>>>
>>>> I see our Integration testing (for Nicira) has started failing of
>>>>late.
>>>> We are not requesting such a network so I presume a default has
>>>>changed
>>>>somewhere?
>>>>
>>>> 
>>>>
>>>> ERROR:
>>>>test-create-nicira-network-offerings.testNetworkOffering.testCreateNetw
>>>>or
>>>>kOfferingNiciraL2
>>>> --
>>>> Traceback (most recent call last):
>>>>   File "/usr/local/lib/python2.7/site-packages/nose/case.py", line
>>>>197,
>>>>in runTest
>>>> self.test(*self.arg)
>>>>   File "/home/jenkins/slave/workspace/team_tkt/Cloudstack Integration
>>>>Testing/build-cloud/scripts/test-create-nicira-network-offerings.py",
>>>>line 80, in testCreateNetworkOfferingNiciraL2
>>>> resp = conn.marvinRequest(createNetOff)
>>>>   File
>>>>"/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py"
>>>>,
>>>>line 279, in marvinRequest
>>>> response = jsonHelper.getResultObj(response.json(), response_type)
>>>>   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py",
>>>>line 148, in getResultObj
>>>> raise cloudstackException.cloudstackAPIException(respname, errMsg)
>>>> cloudstackAPIException: Execute cmd: createnetworkoffering failed, due
>>>>to: errorCode: 431, errorText:Provider: NiciraNvp does not support
>>>>StretchedL2Subnet
>>>>  >> begin captured stdout << -
>>>> DEBUG: sending GET request: createNetworkOffering {'specifyipranges':
>>>>'false', 'serviceproviderlist[2].provider': 'VirtualRouter',
>>>>'serviceproviderlist[5].service': 'Lb', 'displaytext':
>>>>'NiciraNvpL2SNAT', 'serviceproviderlist[0].service': 'UserData',
>>>>'serviceproviderlist[4].provider': 'VirtualRouter',
>>>>'serviceproviderlist[1].provider': 'VirtualRouter', 'availability':
>>>>'Optional', 'conservemode': 'true', 'serviceproviderlist[3].service':
>>>>'StaticNat', 'serviceproviderlist[5].provider': 'VirtualRouter',
>>>>'serviceproviderlist[0].provider': 'VirtualRouter', 'specifyvlan':
>>>>'false', 'serviceproviderlist[8].provider': 'VirtualRouter',
>>>>'serviceproviderlist[9].provider': 'NiciraNvp',
>>>>'serviceproviderlist[1].service': 'Vpn',
>>>>'serviceproviderlist[4].service': 'PortForwarding',
>>>>'supportedservices':
>>>>'UserData,Vpn,Dhcp,StaticNat,PortForwarding,Lb,Firewall,Dns,SourceNat,C
>>>>on
>>>>nectivity', 'traffictype': &#

Re: StretchedL2Subnet

2014-05-13 Thread Murali Reddy

Fixed with below commit.

commit df65b2e7c438986fac645f0a33688f8b36a12152
Author: Murali Reddy 
Date:   Wed May 7 20:03:28 2014 +0530

CLOUDSTACK-6593: Connectivity service capabilites should be matched
with
the provider only if at least one capability is specified


Fix avoids the check, and only if the createNetworkOffering
'StrechedL2'Subnet' capability is specified then it should match
against
'Connectivity' service provider



On 06/05/14 5:41 PM, "Daan Hoogland"  wrote:

>Murali,
>
>Can you have a look to see what defaults where introduced to make
>these tests fail? I see StretchedL2 was introduced in commit
>d2d54a946310d25a8edd4cab5abf8588a9e1b4df, committed on the 20th of
>march.
>
>thanks,
>Daan
>
>On Tue, May 6, 2014 at 2:00 PM, Ian Southam 
>wrote:
>> Anybody know what this is?
>>
>> I see our Integration testing (for Nicira) has started failing of late.
>> We are not requesting such a network so I presume a default has changed
>>somewhere?
>>
>> 
>>
>> ERROR: 
>>test-create-nicira-network-offerings.testNetworkOffering.testCreateNetwor
>>kOfferingNiciraL2
>> --
>> Traceback (most recent call last):
>>   File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197,
>>in runTest
>> self.test(*self.arg)
>>   File "/home/jenkins/slave/workspace/team_tkt/Cloudstack Integration
>>Testing/build-cloud/scripts/test-create-nicira-network-offerings.py",
>>line 80, in testCreateNetworkOfferingNiciraL2
>> resp = conn.marvinRequest(createNetOff)
>>   File 
>>"/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>>line 279, in marvinRequest
>> response = jsonHelper.getResultObj(response.json(), response_type)
>>   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py",
>>line 148, in getResultObj
>> raise cloudstackException.cloudstackAPIException(respname, errMsg)
>> cloudstackAPIException: Execute cmd: createnetworkoffering failed, due
>>to: errorCode: 431, errorText:Provider: NiciraNvp does not support
>>StretchedL2Subnet
>>  >> begin captured stdout << -
>> DEBUG: sending GET request: createNetworkOffering {'specifyipranges':
>>'false', 'serviceproviderlist[2].provider': 'VirtualRouter',
>>'serviceproviderlist[5].service': 'Lb', 'displaytext':
>>'NiciraNvpL2SNAT', 'serviceproviderlist[0].service': 'UserData',
>>'serviceproviderlist[4].provider': 'VirtualRouter',
>>'serviceproviderlist[1].provider': 'VirtualRouter', 'availability':
>>'Optional', 'conservemode': 'true', 'serviceproviderlist[3].service':
>>'StaticNat', 'serviceproviderlist[5].provider': 'VirtualRouter',
>>'serviceproviderlist[0].provider': 'VirtualRouter', 'specifyvlan':
>>'false', 'serviceproviderlist[8].provider': 'VirtualRouter',
>>'serviceproviderlist[9].provider': 'NiciraNvp',
>>'serviceproviderlist[1].service': 'Vpn',
>>'serviceproviderlist[4].service': 'PortForwarding', 'supportedservices':
>>'UserData,Vpn,Dhcp,StaticNat,PortForwarding,Lb,Firewall,Dns,SourceNat,Con
>>nectivity', 'traffictype': 'GUEST', 'serviceproviderlist[6].provider':
>>'VirtualRouter', 'serviceproviderlist[8].service': 'SourceNat',
>>'serviceproviderlist[3].provider': 'VirtualRouter', 'name':
>>'NiciraNvpL2SNAT', 'serviceproviderlist[9].service': 'Connectivity',
>>'guestiptype': 'Isolated', 'serviceproviderlist[7].provider':
>>'VirtualRouter', 'serviceproviderlist[7].service': 'Dns',
>>'serviceproviderlist[2].service': 'Dhcp',
>>'serviceproviderlist[6].service': 'Firewall'}
>> DEBUG: Computed Signature by Marvin: uwA97AMbhXAPNjW+vzx90pAZv1M=
>> DEBUG: Request: 
>>http://cittapp232:8080/client/api?specifyipranges=false&serviceproviderli
>>st%5B2%5D.provider=VirtualRouter&serviceproviderlist%5B5%5D.service=Lb&ap
>>iKey=ZJi1_VqmRIhto3bj9zGlPq9y9ywI15bskwdvIGooKjfppdKk5lQhwVSMPyhs2wDN8o_E
>>K51ePHN8ibzPxXXSTg&displaytext=NiciraNvpL

Re: StretchedL2Subnet

2014-05-15 Thread Daan Hoogland
Murali,

Thanks.

What branches is this on? what branches should it be on?

regards,
Daan

On Thu, May 8, 2014 at 12:35 PM, Murali Reddy  wrote:
>
> Fixed with below commit.
>
> commit df65b2e7c438986fac645f0a33688f8b36a12152
> Author: Murali Reddy 
> Date:   Wed May 7 20:03:28 2014 +0530
>
> CLOUDSTACK-6593: Connectivity service capabilites should be matched
> with
> the provider only if at least one capability is specified
>
>
> Fix avoids the check, and only if the createNetworkOffering
> 'StrechedL2'Subnet' capability is specified then it should match
> against
> 'Connectivity' service provider
>
>
>
> On 06/05/14 5:41 PM, "Daan Hoogland"  wrote:
>
>>Murali,
>>
>>Can you have a look to see what defaults where introduced to make
>>these tests fail? I see StretchedL2 was introduced in commit
>>d2d54a946310d25a8edd4cab5abf8588a9e1b4df, committed on the 20th of
>>march.
>>
>>thanks,
>>Daan
>>
>>On Tue, May 6, 2014 at 2:00 PM, Ian Southam 
>>wrote:
>>> Anybody know what this is?
>>>
>>> I see our Integration testing (for Nicira) has started failing of late.
>>> We are not requesting such a network so I presume a default has changed
>>>somewhere?
>>>
>>> 
>>>
>>> ERROR:
>>>test-create-nicira-network-offerings.testNetworkOffering.testCreateNetwor
>>>kOfferingNiciraL2
>>> --
>>> Traceback (most recent call last):
>>>   File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197,
>>>in runTest
>>> self.test(*self.arg)
>>>   File "/home/jenkins/slave/workspace/team_tkt/Cloudstack Integration
>>>Testing/build-cloud/scripts/test-create-nicira-network-offerings.py",
>>>line 80, in testCreateNetworkOfferingNiciraL2
>>> resp = conn.marvinRequest(createNetOff)
>>>   File
>>>"/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>>>line 279, in marvinRequest
>>> response = jsonHelper.getResultObj(response.json(), response_type)
>>>   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py",
>>>line 148, in getResultObj
>>> raise cloudstackException.cloudstackAPIException(respname, errMsg)
>>> cloudstackAPIException: Execute cmd: createnetworkoffering failed, due
>>>to: errorCode: 431, errorText:Provider: NiciraNvp does not support
>>>StretchedL2Subnet
>>>  >> begin captured stdout << -
>>> DEBUG: sending GET request: createNetworkOffering {'specifyipranges':
>>>'false', 'serviceproviderlist[2].provider': 'VirtualRouter',
>>>'serviceproviderlist[5].service': 'Lb', 'displaytext':
>>>'NiciraNvpL2SNAT', 'serviceproviderlist[0].service': 'UserData',
>>>'serviceproviderlist[4].provider': 'VirtualRouter',
>>>'serviceproviderlist[1].provider': 'VirtualRouter', 'availability':
>>>'Optional', 'conservemode': 'true', 'serviceproviderlist[3].service':
>>>'StaticNat', 'serviceproviderlist[5].provider': 'VirtualRouter',
>>>'serviceproviderlist[0].provider': 'VirtualRouter', 'specifyvlan':
>>>'false', 'serviceproviderlist[8].provider': 'VirtualRouter',
>>>'serviceproviderlist[9].provider': 'NiciraNvp',
>>>'serviceproviderlist[1].service': 'Vpn',
>>>'serviceproviderlist[4].service': 'PortForwarding', 'supportedservices':
>>>'UserData,Vpn,Dhcp,StaticNat,PortForwarding,Lb,Firewall,Dns,SourceNat,Con
>>>nectivity', 'traffictype': 'GUEST', 'serviceproviderlist[6].provider':
>>>'VirtualRouter', 'serviceproviderlist[8].service': 'SourceNat',
>>>'serviceproviderlist[3].provider': 'VirtualRouter', 'name':
>>>'NiciraNvpL2SNAT', 'serviceproviderlist[9].service': 'Connectivity',
>>>'guestiptype': 'Isolated', 'serviceproviderlist[7].provider':
>>>'VirtualRouter', 'serviceproviderlist[7].service': 'Dns',
>>>'serviceproviderlist[2].service': 'Dh

Re: Review Request 22147: CLOUDSTACK-6722: Fix: [OVS][UI] Network created with StretchedL2Subnet is not available for vm deployement in other zones

2014-09-11 Thread Brian Federle

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22147/#review53085
---

Ship it!


Ship It!

- Brian Federle


On June 2, 2014, 5:10 p.m., Gabor Apati-Nagy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/22147/
> ---
> 
> (Updated June 2, 2014, 5:10 p.m.)
> 
> 
> Review request for cloudstack, Brian Federle and Jessica Wang.
> 
> 
> Bugs: CLOUDSTACK-6722
> https://issues.apache.org/jira/browse/CLOUDSTACK-6722
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Fix for CLOUDSTACK-6722: [OVS][UI] Network created with StretchedL2Subnet is 
> not available for vm deployement in other zones
> 
> 
> Diffs
> -
> 
>   ui/scripts/instanceWizard.js 9df6ecc 
> 
> Diff: https://reviews.apache.org/r/22147/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Gabor Apati-Nagy
> 
>



Re: Review Request 22147: CLOUDSTACK-6722: Fix: [OVS][UI] Network created with StretchedL2Subnet is not available for vm deployement in other zones

2014-06-02 Thread Gabor Apati-Nagy

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22147/
---

(Updated June 2, 2014, 6:10 p.m.)


Review request for cloudstack, Brian Federle and Jessica Wang.


Summary (updated)
-

CLOUDSTACK-6722: Fix: [OVS][UI] Network created with StretchedL2Subnet is not 
available for vm deployement in other zones


Bugs: CLOUDSTACK-6722
https://issues.apache.org/jira/browse/CLOUDSTACK-6722


Repository: cloudstack-git


Description (updated)
---

Fix for CLOUDSTACK-6722: [OVS][UI] Network created with StretchedL2Subnet is 
not available for vm deployement in other zones


Diffs
-

  ui/scripts/instanceWizard.js 9df6ecc 

Diff: https://reviews.apache.org/r/22147/diff/


Testing
---


Thanks,

Gabor Apati-Nagy



Review Request 22147: CLOUDSTACK-6722: Fix: [OVS][UI] Network created with StretchedL2Subnet is not available for vm deployement in other zones Edit Comment Assign More Stop Progress Review Workflow E

2014-06-02 Thread Gabor Apati-Nagy

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22147/
---

Review request for cloudstack, Brian Federle and Jessica Wang.


Bugs: CLOUDSTACK-6722
https://issues.apache.org/jira/browse/CLOUDSTACK-6722


Repository: cloudstack-git


Description
---

Fix for CLOUDSTACK-6722: [OVS][UI] Network created with StretchedL2Subnet is 
not available for vm deployement in other zones Edit Comment Assign More Stop 
Progress Review Workflow Export


Diffs
-

  ui/scripts/instanceWizard.js 9df6ecc 

Diff: https://reviews.apache.org/r/22147/diff/


Testing
---


Thanks,

Gabor Apati-Nagy