← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1204371] [NEW] admin is able to create/update resource for not existing tenants

 

*** This bug is a duplicate of bug 1200585 ***
    https://bugs.launchpad.net/bugs/1200585

Public bug reported:

how to reproduce:
use admin account to create a network for a not existing tenant


jian@jian-vostro:~/devstack$ quantum net-create --tenant-id 0 test-net
Created a new network:
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 219d5972-b313-435b-a4da-3f8a2103026b |
| name                      | test-net                             |
| provider:network_type     | local                                |
| provider:physical_network |                                      |
| provider:segmentation_id  |                                      |
| router:external           | False                                |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tenant_id                 | 0                                    |
+---------------------------+--------------------------------------+

expected result:
404 due to the tenant doesn't exist.

also affected commands:
lb-member-create, lb-pool-create, lb-vip-create, net-create,
port-create, security-group-create, security-group-rule-create,
subnet-create and quota-update.

** Affects: neutron
     Importance: Undecided
         Status: New

** This bug has been marked a duplicate of bug 1200585
   floatingip-create doesn't check if tenant_id exists or enabled

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

Title:
  admin is able to create/update resource for not existing tenants

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  how to reproduce:
  use admin account to create a network for a not existing tenant


  
  jian@jian-vostro:~/devstack$ quantum net-create --tenant-id 0 test-net
  Created a new network:
  +---------------------------+--------------------------------------+
  | Field                     | Value                                |
  +---------------------------+--------------------------------------+
  | admin_state_up            | True                                 |
  | id                        | 219d5972-b313-435b-a4da-3f8a2103026b |
  | name                      | test-net                             |
  | provider:network_type     | local                                |
  | provider:physical_network |                                      |
  | provider:segmentation_id  |                                      |
  | router:external           | False                                |
  | shared                    | False                                |
  | status                    | ACTIVE                               |
  | subnets                   |                                      |
  | tenant_id                 | 0                                    |
  +---------------------------+--------------------------------------+

  expected result:
  404 due to the tenant doesn't exist.

  also affected commands:
  lb-member-create, lb-pool-create, lb-vip-create, net-create,
  port-create, security-group-create, security-group-rule-create,
  subnet-create and quota-update.

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


Follow ups

References