Could not load neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver

Bug #1603860 reported by Rabi Mishra
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Invalid
Undecided
Unassigned
neutron
Fix Released
Undecided
Thomas Herve

Bug Description

It seems the recent change[1] has broken the heat gate.

The neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver could not be loaded(used by heat) as you can see in the log[2]

Heat tests fail with the following error, as it can't reach the lb url.

-----------------------------------
2016-07-18 03:37:24.960600 | 2016-07-18 03:37:24.960 | Captured traceback:
2016-07-18 03:37:24.962940 | 2016-07-18 03:37:24.962 | ~~~~~~~~~~~~~~~~~~~
2016-07-18 03:37:24.964775 | 2016-07-18 03:37:24.964 | Traceback (most recent call last):
2016-07-18 03:37:24.966464 | 2016-07-18 03:37:24.966 | File "/opt/stack/new/heat/heat_integrationtests/scenario/test_autoscaling_lbv2.py", line 95, in test_autoscaling_loadbalancer_neutron
2016-07-18 03:37:24.967935 | 2016-07-18 03:37:24.967 | self.check_num_responses(lb_url, 1)
2016-07-18 03:37:24.971719 | 2016-07-18 03:37:24.970 | File "/opt/stack/new/heat/heat_integrationtests/scenario/test_autoscaling_lbv2.py", line 49, in check_num_responses
2016-07-18 03:37:24.973581 | 2016-07-18 03:37:24.973 | self.assertEqual(expected_num, len(resp))
2016-07-18 03:37:24.975288 | 2016-07-18 03:37:24.974 | File "/opt/stack/new/heat/.tox/integration/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
2016-07-18 03:37:24.977807 | 2016-07-18 03:37:24.977 | self.assertThat(observed, matcher, message)
2016-07-18 03:37:24.979352 | 2016-07-18 03:37:24.979 | File "/opt/stack/new/heat/.tox/integration/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
2016-07-18 03:37:24.980967 | 2016-07-18 03:37:24.980 | raise mismatch_error
2016-07-18 03:37:24.983051 | 2016-07-18 03:37:24.982 | testtools.matchers._impl.MismatchError: 1 != 0
2016-07-18 03:37:24.984806 | 2016-07-18 03:37:24.984 |
------------------------

[1] https://github.com/openstack/neutron-lbaas/commit/56795d73094832b58b4804007ed31b5e896f59fc
[2] http://logs.openstack.org/56/343356/1/check/gate-heat-dsvm-functional-orig-mysql-lbaasv2/d1b8aca/logs/screen-q-lbaasv2.txt.gz#_2016-07-18_03_18_51_864

Tags: lbaas
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron-lbaas (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/343496

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to heat (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/343497

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.openstack.org/343499

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to heat (master)

Reviewed: https://review.openstack.org/343499
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=cac0dea3eef27b7ac86e0bcd08b90e8a7bfd10b9
Submitter: Jenkins
Branch: master

commit cac0dea3eef27b7ac86e0bcd08b90e8a7bfd10b9
Author: rabi <email address hidden>
Date: Mon Jul 18 14:11:11 2016 +0530

    Skip AutoscalingLoadBalancerv2Test

    Change-Id: I3ed0d07eb2d2ba067043821491f1f35fada22322
    Related-Bug: #1603860

Changed in neutron:
assignee: nobody → Thomas Herve (therve)
status: New → In Progress
Revision history for this message
Thomas Herve (therve) wrote :

The stevedore message is just noise, it's present before, and the test succeeds even with that message. It seems that there is an issue spawning the haproxy processes.

Miguel Lavalle (minsel)
tags: added: lbaas
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-lbaas (master)

Reviewed: https://review.openstack.org/343496
Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=4cf5d902d86b747581d41f10553285a3c6b811e1
Submitter: Jenkins
Branch: master

commit 4cf5d902d86b747581d41f10553285a3c6b811e1
Author: Thomas Herve <email address hidden>
Date: Mon Jul 18 08:37:41 2016 +0000

    Revert "Implements ProcessMonitor in the haproxy driver"

    This reverts commit 56795d73094832b58b4804007ed31b5e896f59fc.

    Process management doesn't seem to work properly, and tests fail in Heat
    test suite.

    Change-Id: Ibeae3af1ee44b476d2db919d6144788aa867710e
    Closes-Bug: #1603860

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron-lbaas (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/344658

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by Thomas Herve (<email address hidden>) on branch: master
Review: https://review.openstack.org/343497

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-lbaas 9.0.0.0b3

This issue was fixed in the openstack/neutron-lbaas 9.0.0.0b3 development milestone.

Rabi Mishra (rabi)
Changed in heat:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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