← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1616094] [NEW] Required attribute 'lb_method' not specified when creating a LBaaSv2

 

Public bug reported:

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_version: 2015-04-30
description: Loadbalancer - Instance template

resources:
  lbaas:
    type: OS::Neutron::LBaaS::LoadBalancer
    properties:
      name: lbaas-test
      description: lbaas-test
      vip_subnet: subnet-97

  listener:
    type: OS::Neutron::LBaaS::Listener
    properties:
      name: listener-test
      description: listener-test
      loadbalancer: { get_resource: lbaas }
      protocol: TCP
      protocol_port: 666

  pool:
    type: OS::Neutron::LBaaS::Pool
    properties:
      name: hapool-test
      description: hapool-test
      listener: { get_resource: listener }
      protocol: TCP
      lb_algorithm: LEAST_CONNECTIONS
----- s n i p -----

** Affects: heat
     Importance: Undecided
         Status: New

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: heat lbaasv2 neutron

** Also affects: neutron
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1616094

Title:
  Required attribute 'lb_method' not specified when creating a LBaaSv2

Status in heat:
  New
Status in neutron:
  New

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_version: 2015-04-30
  description: Loadbalancer - Instance template

  resources:
    lbaas:
      type: OS::Neutron::LBaaS::LoadBalancer
      properties:
        name: lbaas-test
        description: lbaas-test
        vip_subnet: subnet-97

    listener:
      type: OS::Neutron::LBaaS::Listener
      properties:
        name: listener-test
        description: listener-test
        loadbalancer: { get_resource: lbaas }
        protocol: TCP
        protocol_port: 666

    pool:
      type: OS::Neutron::LBaaS::Pool
      properties:
        name: hapool-test
        description: hapool-test
        listener: { get_resource: listener }
        protocol: TCP
        lb_algorithm: LEAST_CONNECTIONS
  ----- s n i p -----

To manage notifications about this bug go to:
https://bugs.launchpad.net/heat/+bug/1616094/+subscriptions


Follow ups