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

Santhosh Kumar Edukulla commented on CLOUDSTACK-4846:
-----------------------------------------------------

I tested the test_deployvm..with data test module on my setup today with post 
call and it worked fine. The same when tested on another machine with default 
python version as 2.6.x , it has thrown the error mentioned. Note, in both the 
mentioned scenarios, management server is same. This clarifies that post call 
is working and has no issues with data as well. This could be the setup issue 
where this is hit with because of different library versions of python. On my 
setup where it worked and created a vm on cs is having python version of 2.7.5. 
Please clean up the setup where marvin is running and make sure that the 
default python, nosetests versions are above or equal to 2.7 for proper 
working. Iam resolving this issue and you can reopen in case if issue persists 
for other reasons.

> Http connection error in marvin
> -------------------------------
>
>                 Key: CLOUDSTACK-4846
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4846
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation, marvin
>            Reporter: Girish Shilamkar
>            Assignee: Santhosh Kumar Edukulla
>
> The connection fails with httplib.BadStatusLine which means that the error 
> code returned by http server was not recognised by marvin and therefore it 
> breaks.
> ======================================================================
> ERROR: test_11_egress_fr11 (test_egress_fw_rules.TestEgressFWRules)
> Test Regression on Firewall + PF + LB + SNAT
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/root/girish-1/test_egress_fw_rules.py", line 778, in 
> test_11_egress_fr11
>     self.create_vm(pfrule=True)
>   File "/root/girish-1/test_egress_fw_rules.py", line 202, in create_vm
>     self.create_network_offering(egress_policy, RR)
>   File "/root/girish-1/test_egress_fw_rules.py", line 193, in 
> create_network_offering
>     conservemode=True)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 
> 1525, in create
>     return NetworkOffering(apiclient.createNetworkOffering(cmd).__dict__)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
>  line 1690, in createNetworkOffering
>     response = self.connection.marvin_request(command, 
> response_type=response, method=method)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 218, in marvin_request
>     cmdname, self.auth, payload=payload, method=method)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 153, in request
>     raise c
> ConnectionError: HTTPConnectionPool(host='10.147.38.166', port=8080): Max 
> retries exceeded with url: 
> /client/api?apiKey=nVogzlRMdVgV78_e8egxMjqHCgAnAcnvUZkBWdldBFu18q-rjH6yxjGM3XqobvNTn4RvYbv9jl_GSWSczzm5aw&egressdefaultpolicy=true&serviceproviderlist%5B2%5D.provider=VirtualRouter&serviceproviderlist%5B5%5D.service=Dhcp&displaytext=Network+offering-VR+services-IRI2NS&specifyVlan=False&serviceproviderlist%5B4%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.provider=VirtualRouter&availability=Optional&conservemode=True&servicecapabilitylist%5B1%5D.capabilitytype=SupportedSourceNatTypes&serviceproviderlist%5B3%5D.service=Dns&serviceproviderlist%5B5%5D.provider=VirtualRouter&response=json&serviceproviderlist%5B0%5D.provider=VirtualRouter&servicecapabilitylist%5B0%5D.capabilitytype=RedundantRouter&serviceproviderlist%5B8%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.service=Lb&servicecapabilitylist%5B0%5D.service=SourceNat&serviceproviderlist%5B4%5D.service=Firewall&supportedservices=Dhcp%2CDns%2CSourceNat%2CPortForwarding%2CVpn%2CFirewall%2CLb%2CUserData%2CStaticNat&traffictype=GUEST&servicecapabilitylist%5B1%5D.service=SourceNat&serviceproviderlist%5B6%5D.provider=VirtualRouter&serviceproviderlist%5B8%5D.service=StaticNat&serviceproviderlist%5B3%5D.provider=VirtualRouter&name=Network+offering-VR+services-4O5XR6&guestiptype=Isolated&serviceproviderlist%5B7%5D.provider=VirtualRouter&servicecapabilitylist%5B1%5D.capabilityvalue=peraccount&serviceproviderlist%5B7%5D.service=SourceNat&serviceproviderlist%5B2%5D.service=PortForwarding&servicecapabilitylist%5B0%5D.capabilityvalue=true&serviceproviderlist%5B6%5D.service=Vpn&command=createNetworkOffering&signature=HRgb20smMpvPN6J1Eay3ySPGbxs%3D&serviceproviderlist%5B0%5D.service=UserData
>  (Caused by <class 'httplib.BadStatusLine'>: '')



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to