Required attribute 'lb_method' not specified when creating a LBaaSv2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Invalid
|
Undecided
|
Unassigned | ||
neutron |
Expired
|
Undecided
|
Unassigned | ||
python-neutronclient |
Expired
|
Undecided
|
Unassigned |
Bug Description
When creating a LBaaS v2 loadbalancer, listener and pool, I get:
----- s n i p -----
2016-08-23 14:04:32 [pool]: CREATE_FAILED BadRequest: resources.pool: Failed to parse request. Required attribute 'lb_method' not specified
----- s n i p -----
The test stack:
----- s n i p -----
heat_template_
description: Loadbalancer template
resources:
lbaas:
type: OS::Neutron:
properties:
name: lbaas-test
description: lbaas-test
vip_subnet: subnet-97
listener:
type: OS::Neutron:
properties:
name: listener-test
description: listener-test
loadbalancer: { get_resource: lbaas }
protocol: TCP
protocol_
pool:
type: OS::Neutron:
properties:
name: hapool-test
description: hapool-test
listener: { get_resource: listener }
protocol: TCP
lb_algorithm: LEAST_CONNECTIONS
----- s n i p -----
description: | updated |
Changed in python-neutronclient: | |
assignee: | nobody → Reedip (reedip-banerjee) |
Changed in heat: | |
status: | New → Invalid |
Actually, this might be a Neutron issue:
/var/log/ neutron/ neutron- server. log:2016- 08-23 15:04:32.388 23382 INFO neutron. api.v2. resource [req-e61fb2a5- cb68-4cfb- 8eaa-04b0d1647a 5e 4b0e25c70d2b4ad 6ba4c50250f2f0b 0b 04ee0e71babe4fd 7aa16c3f64a8fca 89 - - -] create failed (client error): Failed to parse request. Required attribute 'lb_method' not specified