Unexpected API Error in nova quotas update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Low
|
Unassigned |
Bug Description
When executing following Rally scenario Quotas.
...
-------
Preparing input task
-------
Input task is:
{
"Quotas.
{
"args": {
},
},
}
}
}
]
}
Task syntax is correct :)
2016-03-03 18:19:37.318 26488 INFO rally.task.engine [-] Task 0c401631-
2016-03-03 18:19:37.364 26488 INFO rally.task.engine [-] Task 0c401631-
2016-03-03 18:19:37.367 26488 INFO rally.task.engine [-] Task 0c401631-
2016-03-03 18:19:37.368 26488 INFO rally.task.engine [-] Task 0c401631-
2016-03-03 18:19:37.373 26488 INFO rally.task.engine [-] Task 0c401631-
2016-03-03 18:19:37.374 26488 INFO rally.task.engine [-] Task 0c401631-
2016-03-03 18:19:37.374 26488 INFO rally.task.engine [-] Task 0c401631-
2016-03-03 18:19:37.592 26488 INFO rally.task.engine [-] Task 0c401631-
2016-03-03 18:19:37.598 26488 INFO rally.plugins.
2016-03-03 18:19:37.953 26488 INFO rally.plugins.
2016-03-03 18:19:38.077 26488 INFO rally.plugins.
2016-03-03 18:19:39.714 26488 INFO rally.plugins.
2016-03-03 18:19:39.715 26488 INFO rally.task.engine [-] Task 0c401631-
2016-03-03 18:19:39.715 26488 INFO rally.task.engine [-] Task 0c401631-
Task config is valid :)
-------
Task 0c401631-
-------
Benchmarking... This can take a while...
To track task status use:
rally task status
or
rally task detailed
Using task: 0c401631-
2016-03-03 18:19:39.723 26488 INFO rally.api [-] Benchmark Task 0c401631-
2016-03-03 18:19:39.725 26488 INFO rally.task.engine [-] Task 0c401631-
2016-03-03 18:19:39.768 26488 INFO rally.task.engine [-] Running benchmark with key:
{
"kw": {
"runner": {
"type": "constant",
"
"times": 10
},
"args": {
"max_quota": 1024
},
"context": {
"users": {
"tenants": 3
}
}
},
"name": "Quotas.
"pos": 0
}
2016-03-03 18:19:39.774 26488 INFO rally.plugins.
2016-03-03 18:19:40.370 26488 INFO rally.plugins.
2016-03-03 18:19:40.384 26692 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:40.386 26693 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:40.839 26693 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:40.843 26693 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:40.845 26692 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:40.849 26692 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:41.223 26693 INFO rally.task.runner [-] Task 0c401631-
<class 'nova.exception
2016-03-03 18:19:41.223 26692 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:41.225 26692 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:41.226 26693 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:41.680 26693 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:41.683 26693 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:41.734 26692 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:41.737 26692 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:42.092 26693 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:42.095 26693 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:42.269 26692 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:42.272 26692 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:42.462 26693 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:42.710 26692 INFO rally.task.runner [-] Task 0c401631-
2016-03-03 18:19:42.719 26488 INFO rally.plugins.
2016-03-03 18:19:43.946 26488 INFO rally.plugins.
2016-03-03 18:19:43.946 26488 INFO rally.plugins.
2016-03-03 18:19:46.803 26488 INFO rally.plugins.
2016-03-03 18:19:47.925 26488 INFO rally.task.engine [-] Task 0c401631-
-------
Task 0c401631-
-------
test scenario Quotas.
args position 0
args values:
{
"runner": {
"type": "constant",
"concurrency": 2,
"times": 10
},
"args": {
"max_quota": 1024
},
"context": {
"users": {
"
"
"tenants": 3,
"
"
}
}
}
+------
| Response Times (sec) |
+------
| action | min | median | 90%ile | 95%ile | max | avg | success | count |
+------
| quotas.
| quotas.
| total | 0.367 | 0.452 | 0.513 | 0.522 | 0.532 | 0.444 | 90.0% | 10 |
+------
Load duration: 2.34418392181
Full duration: 7.03046512604
HINTS:
* To plot HTML graphics with this data, run:
rally task report 0c401631-
* To generate a JUnit report, run:
rally task report 0c401631-
* To get raw JSON output of task results, run:
rally task results 0c401631-
Changed in nova: | |
assignee: | nobody → jichenjc (jichenjc) |
tags: | added: api |
guess this is a rare case due to race condition
2016-03-03 18:19:40.679 INFO nova.osapi_ compute. wsgi.server [req-c49d4de4- 4dba-44d4- 9d8f-b945c806af 28 admin admin] 192.168.132.1 "PUT /v2.1/42e2752b7 b24407fa051cae3 0400d5d1/ os-quota- sets/861450f94f 6c4e22a44faf440 e6977c8 HTTP/1.1" status: 200 len: 596 time: 0.1933990
2016-03-03 18:19:40.838 INFO nova.osapi_ compute. wsgi.server [req-f13d93c2- f917-4f18- a380-79c1944149 34 admin admin] 192.168.132.1 "DELETE /v2.1/42e2752b7 b24407fa051cae3 0400d5d1/ os-quota- sets/861450f94f 6c4e22a44faf440 e6977c8 HTTP/1.1" status: 202 len: 272 time: 0.1546450
the original PUT method want to create the limit and it found limit was created then retry with update method
however, delete action was executed during above 2 actions and nova didn't handle it well
set to low because it's a very rare case ..