← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1705467] [NEW] [Get me a network] auto-allocated networks does not verify tenant ID while creating

 

Public bug reported:

Environment: Ocata

According to current docs, in order to create auto-allocated network in
tenant, following command should be invoked:

`neutron auto-allocated-topology-show [project_id]`

Unfortunatelly, this command does not verify if given project exists, so
it's easy to create completely unusefull network components, even
breaking naming convention for project_id field in database tables.


Example:

» neutron auto-allocated-topology-show 37-e088febf-64bd-4b5e-b4dd-1f5a80e                                                                                                               
+------------+--------------------------------------+
| Field      | Value                                |
+------------+--------------------------------------+
| id         | 63f5f696-8a64-4bbb-af1e-b55a26f78f38 |
| project_id | 37-e088febf-64bd-4b5e-b4dd-1f5a80e   |
| tenant_id  | 37-e088febf-64bd-4b5e-b4dd-1f5a80e   |
+------------+--------------------------------------+

»

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  [Get me a network] auto-allocated networks does not verify tenant ID
  while creating

Status in neutron:
  New

Bug description:
  Environment: Ocata

  According to current docs, in order to create auto-allocated network
  in tenant, following command should be invoked:

  `neutron auto-allocated-topology-show [project_id]`

  Unfortunatelly, this command does not verify if given project exists,
  so it's easy to create completely unusefull network components, even
  breaking naming convention for project_id field in database tables.

  
  Example:

  » neutron auto-allocated-topology-show 37-e088febf-64bd-4b5e-b4dd-1f5a80e                                                                                                               
  +------------+--------------------------------------+
  | Field      | Value                                |
  +------------+--------------------------------------+
  | id         | 63f5f696-8a64-4bbb-af1e-b55a26f78f38 |
  | project_id | 37-e088febf-64bd-4b5e-b4dd-1f5a80e   |
  | tenant_id  | 37-e088febf-64bd-4b5e-b4dd-1f5a80e   |
  +------------+--------------------------------------+

  »

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


Follow ups