[LBaaS V2] A delete operation on healthmonitor throws HTTP 500 Internal Server Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Incomplete
|
Low
|
German Eichberger |
Bug Description
I attempted to delete a healthmonitor object using the CLI and the call failed with an HTTP 500.Subsequently I deleted the pool and the loadbalancer objects before successfully being able to delete the healthmonitor.
Not sure if there is a dependency ,but the way to handle this gracefully is to report the error and not throw the HTTP 500 .
neutron lbaas-healthmon
DEBUG: neutronclient.
{'date': 'Fri, 05 Dec 2014 17:35:43 GMT', 'content-length': '161', 'conte nt-type': 'application/json; charset=UTF-8', 'x-openstack-
) {"NeutronError
": {"message": "Invalid state PENDING_DELETE of loadbalancer resource 0c4aa5b9-
", "detail": ""}}
DEBUG: neutronclient.
e 0c4aa5b9-
ERROR: neutronclient.shell Invalid state PENDING_DELETE of loadbalancer resource 0c4aa5b9-
Traceback (most recent call last):
File "/usr/local/
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/local/
return cmd.run(known_args)
File "/usr/local/
obj_deleter(_id)
File "/usr/local/
ret = self.function(
File "/usr/local/
(lbaas_
File "/usr/local/
headers=headers, params=params)
File "/usr/local/
headers=headers, params=params)
File "/usr/local/
self._handle_
File "/usr/local/
exception_
File "/usr/local/
status_
StateInvalidClient: Invalid state PENDING_DELETE of loadbalancer resource 0c4aa5b9-
DEBUG: neutronclient.shell clean_up DeleteHealthMonitor
DEBUG: neutronclient.shell Got an error: Invalid state PENDING_DELETE of loadbalancer resource 0c4aa5b9-
6
Changed in neutron: | |
assignee: | nobody → German Eichberger (german-eichberger) |
Changed in neutron: | |
importance: | Undecided → Low |
Changed in neutron: | |
status: | New → Incomplete |
In juno, for the above mentioned scenario the following error is thrown,
root@controller:~# neutron lb-healthmonito r-delete 4e95202d- 4913-4ac2- 91b8-cf8683da95 c7 4913-4ac2- 91b8-cf8683da95 c7 still has associations with pools (HTTP 409) (Request-ID: req-bb9db640- e6fe-48c7- 8a04-a95534a520 99)
Health monitor 4e95202d-
This is expected output.
Could you please confirm if this error is simulated in juno.
If so, can you attach the following logs/info?
1. output of command, r-delete <health moniotor id>
neutron --verbose lb-healthmonito
2. Neutron's
server.log agent.log
lbaas-
--