OS::Neutron::LBaaS::Pool is missing the loadbalancer property

Bug #1655303 reported by Fredrik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Wishlist
Rabi Mishra

Bug Description

Missing the loadbalancer property to be able to create more than one pool against the same loadbalancer to use the LBaaS L7 policies/rules.

Neutron allows you to create a pool without a listener using the loadbalancer flag
$ neutron lbaas-pool-create --lb-algorithm ROUND_ROBIN --protocol HTTP
At least one of --listener or --loadbalancer must be specified.

This is useful when having a single listener on port 80.
And setting up multiple LBaaS L7 policies to do REDIRECT_TO_POOL depending on "url-content".

Attaching an example which at this point fails with:
openstack stack create \
 -f yaml \
 -e $MYENV \
 -t lbaas_l7_failing.yaml \
 lbaas_l7

ERROR: Property error: : resources.pool_dashboard.properties: : Unknown Property loadbalancer

So if this is a feature request or a bug, I'm not sure.
The template sets up a listener on port 80.
Then for hosts starting with dashboard lb's it to the dashboard_pool
And for hosts starting with horizon lb's it to the horizon_pool

Revision history for this message
Fredrik (fredrik-tarnell) wrote :
Revision history for this message
Thomas Herve (therve) wrote :

I believe it's a leftover from the l7 implementation. We don't support the last round of change on existing lbaas resources.

Changed in heat:
importance: Undecided → Wishlist
milestone: none → next
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
assignee: nobody → Rabi Mishra (rabi)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

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

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

Rabi Mishra (rabi)
Changed in heat:
milestone: next → ocata-3
Rabi Mishra (rabi)
Changed in heat:
milestone: ocata-3 → pike-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

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

commit 6dbc3cede01c7273420cf0c3976afe5d3ccb6e00
Author: rabi <email address hidden>
Date: Thu Jan 12 11:57:27 2017 +0530

    Add 'loadbalancer' property to lbassv2 pool

    Adds 'loadbalancer' property to OS::Neutron::LBaas::Pool
    resource. This would require the shared_pool service extension.

    Change-Id: I3a52d2299fc67f6c3c17eb4b9db07518b9f1a85a
    Partial-Bug: #1655303

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

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

commit f4634ca266474ef9dcf5bb55477e777128167ccc
Author: rabi <email address hidden>
Date: Thu Jan 12 11:57:27 2017 +0530

    Add 'default_pool' property to lbaasv2 listener

    Adds 'default_pool' property to OS::Neutron::LBaaS::Listener.
    This would require shared_pool service extension.

    Change-Id: Ibf825b44df02170f7a3a46e23d9746a4a8dd1e1e
    Partial-Bug: #1655303

Changed in heat:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

commit 8c111b5ac8b5b6f38f98bf9c0b9643a86c5d0cb7
Author: rabi <email address hidden>
Date: Thu Jan 12 14:29:01 2017 +0530

    Add 'pools' attribute to lbaasv2 loadbalancer

    This adds 'pools' attribute to OS::Neutron::LBaaS::LoadBalancer.

    Change-Id: Icac18cfd3630ad41d37ab4149294677074425141
    Closes-Bug: #1655303

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 9.0.0.0b1

This issue was fixed in the openstack/heat 9.0.0.0b1 development milestone.

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.