** Changed in: neutron
       Status: New => 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/1762376

Title:
  openstack router create - multiple routers with same name in same
  project

Status in neutron:
  Invalid

Bug description:
  https://bugzilla.redhat.com/show_bug.cgi?id=1565059

  
  Description of problem:

  Unlike other openstack cli commands, that prevents duplicate objects
  creation with same name (returning "Conflict occurred attempting to
  store ..."), the "router create" command - does allow to create
  multiple routers with same name in same project.

  
  Version-Release number of selected component:
  OSP 13 - 2018-03-20.2

  How reproducible: 
  always

  
  Steps to Reproduce:

  (overcloud) [stack@undercloud-0 ~]$ 
  $ openstack project create test_cloud --enable

  Conflict occurred attempting to store project - it is not permitted to
  have two projects with the same name in the same domain : test_cloud.
  (HTTP 409)

  $ openstack user create tester --enable --password testerpass
  --project test_cloud

  Conflict occurred attempting to store user - Duplicate entry found
  with name tester at domain ID default. (HTTP 409)

  
  $ openstack router create internal_router
  ...
  | id                      | a2b97aa1-50f7-4e44-abcd-41468998703b |
  | name                    | internal_router                      |

  $ openstack router create internal_router
  ...
  | id                      | 8c2f09d3-0677-4632-9251-b498d570a96e |
  | name                    | internal_router                      |

  $ openstack router list
  
+--------------------------------------+-----------------+--------+-------+-------------+-------+----------------------------------+
  | ID                                   | Name            | Status | State | 
Distributed | HA    | Project                          |
  
+--------------------------------------+-----------------+--------+-------+-------------+-------+----------------------------------+
  | 8c2f09d3-0677-4632-9251-b498d570a96e | internal_router | ACTIVE | UP    | 
False       | False | 676572adef8e41999011e22234871c31 |
  | a2b97aa1-50f7-4e44-abcd-41468998703b | internal_router | ACTIVE | UP    | 
False       | False | 676572adef8e41999011e22234871c31 |
  
+--------------------------------------+-----------------+--------+-------+-------------+-------+----------------------------------+

  
  Expected results:

  A second attempt to run "openstack router create internal_router"
  should probably return:

  Conflict occurred attempting to store router - Duplicate entry found
  with name internal_router at project ID test_cloud. (HTTP 409)

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to