Live migration fails due to unexpected keyword argument 'disk_over_commit'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
New
|
Undecided
|
Unassigned |
Bug Description
Starting from API version 2.25, the block_migration parameter can be set to auto so that nova can decide the value during live migration. At the same time disk_over_commit parameter was removed.
https:/
https:/
(venv) root@38db38ba5a
-------
Preparing input task
-------
Task is:
---
NovaServers.
- args:
flavor:
name: "m1.tiny"
image:
name: "cirros"
block_
nics:
- net-id: "072676b0-
runner:
type: "constant"
times: 1
concurrency: 1
context:
users:
tenants: 1
api_versions:
nova:
version: 2.25
Task syntax is correct :)
Running Rally version 0.9.1~dev692
-------
Task 6d37e6e5-
-------
Running Task... This can take a while...
To track task status use:
rally task status
or
rally task detailed
Using task: 6d37e6e5-
2017-10-04 09:14:22.165 17290 INFO rally.task.engine [-] Task 6d37e6e5-
2017-10-04 09:14:22.275 17290 INFO rally.task.engine [-] Task 6d37e6e5-
2017-10-04 09:14:22.299 17290 INFO rally.task.engine [-] Task 6d37e6e5-
2017-10-04 09:14:22.300 17290 INFO rally.task.engine [-] Task 6d37e6e5-
2017-10-04 09:14:22.307 17290 INFO rally.task.engine [-] Task 6d37e6e5-
2017-10-04 09:14:22.307 17290 INFO rally.task.engine [-] Task 6d37e6e5-
2017-10-04 09:14:22.770 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:25.050 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:26.130 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:29.270 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:29.271 17290 INFO rally.task.engine [-] Task 6d37e6e5-
2017-10-04 09:14:29.271 17290 INFO rally.task.engine [-] Task 6d37e6e5-
2017-10-04 09:14:29.271 17290 INFO rally.api [-] Task 6d37e6e5-
2017-10-04 09:14:29.271 17290 INFO rally.api [-] Run Task 6d37e6e5-
2017-10-04 09:14:29.272 17290 INFO rally.task.engine [-] Task 6d37e6e5-
2017-10-04 09:14:29.623 17290 INFO rally.task.engine [-] Running workload:
position = 0
config = {
"version": 2,
"title": "A cropped version of a bigger task.",
"description": "Auto-generated task from a single workload (uuid=d1d23ab4-
"subtasks": [
{
"title": "NovaServers.
},
},
{
}
]
}
},
},
}
}
},
"runner": {
}
},
"hooks": [],
"sla": {
}
}
}
]
}
2017-10-04 09:14:29.643 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:31.830 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:31.831 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:32.059 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:32.060 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:32.060 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:33.116 17421 INFO rally.task.runner [-] Task 6d37e6e5-
2017-10-04 09:14:44.770 17421 INFO rally.task.runner [-] Task 6d37e6e5-
2017-10-04 09:14:44.794 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:50.388 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:50.389 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:50.389 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:50.389 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:52.954 17290 INFO rally.task.context [-] Task 6d37e6e5-
2017-10-04 09:14:53.768 17290 INFO rally.task.engine [-] Load duration is: 10.650629
2017-10-04 09:14:53.769 17290 INFO rally.task.engine [-] Full runner duration is: 11.689908
2017-10-04 09:14:53.769 17290 INFO rally.task.engine [-] Full duration is: 23.324393
2017-10-04 09:14:54.185 17290 INFO rally.task.engine [-] Task 6d37e6e5-
-------
Task 6d37e6e5-
-------
test scenario NovaServers.
args position 0
args values:
{
"runner": {
"times": 1,
"concurrency": 1,
"type": "constant"
},
"hooks": [],
"args": {
"flavor": {
"name": "m1.tiny"
},
"image": {
"name": "cirros"
},
"block_
"nics": [
{
"net-id": "072676b0-
}
]
},
"sla": {
"failure_rate": {
"max": 0
}
},
"context": {
"users": {
"tenants": 1,
"
},
"api_versions": {
"nova": {
"version": 2.25
}
}
}
}
-------
Task 6d37e6e5-
-------
TypeError: live_migrate() got an unexpected keyword argument 'disk_over_commit'
Traceback (most recent call last):
File "/venv/
getattr(
File "/venv/
block_
File "/venv/
f = func(self, *args, **kwargs)
File "/venv/
disk_
File "/venv/
return methods[
TypeError: live_migrate() got an unexpected keyword argument 'disk_over_commit'
-------
+------
| Response Times (sec) |
+------
| Action | Min (sec) | Median (sec) | 90%ile (sec) | 95%ile (sec) | Max (sec) | Avg (sec) | Success | Count |
+------
| nova.boot_server | 10.381 | 10.381 | 10.381 | 10.381 | 10.381 | 10.381 | 100.0% | 1 |
| nova.find_
| nova.live_migrate | 0.32 | 0.32 | 0.32 | 0.32 | 0.32 | 0.32 | 0.0% | 1 |
| total | 11.651 | 11.651 | 11.651 | 11.651 | 11.651 | 11.651 | 0.0% | 1 |
| -> duration | 10.651 | 10.651 | 10.651 | 10.651 | 10.651 | 10.651 | 0.0% | 1 |
| -> idle_duration | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 0.0% | 1 |
+------
Load duration: 10.650629
Full duration: 23.324393
HINTS:
* To plot HTML graphics with this data, run:
rally task report 6d37e6e5-
* To generate a JUnit report, run:
rally task export 6d37e6e5-
* To get raw JSON output of task results, run:
rally task results 6d37e6e5-
(venv) root@38db38ba5a