Ask Your Question

How do you set the load balancer provider for a pool in HOT?

asked 2014-09-19 14:52:10 -0500

Heather gravatar image

updated 2014-09-19 14:52:50 -0500

I see that the web service provides an api to specify the provider when creating a pool.

    "pool": {
        "status": "PENDING_CREATE",
        "lb_method": "ROUND_ROBIN",
        "protocol": "HTTP",
        "description": "",
        "health_monitors": [],
        "members": [],
        "status_description": null,
        "id": "69055154-f603-4a28-8951-7cc2d9e54a9a",
        "vip_id": null,
        "name": "Example pool",
        "admin_state_up": true,
        "subnet_id": "1981f108-3c48-48d2-b908-30f7d28532c9",
        "tenant_id": "2ffc6e22aae24e4795f87155d24c896f",
        "health_monitors_status": [],
        "provider": "haproxy"

But it doesn't look like an option in HOT. We are using F5's and have it working via the API, but I want to make sure we can do it from HOT.

HeatTemplateFormatVersion: '2012-12-12'
    Type: OS::Neutron::Pool
      admin_state_up: Boolean
      description: String
      lb_method: String
      monitors: [Value, Value, ...]
      name: String
      protocol: String
      subnet: String
      vip: {"session_persistence": {"cookie_name": String, "type": String}, "subnet": String, "name": String, "address": String, "protocol_port": Integer, "connection_limit": Integer, "admin_state_up": Boolean, "description": String}

When I attempted from my HOT doc I got the following error:

ERROR: Unknown Property provider

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-09-22 07:09:53 -0500

Heather gravatar image

I'll take a look at adding it. Do you know if it is going to be there in Juno? My other option is to just set it to be the default provider for now, but it would be better to add the support for the attribute.

edit flag offensive delete link more


I have no idea. Your best bet may be to take this question to #heat on IRC and ask the developers directly.

larsks gravatar imagelarsks ( 2014-09-22 07:57:48 -0500 )edit

answered 2014-09-20 14:29:13 -0500

larsks gravatar image

It doesn't look like Heat supports the provider attribute at this time. If you wanted to add the necessary support, you would probably want to investigate the Pool class in heat/engine/resources/neutron/

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-09-19 14:52:10 -0500

Seen: 404 times

Last updated: Sep 22 '14