Lbaas Pool and Members from Different SubNets

Bug #1453791 reported by senthilmageswaran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned

Bug Description

There is no definite mapping between Pool Subnet ID and Its Members.

It is possible to Assign another Subnet with different IP for Pool and its members.

For E.g

A pool is created with subnet 135.254.189.0/24, and its members from Instances assigned to Another Subnet (172.21.184.0/24).

Under the following reference,

https://etherpad.openstack.org/p/neutron-lbaas-api-proposals

For Create-Pool,

Request
POST /pools.json
{
    'pool': {
        'tenant_id': 'someid',
        'name': 'some name',
        'subnet_id': 'id-of-subnet-where-members-reside', -------> The Subnet must be defined as per the instances Subnet
        'protocol': 'HTTP',
        'lb_method': 'ROUND_ROBIN'
        'admin_state_up': True,
    }
}

Validation needs to be done such that the instances ( Members ) are created for the Pool of the same Subnet.

Revision history for this message
senthilmageswaran (senthilmageswaran-muthusamy) wrote :
affects: apt (Ubuntu) → neutron-lbaas (Ubuntu)
ZongKai LI (zongkai)
affects: neutron-lbaas (Ubuntu) → neutron
Changed in neutron:
assignee: nobody → ZongKai LI (lzklibj)
Revision history for this message
ZongKai LI (zongkai) wrote :

It's simple to add some limitation to ensure VIP and members are from same subnet of pool. But I think it's not a good idea to do that.

I did a test, in my case, at first, I got VIP and some members from pool's subnet, later I created a new subnet, connect it with previous subnet by a router, and add members from the new subnet to pool. The client can get response from both from previous members and new members.

So I think to limit members must from the same subnet is not a good idea, and checking whether members' subnets are accessible to VIP will make things complex.

Changed in neutron:
assignee: ZongKai LI (lzklibj) → nobody
status: New → Invalid
Revision history for this message
ZongKai LI (zongkai) wrote :

Use lbaas v1, and I also tested cast that, creating a pool with subnet-A, and creating VIP and members with subnet-B, client still can get response from members.

I'm not sure my use cases would be valid or not. Maybe we should find some use cases can prove we must limit members and VIP are from same subnet from pool's first.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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