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

Bug #1204371 reported by Jian Wen on 2013-07-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Undecided
Unassigned

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.

Jian Wen (wenjianhn) on 2013-07-24
Changed in neutron:
assignee: nobody → Jian Wen (wenjianhn)
assignee: Jian Wen (wenjianhn) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers