[9.x][Tempest] Cannot change compute quotas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Critical
|
Alexey Stupnikov |
Bug Description
Tempest tests failed:
test_update_
test_get_
test_create_
test_create_
test_create_
Steps to reproduce:
root@node-1:~# openstack quota show admin|grep instances
| instances | -1 |
root@node-1:~# openstack quota set admin --instances 5
root@node-1:~#
root@node-1:~# openstack quota show admin|grep instances
| instances | -1 |
Expected results: quota been changed
Actual result: cannot change quota
openstack quota set admin --instances 25 --debug: http://
Reproducibility: 100%
Description of the environment:
ironic + dvr + sahara + ceilometer + cinder
ironic + dvr + sahara + ceilometer + cinder + ssl
ironic + dvr + sahara + ceilometer + nova
ironic + dvr + sahara + ceilometer + nova + ssl
Last pass: 04 april 2017
First fail: 10 june 2017
description: | updated |
Changed in fuel: | |
assignee: | nobody → MOS Maintenance (mos-maintenance) |
milestone: | none → 9.x-updates |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | MOS Maintenance (mos-maintenance) → Alexey Stupnikov (astupnikov) |
I have doublechecked fuel-qa code, fuel and Nova operations and got
the following conclusions:
1. It is possible to disable nova quotas in Fuel config. This option
was introduced to limit the DB load. From technical perspective,
this option enables noop Nova quota driver that returns -1
(unlimited) values for all quota parameters without DB querries.
At the same time, it is possible change quota values stred in DB,
but they will not be used.
2. NOVA_QUOTAS_ENABLED option disables nova quotas.
This bug will be closed as Invalid, since reported issue is caused by
tempest configuration.
On the other hand, I have found other quota-related issues in MOS8
and MOS9. Opened a bug #1698805 to solve them.