yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59474
[Bug 1632054] Re: Heat engine doesn't detect lbaas listener failures
The neutron project with lbaas tag was for neutron-lbaas, but now that
we have merged the projects, I am removing neutron as it is all under
octavia project now.
** No longer affects: neutron
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1632054
Title:
Heat engine doesn't detect lbaas listener failures
Status in heat:
Triaged
Status in octavia:
Triaged
Bug description:
Please refer to the mail-list for comments from other developers,
https://openstack.nimeyo.com/97427/openstack-neutron-octavia-doesnt-
detect-listener-failures
I am trying to use heat to launch lb resources with Octavia as backend. The
template I used is from
https://github.com/openstack/heat-templates/blob/master/hot/lbaasv2/lb_group.yaml
.
Following are a few observations:
1. Even though Listener was created with ERROR status, heat will still go
ahead and mark it Creation Complete. As in the heat code, it only check
whether root Loadbalancer status is change from PENDING_UPDATE to ACTIVE.
And Loadbalancer status will be changed to ACTIVE anyway no matter
Listener's status.
2. As heat engine wouldn't know the Listener's creation failure, it will
continue to create Pool\Member\Heatthmonitor on top of an Listener which
actually doesn't exist. It causes a few undefined behaviors. As a result,
those LBaaS resources in ERROR state are unable to be cleaned up
with either normal neutron or heat api.
3. The bug is introduce from here,
https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/neutron/lbaas/listener.py#L188.
It only checks the provisioning status of the root loadbalancer.
However the listener itself has its own provisioning status which may
go into ERROR.
4. The same scenario applies for not only listener but also pool,
member, healthmonitor, etc., basically every resources except
loadbalancer from lbaas.
To manage notifications about this bug go to:
https://bugs.launchpad.net/heat/+bug/1632054/+subscriptions