Wrong haproxy-status on l3 agent node after restart

Bug #1608561 reported by Alexey. Kalashnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Ivan Suzdal

Bug Description

Detailed bug description:
 During swarm tests one of them failed with ostf check error with haproxy status.
After reset controller with l3-agent, we got wrong status of backends not restarted nodes in out of haproxy-status.sh on restarted node

Seems like after reset, controller with l3 agent can't get status of other controllers and don't update them later

restarted node:
http://paste.openstack.org/show/545143/

other controllers:
http://paste.openstack.org/show/545144/

Steps to reproduce:
   1. Revert snapshot with neutron cluster
   2. Create an instance with a key pair
   3. Manually reschedule router from primary controller
           to another one
   4. Reset controller with l3-agent
   5. Check l3-agent was rescheduled
   6. Check network connectivity from instance via
           dhcp namespace
   7. Run OSTF

Expected results:
 all steps passed

Actual result:
OSTF check fialed with message:
http://paste.openstack.org/show/545145/

Description of the environment:
Snapshot #76

https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.ha_neutron_destructive_vxlan/13/parameters/

https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.ha_neutron_destructive_vxlan/13/console

logs:
https://drive.google.com/open?id=0B0EB6QSDWt2veUJGQXNSVmp3eGM

description: updated
Changed in fuel:
milestone: none → 9.1
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
tags: added: area-library
Changed in fuel:
status: New → Confirmed
importance: Undecided → High
Dmitry Pyzhov (dpyzhov)
tags: added: 9.1-proposed
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Kyrylo Galanov (kgalanov)
Revision history for this message
Kyrylo Galanov (kgalanov) wrote :

Unfortunately it is haproxy bug. Status is UP via http and DOWN via unix socket:
 echo "show info;show stat;show table" | socat /var/lib/haproxy/stats stdio
  --> http://paste.openstack.org/show/550407/

 curl "http://10.109.11.9:10000/;csv"
  --> http://paste.openstack.org/show/550409/

Changed in fuel:
assignee: Kyrylo Galanov (kgalanov) → MOS Linux (mos-linux)
Ivan Suzdal (isuzdal)
Changed in fuel:
assignee: MOS Linux (mos-linux) → Ivan Suzdal (isuzdal)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to packages/trusty/haproxy (9.0)

Related fix proposed to branch: 9.0
Change author: Ivan Suzdal <email address hidden>
Review: https://review.fuel-infra.org/24647

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to packages/xenial/haproxy (master)

Related fix proposed to branch: master
Change author: Ivan Suzdal <email address hidden>
Review: https://review.fuel-infra.org/24673

Revision history for this message
Alexey. Kalashnikov (akalashnikov) wrote :
Dmitry Pyzhov (dpyzhov)
tags: removed: area-library
Ivan Suzdal (isuzdal)
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

The results of job https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.ha_neutron_destructive_vxlan/ are green, status changed to Fix Released for MOS 9.1

Changed in fuel:
status: Fix Committed → Fix Released
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.