yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #30736
[Bug 1438687] [NEW] Nova Quota-Show returns default value instead of database value
Public bug reported:
Nova Quota-show command for project/user does not give the values
existing in the database.
The default values are returned as the output.
There is a fix released as per the below bug thread,
https://bugs.launchpad.net/nova/+bug/1118904
But with the latest juno version,the problem still exists.
Steps to reproduce:
1. stack@Controller:~/nova$ nova quota-update --user admin --instances
-1 admin
2. stack@Controller:~/nova$ nova quota-show --user 46f1ff7b17f34d859b30463d05dbb11c
+-----------------------------+-------+
| Quota | Limit |
+-----------------------------+-------+
| instances | 10 |
| cores | 20 |
| ram | 51200 |
| floating_ips | 10 |
| fixed_ips | -1 |
| metadata_items | 128 |
| injected_files | 5 |
| injected_file_content_bytes | 10240 |
| injected_file_path_bytes | 255 |
| key_pairs | 100 |
| security_groups | 10 |
| security_group_rules | 20 |
| server_groups | 10 |
| server_group_members | 10 |
+-----------------------------+-------+
Database entry for admin user,
mysql> select * from project_user_quotas;
+----+---------------------+------------+------------+---------+---------+------------+-----------+------------+
| id | created_at | updated_at | deleted_at | deleted | user_id | project_id | resource | hard_limit |
+----+---------------------+------------+------------+---------+---------+------------+-----------+------------+
| 1 | 2015-03-31 08:16:11 | NULL | NULL | 0 | admin | admin | instances | -1 |
+----+---------------------+------------+------------+---------+---------+------------+-----------+------------+
1 row in set (0.00 sec)
** Affects: nova
Importance: Undecided
Assignee: Sailaja (sailajap)
Status: New
** Changed in: nova
Assignee: (unassigned) => Sailaja (sailajap)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1438687
Title:
Nova Quota-Show returns default value instead of database value
Status in OpenStack Compute (Nova):
New
Bug description:
Nova Quota-show command for project/user does not give the values
existing in the database.
The default values are returned as the output.
There is a fix released as per the below bug thread,
https://bugs.launchpad.net/nova/+bug/1118904
But with the latest juno version,the problem still exists.
Steps to reproduce:
1. stack@Controller:~/nova$ nova quota-update --user admin --instances
-1 admin
2. stack@Controller:~/nova$ nova quota-show --user 46f1ff7b17f34d859b30463d05dbb11c
+-----------------------------+-------+
| Quota | Limit |
+-----------------------------+-------+
| instances | 10 |
| cores | 20 |
| ram | 51200 |
| floating_ips | 10 |
| fixed_ips | -1 |
| metadata_items | 128 |
| injected_files | 5 |
| injected_file_content_bytes | 10240 |
| injected_file_path_bytes | 255 |
| key_pairs | 100 |
| security_groups | 10 |
| security_group_rules | 20 |
| server_groups | 10 |
| server_group_members | 10 |
+-----------------------------+-------+
Database entry for admin user,
mysql> select * from project_user_quotas;
+----+---------------------+------------+------------+---------+---------+------------+-----------+------------+
| id | created_at | updated_at | deleted_at | deleted | user_id | project_id | resource | hard_limit |
+----+---------------------+------------+------------+---------+---------+------------+-----------+------------+
| 1 | 2015-03-31 08:16:11 | NULL | NULL | 0 | admin | admin | instances | -1 |
+----+---------------------+------------+------------+---------+---------+------------+-----------+------------+
1 row in set (0.00 sec)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1438687/+subscriptions
Follow ups
References