[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026873#comment-14026873
 ] 

Rayees Namathponnan commented on CLOUDSTACK-6888:
-------------------------------------------------

Test cases fails with below error 


Error Message

Execute cmd: createportableiprange failed, due to: errorCode: 431, errorText:Ip 
 range: 10.223.252.196-10.223.252.197 overlaps with a portable IP range already 
configured in the region 1
-------------------- >> begin captured stdout << ---------------------
=== TestName: test_list_portable_ip_range | Status : EXCEPTION ===


--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
test_disassociate_ip_address_services_enabled 
(integration.component.test_portable_ip.TestDisassociatePublicIp): DEBUG: 
Payload: {'apiKey': 
u'rv4IBxTIKzc6h-tY3uK6cR801RPQNpbw70XfDHRSl8K6ACvAAlRW6eGXHDhwcixa6xqp1TpuWhVpK88ilBrjQw',
 'id': u'b4004a91-d3df-47cd-bb8e-bed08c6e0a08', 'state': 'Disabled', 'command': 
'updateNetworkOffering', 'signature': '4Uy6LYRzRRoLtRda0ibMYCQuu6Q=', 
'response': 'json'}
test_disassociate_ip_address_services_enabled 
(integration.component.test_portable_ip.TestDisassociatePublicIp): DEBUG: 
========Sending GET Cmd : updateNetworkOffering=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?apiKey=rv4IBxTIKzc6h-tY3uK6cR801RPQNpbw70XfDHRSl8K6ACvAAlRW6eGXHDhwcixa6xqp1TpuWhVpK88ilBrjQw&id=b4004a91-d3df-47cd-bb8e-bed08c6e0a08&state=Disabled&command=updateNetworkOffering&signature=4Uy6LYRzRRoLtRda0ibMYCQuu6Q%3D&response=json
 HTTP/1.1" 200 1671
test_disassociate_ip_address_services_enabled 
(integration.component.test_portable_ip.TestDisassociatePublicIp): DEBUG: 
Response : {supportsstrechedl2subnet : False, specifyipranges : False, 
conservemode : False, name : u'Network offering portable ip-O06REA', service : 
[{name : u'Vpn', provider : [{name : u'VirtualRouter'}]}, {name : u'Dns', 
provider : [{name : u'VirtualRouter'}]}, {name : u'PortForwarding', provider : 
[{name : u'VirtualRouter'}]}, {capability : [{value : u'false', name : 
u'ElasticIp', canchooseservicecapability : False}, {value : u'false', name : 
u'AssociatePublicIP', canchooseservicecapability : False}], name : 
u'StaticNat', provider : [{name : u'VirtualRouter'}]}, {name : u'Dhcp', 
provider : [{name : u'VirtualRouter'}]}, {name : u'UserData', provider : [{name 
: u'VirtualRouter'}]}, {name : u'Firewall', provider : [{name : 
u'VirtualRouter'}]}, {capability : [{value : u'shared', name : 
u'SupportedLBIsolation', canchooseservicecapability : False}, {value : 
u'false', name : u'ElasticLb', canchooseservicecapability : False}, {value : 
u'false', name : u'InlineMode', canchooseservicecapability : False}], name : 
u'Lb', provider : [{name : u'VirtualRouter'}]}, {capability : [{value : 
u'peraccount', name : u'SupportedSourceNatTypes', canchooseservicecapability : 
False}, {value : u'false', name : u'RedundantRouter', 
canchooseservicecapability : False}], name : u'SourceNat', provider : [{name : 
u'VirtualRouter'}]}], networkrate : 200, guestiptype : u'Isolated', 
availability : u'Optional', traffictype : u'Guest', state : u'Disabled', 
ispersistent : False, displaytext : u'Network offering-VR services-30B14X', 
specifyvlan : False, id : u'b4004a91-d3df-47cd-bb8e-bed08c6e0a08', forvpc : 
False, serviceofferingid : u'c2046853-907c-4a3e-9cd6-ae38c481b451', isdefault : 
False, egressdefaultpolicy : True}
test_disassociate_ip_address_services_enabled 
(integration.component.test_portable_ip.TestDisassociatePublicIp): DEBUG: 
Payload: {'signature': 'M0g3euwxp8KMxazVDuwJc7EVsgw=', 'apiKey': 
u'rv4IBxTIKzc6h-tY3uK6cR801RPQNpbw70XfDHRSl8K6ACvAAlRW6eGXHDhwcixa6xqp1TpuWhVpK88ilBrjQw',
 'command': 'deleteAccount', 'id': u'8d5fddb3-6fde-44f5-a39d-cdbad7211d9f', 
'response': 'json'}

> [Automation] Portable IP test cases not picking the ips from config file, 
> always picking data from test case or test data file
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6888
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6888
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation
>    Affects Versions: 4.4.0
>            Reporter: Rayees Namathponnan
>            Priority: Critical
>             Fix For: 4.4.0
>
>
> i configured below information in config file,   but test case never pick 
> this during automation run, 
>     "portableIpRange": {
>         "gateway" : "10.223.122.65",
>         "netmask" : "255.255.255.192",
>         "startip" : "10.223.122.120",
>         "endip"   : "10.223.122.121",
>         "vlan"    : "2359"
>        }



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to