← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1585890] [NEW] No check that member address whether is in the member subnet

 

Public bug reported:

issue is in kilo branch

member subnet cidr is 20.0.0.0/24, but member address is 30.0.0.11
but it configured ok.

[root@opencos2 v2(keystone_admin)]# neutron subnet-show 502be3ac-f8d8-43b3-af5b-f0feada72aed
+-------------------+--------------------------------------------+
| Field             | Value                                      |
+-------------------+--------------------------------------------+
| allocation_pools  | {"start": "20.0.0.2", "end": "20.0.0.254"} |
| cidr              | 20.0.0.0/24                                |
| dns_nameservers   |                                            |
| enable_dhcp       | True                                       |
| gateway_ip        | 20.0.0.1                                   |
| host_routes       |                                            |
| id                | 502be3ac-f8d8-43b3-af5b-f0feada72aed       |
| ip_version        | 4                                          |
| ipv6_address_mode |                                            |
| ipv6_ra_mode      |                                            |
| name              |                                            |
| network_id        | 2e424980-14f0-4405-92dc-e4c57c32235a       |
| subnetpool_id     |                                            |
| tenant_id         | be58eaec789d44f296a65f96b944a9f5           |
+-------------------+--------------------------------------------+
[root@opencos2 v2(keystone_admin)]# neutron lbaas-member-create pool101 --subnet 502be3ac-f8d8-43b3-af5b-f0feada72aed --address 30.0.0.11 --protocol-port 80
Created a new member:
+----------------+--------------------------------------+
| Field          | Value                                |
+----------------+--------------------------------------+
| address        | 30.0.0.11                            |
| admin_state_up | True                                 |
| id             | 1dccaaaa-2f00-4fd7-9a68-6031a96a172b |
| protocol_port  | 80                                   |
| subnet_id      | 502be3ac-f8d8-43b3-af5b-f0feada72aed |
| tenant_id      | be58eaec789d44f296a65f96b944a9f5     |
| weight         | 1                                    |
+----------------+--------------------------------------+

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: lbaas

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

Title:
  No check that member address whether is in the member subnet

Status in neutron:
  New

Bug description:
  issue is in kilo branch

  member subnet cidr is 20.0.0.0/24, but member address is 30.0.0.11
  but it configured ok.

  [root@opencos2 v2(keystone_admin)]# neutron subnet-show 502be3ac-f8d8-43b3-af5b-f0feada72aed
  +-------------------+--------------------------------------------+
  | Field             | Value                                      |
  +-------------------+--------------------------------------------+
  | allocation_pools  | {"start": "20.0.0.2", "end": "20.0.0.254"} |
  | cidr              | 20.0.0.0/24                                |
  | dns_nameservers   |                                            |
  | enable_dhcp       | True                                       |
  | gateway_ip        | 20.0.0.1                                   |
  | host_routes       |                                            |
  | id                | 502be3ac-f8d8-43b3-af5b-f0feada72aed       |
  | ip_version        | 4                                          |
  | ipv6_address_mode |                                            |
  | ipv6_ra_mode      |                                            |
  | name              |                                            |
  | network_id        | 2e424980-14f0-4405-92dc-e4c57c32235a       |
  | subnetpool_id     |                                            |
  | tenant_id         | be58eaec789d44f296a65f96b944a9f5           |
  +-------------------+--------------------------------------------+
  [root@opencos2 v2(keystone_admin)]# neutron lbaas-member-create pool101 --subnet 502be3ac-f8d8-43b3-af5b-f0feada72aed --address 30.0.0.11 --protocol-port 80
  Created a new member:
  +----------------+--------------------------------------+
  | Field          | Value                                |
  +----------------+--------------------------------------+
  | address        | 30.0.0.11                            |
  | admin_state_up | True                                 |
  | id             | 1dccaaaa-2f00-4fd7-9a68-6031a96a172b |
  | protocol_port  | 80                                   |
  | subnet_id      | 502be3ac-f8d8-43b3-af5b-f0feada72aed |
  | tenant_id      | be58eaec789d44f296a65f96b944a9f5     |
  | weight         | 1                                    |
  +----------------+--------------------------------------+

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


Follow ups