← Back to team overview

yahoo-eng-team team mailing list archive

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

 

The error stems from a client-side issue: the request is not formatted
properly because the server does not recognize the attribute lb_method.

lb_method is on LBaaS v1 which is being deleted [1]. LBaaS v2 has no
such attribute [2]

[1] https://review.openstack.org/#/c/286381/18/neutron_lbaas/extensions/loadbalancer.py
[2] https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/extensions/loadbalancerv2.py#L182

** Changed in: neutron
       Status: New => Invalid

** Changed in: neutron
       Status: Invalid => Incomplete

-- 
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:
  Incomplete

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 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


References