haproxy-status.sh exit status: 1, Error: 2016/10/10 14:06:00 socat[20638] E connect(5, AF=1 "/var/lib/haproxy/stats", 24): No such file or directory

Bug #1632726 reported by Alexandra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
Dmitry Ilyin
Mitaka
Won't Fix
High
Dmitry Ilyin
Newton
Won't Fix
High
Dmitry Ilyin

Bug Description

Swarm test is failed on 10.0 #839
https://product-ci.infra.mirantis.net/job/10.0.system_test.ubuntu.controller_replacement/146/testReport/(root)/deploy_ha_neutron_vlan_ctrl_replacement/

Failed 1 OSTF tests; should fail 0 tests. Names of failed tests:
  - Check state of haproxy backends on controllers (failure) Can't get state of backends. Please refer to OpenStack logs for more details.

Extraction from ostf.log:
2016-10-10 14:06:00 ERROR (test_mixins) Command 'haproxy-status.sh | egrep -v "BACKEND|FRONTEND"', exit status: 1, Error:
2016/10/10 14:06:00 socat[20638] E connect(5, AF=1 "/var/lib/haproxy/stats", 24): No such file or directory
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/fuel_health/common/test_mixins.py", line 176, in verify
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/fuel_health/tests/ha/test_haproxy.py", line 60, in _check_haproxy_backend
    return remote.exec_command("{0}{1}".format(cmd, ''.join(grep)))
  File "/usr/lib/python2.7/site-packages/fuel_health/common/ssh.py", line 165, in exec_command
    strerror=''.join(err_data).join(out_data))
SSHExecCommandFailed: Command 'haproxy-status.sh | egrep -v "BACKEND|FRONTEND"', exit status: 1, Error:
2016/10/10 14:06:00 socat[20638] E connect(5, AF=1 "/var/lib/haproxy/stats", 24): No such file or directory

Tags: area-library
Revision history for this message
Alexandra (aallakhverdieva) wrote :
Changed in fuel:
milestone: none → 10.0
Revision history for this message
Alexandra (aallakhverdieva) wrote :
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
tags: added: area-library
Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

I can't reproduce this bug on local env. But when looked at system tests, we can see that there are too much memory and cpu consumed at the error time. So it can be a cpu/mem resources problem.

Revision history for this message
Alexey Shtokolov (ashtokolov) wrote :
Changed in fuel:
status: Confirmed → Invalid
status: Invalid → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 10.0 → 11.0
Revision history for this message
Dmitry Ilyin (idv1985) wrote :

This script communicates with the haproxy daemon via the unix socket which means that haproxy should be running on the same system the script is being run.

Perhaps, there should be a better error message or the script should support connection to the haproxy via virtual ip?

Or haproxy is just not running for some reason.

Dmitry Ilyin (idv1985)
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Dmitry Ilyin (idv1985)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/419472

Changed in fuel:
status: Confirmed → In Progress
Dmitry Ilyin (idv1985)
Changed in fuel:
status: In Progress → Invalid
status: Invalid → Won't Fix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Fuel DevOps Robot (<email address hidden>) on branch: master
Review: https://review.openstack.org/419472
Reason: This review is > 4 weeks without comment and currently blocked by a core reviewer with a -2. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and contacting the reviewer with the -2 on this review to ensure you address their concerns.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.