yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #46212
[Bug 1479981] Re: Openstackclient return wrong quota information
*** This bug is a duplicate of bug 1544989 ***
https://bugs.launchpad.net/bugs/1544989
** This bug is no longer a duplicate of bug 1317515
flavor-access-add doesn't validate the tenant id
** This bug has been marked a duplicate of bug 1544989
Nova doesn't validate user/project is valid from keystone during admin operations
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1479981
Title:
Openstackclient return wrong quota information
Status in neutron:
In Progress
Status in python-openstackclient:
New
Bug description:
I try to update the quota port limitations for my project,
neutronclient works well and I can get the right result using
neutronclient. But when we run ```openstack quota show admin``` we
found the quota port limitation doesn't changed. Here are the testing
process:
layton-pistachio:/opt/openstack # neutron --insecure --os-project-id d3a77adc69004a6bbfe233cf7f08fdc1 --os-project-domain-name default --os-user-domain-name default quota-update --port 160
+---------------------+-------+
| Field | Value |
+---------------------+-------+
| floatingip | 50 |
| health_monitor | -1 |
| member | -1 |
| network | 10 |
| pool | 10 |
| port | 160 |
| router | 10 |
| security_group | 10 |
| security_group_rule | 100 |
| subnet | 10 |
| vip | 10 |
+---------------------+-------+
layton-pistachio:/opt/openstack # neutron --insecure --os-project-id d3a77adc69004a6bbfe233cf7f08fdc1 --os-project-domain-name default --os-user-domain-name default quota-show
+---------------------+-------+
| Field | Value |
+---------------------+-------+
| floatingip | 50 |
| health_monitor | -1 |
| member | -1 |
| network | 10 |
| pool | 10 |
| port | 160 |
| router | 10 |
| security_group | 10 |
| security_group_rule | 100 |
| subnet | 10 |
| vip | 10 |
+---------------------+-------+
layton-pistachio:/opt/openstack # openstack quota show admin
+----------------------+-------+
| Field | Value |
+----------------------+-------+
| backup_gigabytes | 1000 |
| backups | 10 |
| cores | 20 |
| fixed-ips | -1 |
| floating-ips | 50 |
| gigabytes | 1000 |
| health_monitor | -1 |
| injected-file-size | 10240 |
| injected-files | 5 |
| injected-path-size | 255 |
| instances | 10 |
| key-pairs | 100 |
| member | -1 |
| network | 10 |
| pool | 10 |
| port | 50 |
| project | admin |
| properties | 128 |
| ram | 51200 |
| router | 10 |
| secgroup-rules | 100 |
| secgroups | 10 |
| server_group_members | 10 |
| server_groups | 10 |
| snapshots | 10 |
| subnet | 10 |
| vip | 10 |
| volumes | 10 |
+----------------------+-------+
layton-pistachio:/opt/openstack # openstack project list
+----------------------------------+---------+
| ID | Name |
+----------------------------------+---------+
| 1c30e840b3d1447ea3820d99cc38cd33 | service |
| 55d10960d5f7447990e69ebf481ac97d | demo |
| d3a77adc69004a6bbfe233cf7f08fdc1 | admin |
+----------------------------------+---------+
I checked the neutron database and the quota information was right:
MariaDB [neutron]> select * from quotas;
+--------------------------------------+----------------------------------+----------+-------+
| id | tenant_id | resource | limit |
+--------------------------------------+----------------------------------+----------+-------+
| 1c5586f5-7c71-4666-9162-bf29bcaa511d | d3a77adc69004a6bbfe233cf7f08fdc1 | port | 160 |
+--------------------------------------+----------------------------------+----------+-------+
1 row in set (0.00 sec)
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1479981/+subscriptions
References