Can't set quota for Fixed IPs and quota shows different values
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Invalid
|
Undecided
|
Alexander Koryagin | |||
9.x |
Invalid
|
Undecided
|
Alexander Koryagin |
Bug Description
Hello,
Please take a look at the to issues:
1) Different components show different values for quota:
2) It is not possible to set quota for "Fixed IPs".
My env:
MOS 9.0 ISO #217
3x controllers + 2x compute,cinder
Details:
(1) Different components show different values for quotas.
In Horizon WEB set quota for 'Floating IPs' = 48 for 'admin' project.
Identity -> Projects -> admin -> Modify Quotas -> Floating IPs = 48
Check in console for controller:
# openstack quota show admin | grep floating
>> OK: floating-ips 48
# nova quota-show --tenant admin | grep floating
>> NOK: floating_ips -1
# neutron quota-show admin | grep floating
>> NOK: floatingip 50
All three different numbers: 48, -1, 50
The same for "Security Groups" = 7:
# openstack quota show admin | grep secgroups
>> OK: secgroups 7
# nova quota-show --tenant admin | grep security_groups
>> NOK: security_groups -1
# neutron quota-show admin | grep security_group
>> NOK: security_group 10
All three different numbers: 7, -1, 10
(2) It is not possible to set quota for "Fixed IPs".
There are no such value inside Horizon in 'Quota' tab for existing or during creation of new projects.
Identity -> Projects -> %project name% -> Modify Quotas
Identity -> Projects -> Create project -> Quotas
(see attached 'quotas_
If I try to set this value in console it remains the same.
As there are no output, all looks like value was sec successfully.
But it wasn't and remains to be '-1'.
# nova quota-update --fixed-ips 7 admin
# nova quota-show --tenant admin | grep 'fixed_ips'
>> NOK: fixed_ips -1
# nova quota-class-update --fixed-ips 7 admin
# nova quota-class-show admin | grep 'fixed_ips'
>> NOK: fixed_ips -1
# openstack quota set --fixed-ips 7 admin
# openstack quota show admin | grep fixed-ips
>> NOK: fixed_ips -1
Inside 'neutron quota-show' there are no 'fixed-ips' quota:
# neutron quota-show admin ## No fixed-ips
Here is content of my 'openrc' file:
root@node-4:~# cat openrc
#!/bin/sh
export OS_NO_CACHE='true'
export OS_TENANT_
export OS_PROJECT_
export OS_USERNAME='admin'
export OS_PASSWORD='admin'
export OS_AUTH_URL='http://
export OS_DEFAULT_
export OS_AUTH_
export OS_REGION_
export CINDER_
export GLANCE_
export KEYSTONE_
export NOVA_ENDPOINT_
export NEUTRON_
export OS_ENDPOINT_
export MURANO_REPO_URL='http://
tags: | added: area-nova area-openstackclient |
(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:
actual result
expected result
steps to reproduce
For more detailed information on the contents of each of the listed sections see https:/ /wiki.openstack .org/wiki/ Fuel/How_ to_contribute# Here_is_ how_you_ file_a_ bug