Rally ignores subnet quotas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Description:
Whyu I tried to remove subnet quotas in Rally scenario I've reached error which means that subnet quotas were not applied from it.
Steps to reproduce:
- create new scenario.yaml with code below:
```
---
NeutronNetwor
-
args:
runner:
type: "constant"
times: 10
context:
network: {}
users:
tenants: 1
quotas:
neutron:
subnet: -1
```
- ssh to one of Openstack controllers
- do ". openrc" in your terminal to define variables needed
- do "neutron quota-update --subnet 1" to define quota for all tenants as I understand (or admin)
- start Rally benchmark with scenario.yaml
- do "neutron quota-update --subnet 10"
- start Rally benchmark with scenario.yaml once again and compare results
Expected result:
- tests passed/failed not because of quotas
Actual result:
When you first run scenario.yaml with "neutron quota-update --subnet 1" applied you get an error:
```
Traceback (most recent call last):
File "/usr/local/
if self.run_
File "/usr/local/
task_failed = self._run_
File "/usr/local/
network = self.create_
File "/usr/local/
'ip_version': 4}})
File "/usr/local/
return self.post(
File "/usr/local/
headers=
File "/usr/local/
self.
File "/usr/local/
exception_
File "/usr/local/
request_
OverQuotaClient: Quota exceeded for resources: ['subnet']
```
Sorry for late reply, but I did not see any rally execution in your trace. It looks like it is your own code tries to create some kind of network with subnet.