← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1450006] Re: Create port in both subnets ipv4 and ipv6 when specified only one subnet

 

This behavior is a result of commit
https://review.openstack.org/#/c/113339/

It should have had DocImpact in commit msg.
Anyway, marking the bug as Invalid since behavior is by-design.

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

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

Title:
  Create port in both subnets ipv4 and ipv6 when specified only one
  subnet

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  When I try to create port on fresh devstack in specific subnet:

  neutron port-create private --fixed-ip subnet_id=3f80621c-
  4b88-48bd-8794-2372ef56485c

  It is created in both ipv4 and ipv6 subnets:

  Created a new port:
  +-----------------------+-------------------------------------------------------------------------------------------------------------+
  | Field                 | Value                                                                                                       |
  +-----------------------+-------------------------------------------------------------------------------------------------------------+
  | admin_state_up        | True                                                                                                        |
  | allowed_address_pairs |                                                                                                             |
  | binding:vnic_type     | normal                                                                                                      |
  | device_id             |                                                                                                             |
  | device_owner          |                                                                                                             |
  | fixed_ips             | {"subnet_id": "3f80621c-4b88-48bd-8794-2372ef56485c", "ip_address": "10.0.0.18"}                            |
  |                       | {"subnet_id": "f7166154-5064-4e85-9ab2-10877ca4bfad", "ip_address": "fd67:d76a:29be:0:f816:3eff:feda:83a0"} |
  | id                    | b9811513-9a6c-4f2d-b7d4-583f32bfd8e5                                                                        |
  | mac_address           | fa:16:3e:da:83:a0                                                                                           |
  | name                  |                                                                                                             |
  | network_id            | 73c8160b-647a-4cbe-81a4-0adab9ac67c8                                                                        |
  | security_groups       | f5915ed5-67e6-425b-913d-38193ca16e22                                                                        |
  | status                | DOWN                                                                                                        |
  | tenant_id             | 9574611fa7c04fab87617412a409f606 

  skr ~ $ neutron port-list
  +--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------------------------------+
  | id                                   | name | mac_address       | fixed_ips                                                                                                   |
  +--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------------------------------+
  | b9811513-9a6c-4f2d-b7d4-583f32bfd8e5 |      | fa:16:3e:da:83:a0 | {"subnet_id": "3f80621c-4b88-48bd-8794-2372ef56485c", "ip_address": "10.0.0.18"}                            |
  |                                      |      |                   | {"subnet_id": "f7166154-5064-4e85-9ab2-10877ca4bfad", "ip_address": "fd67:d76a:29be:0:f816:3eff:feda:83a0"} |
  +--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------------------------------+

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


References