Github user serg38 commented on the issue:

    https://github.com/apache/cloudstack/pull/927
  
    @karuturi 
    
    Smoke test test_internal_lb.py  uses  a value of 
network.loadbalancer.haproxy.stats.auth which is encrypted for haproxy checks. 
    
    settings["username"], settings["password"] = Configurations.list(
                    self.apiclient, 
name="network.loadbalancer.haproxy.stats.auth")[0].value.split(":")
    
    Looks like the test needs to be reworked to support decryption. 
    
    test_04_rvpc_internallb_haproxy_stats_on_all_interfaces 
(tests.smoke.test_internal_lb.TestInternalLb): DEBUG: ========Sending GET Cmd : 
listConfigurations=======
    requests.packages.urllib3.connectionpool: DEBUG: Starting new HTTP 
connection (1): 10.2.2.74
    requests.packages.urllib3.connectionpool: DEBUG: http://10.2.2.74:8080 "GET 
/client/api?apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&name=network.loadbalancer.haproxy.stats.auth&command=listConfigurations&signature=CIbKLFE4BGTK3QsvDeeO3Aux0nY%3D&response=json
 HTTP/1.1" 200 266
    test_04_rvpc_internallb_haproxy_stats_on_all_interfaces 
(tests.smoke.test_internal_lb.TestInternalLb): DEBUG: Response : [{category : 
u'Secure', name : u'network.loadbalancer.haproxy.stats.auth', value : 
u'fjtpluk/LdwnvDx4FKo1z1JRAZTaW1Td', description : u'Load Balancer(haproxy) 
authetication string in the format username:password'}]
    test_04_rvpc_internallb_haproxy_stats_on_all_interfaces 
(tests.smoke.test_internal_lb.TestInternalLb): CRITICAL: EXCEPTION: 
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces: ['Traceback (most 
recent call last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 
369, in run\n    testMethod()\n', '  File 
"/marvin/tests/smoke/test_internal_lb.py", line 784, in 
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces\n    
self.execute_internallb_haproxy_tests(redundant_vpc_offering)\n', '  File 
"/marvin/tests/smoke/test_internal_lb.py", line 788, in 
execute_internallb_haproxy_tests\n    settings = 
self.get_lb_stats_settings()\n', '  File 
"/marvin/tests/smoke/test_internal_lb.py", line 714, in get_lb_stats_settings\n 
   self.fail("Failed to retrieve stats settings " % e)\n', 'TypeError: not all 
arguments converted during string formatting\n']


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to