← Back to team overview

yahoo-eng-team team mailing list archive

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

 

[1] states that the neutronclient still has this left over

https://github.com/openstack/python-
neutronclient/blob/master/neutronclient/neutron/v2_0/lb/pool.py#L59

** Also affects: python-neutronclient
   Importance: Undecided
       Status: New

** Changed in: python-neutronclient
     Assignee: (unassigned) => Reedip (reedip-banerjee)

-- 
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
Status in python-neutronclient:
  In Progress

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