neutron lbaas resource should allow vip from a different subnet

Bug #1286001 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Rabi Mishra

Bug Description

Neutron lbaas gives an option to add a vip from a different subnet than the pool.

#neutron lb-vip-create --name myvip --protocol-port 80 --protocol HTTP --subnet-id <subnet-id> mypool

However, the current heat loadbalancer resource picks the pool subnet while adding the vip irrespective of the subnet_id specified.

Giving vip address from a different subnet results in the following error.

Resource Create Failed: Neutronclientexception: 400-{U'Neutronerror': {U'Message': U'Invalid Input For Operation: Ip Address 10.10.3.22 Is Not A Valid Ip For The Defined Subnet.', U'Type': U'Invalidinput', U'Detail': U''}}

Rabi Mishra (rabi)
Changed in heat:
assignee: nobody → Rabi Mishra (ramishra)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/77084

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/77084
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=c2ec3291ad127c5449fa03b4fdb94cef037cfcb8
Submitter: Jenkins
Branch: master

commit c2ec3291ad127c5449fa03b4fdb94cef037cfcb8
Author: Rabi Mishra <email address hidden>
Date: Fri Feb 28 12:11:00 2014 +0530

    Allows vip from a different subnet for lbaas resource

    This fix allows user to specify a different subnet while adding
    a vip to a pool resource. If vip subnet is not provided, pool
    subnet is used by default.

    Change-Id: I0b7740ca37961ae412866cc15ab439dafbfcf9d9
    Closes-Bug: #1286001

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-rc1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.