LBaaS: failed to delete a healthmonitor in DB

Bug #1198996 reported by Bo Lin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Oleg Bondarev

Bug Description

stack@Node1:~/devstack$ quantum lb-healthmonitor-create --delay 30 --max-retries 10 --timeout 60 --type HTTP
Created a new health_monitor:
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| admin_state_up | True |
| delay | 30 |
| expected_codes | 200 |
| http_method | GET |
| id | b5901e05-a9ab-4086-83f8-a64937837714 |
| max_retries | 10 |
| status | PENDING_CREATE |
| tenant_id | a2823e17ef974decae09ae79e14eca44 |
| timeout | 60 |
| type | HTTP |
| url_path | / |
+----------------+--------------------------------------+
stack@Node1:~/devstack$ quantum lb-healthmonitor-list
+--------------------------------------+------+----------------+----------------+
| id | type | admin_state_up | status |
+--------------------------------------+------+----------------+----------------+
| 63f4d0dc-c0f0-43da-bde7-d711e9bb0603 | HTTP | True | PENDING_CREATE |
| b5901e05-a9ab-4086-83f8-a64937837714 | HTTP | True | PENDING_CREATE |
+--------------------------------------+------+----------------+----------------+
stack@Node1:~/devstack$ quantum lb-healthmonitor-delete b5901e05-a9ab-4086-83f8-a64937837714
Deleted health_monitor: b5901e05-a9ab-4086-83f8-a64937837714
stack@Node1:~/devstack$ quantum lb-healthmonitor-list
+--------------------------------------+------+----------------+----------------+
| id | type | admin_state_up | status |
+--------------------------------------+------+----------------+----------------+
| 63f4d0dc-c0f0-43da-bde7-d711e9bb0603 | HTTP | True | PENDING_CREATE |
| b5901e05-a9ab-4086-83f8-a64937837714 | HTTP | True | PENDING_CREATE |
+--------------------------------------+------+----------------+----------------+

Tags: lbaas
Bo Lin (linb)
Changed in neutron:
assignee: nobody → berlin (linb)
Bo Lin (linb)
summary: - failed to delete a healthmonitor
+ LBaaS: failed to delete a healthmonitor in DB
Changed in neutron:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Oleg Bondarev (obondarev) wrote :

Hi berlin, I'm going to fix a couple of issues with healthmonitors in lbaas including this one. Can I reassign a bug to myself then?

Bo Lin (linb)
Changed in neutron:
assignee: berlin (linb) → nobody
Revision history for this message
Bo Lin (linb) wrote :

Hi Oleg, I have unassigned me the bug. Pls feel free to assign the bug to you.

Revision history for this message
Oleg Bondarev (obondarev) wrote :

Thanks berlin!

Changed in neutron:
assignee: nobody → Oleg Bondarev (obondarev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
status: Confirmed → In Progress
Changed in neutron:
milestone: none → havana-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/37895
Committed: http://github.com/openstack/neutron/commit/4bd7bea0dbb54b6ed287f21ab7a6d65b177f017c
Submitter: Jenkins
Branch: master

commit 4bd7bea0dbb54b6ed287f21ab7a6d65b177f017c
Author: Oleg Bondarev <email address hidden>
Date: Fri Jul 19 17:00:13 2013 +0400

    LBaaS: add delete_health_monitor() to driver API

    Currently there is create_health_monitor() in the driver API so
    a driver may create an object on device but there is no delete_health_monitor()
    and monitor objects will remain on device forever.
    Driver should at least call plugin to delete a db object.

    Fixes bug 1198996

    Change-Id: Idcdaea0636e01381064983d8de5bfe3936357fb9

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-3 → 2013.2
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.