cannot delete v2 healthmonitor if the hm-associated-pool was deleted first
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
LIU Yulong |
Bug Description
Steps:
1. create lb
2. create listener
3. create pool (pool-1)
4. add a healthmonitor (healthmonitor-1) to pool-1
5. delete the pool-1
Then, you cannot delete healthmonitor-1 if the pool-1 was deleted first.
Log:
2015-04-30 16:51:23.422 6369 INFO neutron.wsgi [req-2876374c-
2015-04-30 16:51:23.430 6369 INFO neutron.wsgi [-] (6369) accepted ('172.16.2.10', 17115)
2015-04-30 16:51:23.532 6369 ERROR neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
2015-04-30 16:51:23.532 6369 TRACE neutron.
Code:
class HealthMonitorV2
...
@property
def root_loadbalanc
return self.pool.
Potential Solution:
1. Check pool whether binding a healthmonitor before delete
2. Add loadbalancer attr to HealthMonitorV2
summary: |
- cannot delete healthmonitor if the hm-associated-pool was deleted first + cannot delete v2 healthmonitor if the hm-associated-pool was deleted + first |
description: | updated |
Changed in neutron: | |
assignee: | nobody → LIU Yulong (dragon889) |
Changed in neutron: | |
status: | In Progress → Incomplete |
assignee: | LIU Yulong (dragon889) → nobody |
Changed in neutron: | |
assignee: | nobody → LIU Yulong (dragon889) |
status: | Incomplete → In Progress |
Fix proposed to branch: master /review. openstack. org/179684
Review: https:/