yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36471
[Bug 1480859] [NEW] There is no verification for tenant-id
You have been subscribed to a public bug:
tenant-id should be UUID type, but there is no verification in arg
parsing.
we can specify arbitrarily tenant id,
$ neutron security-group-create bbb --tenant-id=123
Created a new security_group:
+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| description | |
| id | 7a4c71cf-0df3-4c77-a89a-a2078f576a7f |
| name | bbb |
| security_group_rules | {"remote_group_id": null, "direction": "egress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "123", "port_range_max": null, "security_group_id": "7a4c71cf-0df3-4c77-a89a-a2078f576a7f", "port_range_min": null, "ethertype": "IPv4", "id": "a08af0f3-bd1a-4103-828a-70e13adb6137"} |
| | {"remote_group_id": null, "direction": "egress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "123", "port_range_max": null, "security_group_id": "7a4c71cf-0df3-4c77-a89a-a2078f576a7f", "port_range_min": null, "ethertype": "IPv6", "id": "60c94545-c2fb-4045-9b4d-abdebec9a2e9"} |
| tenant_id | 123 |
+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
** Affects: neutron
Importance: Undecided
Assignee: yalei wang (yalei-wang)
Status: New
--
There is no verification for tenant-id
https://bugs.launchpad.net/bugs/1480859
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron.