<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><pre><div style="line-height: 23.32400131225586px;">yes,</div><div style="line-height: 23.32400131225586px;">this is run boot-and-delete on one compute-node available.</div><div style="line-height: 23.32400131225586px;">the json is </div><div><span style="line-height: 23.32400131225586px;">{
"NovaServers.boot_and_delete_server": [
{
"args": {
"flavor": {
"name": "m1.medium"
},
"image": {
"name": "win2008"
},
},
"runner": {
"type": "constant",
"times":50,
"concurrency":33
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant":1
},
}
}
]
}</span></div><div><span style="line-height: 23.32400131225586px;">the output is:</span></div><div><span style="line-height: 23.32400131225586px;">================================================================================
Task 16f3b51a-fa2a-41e8-aa3f-34c449aeccde is finished.
--------------------------------------------------------------------------------
test scenario NovaServers.boot_and_delete_server
args position 0
args values:
{u'args': {u'flavor': u'5a180f8a-51e9-4621-a9f9-7332253e0b32',
u'image': u'95be464a-ddac-4332-9c14-3c9bc4156c86'},
u'context': {u'users': {u'concurrent': 30,
u'tenants': 1,
u'users_per_tenant': 1}},
u'runner': {u'concurrency': 24, u'times': 50, u'type': u'constant'}}
+--------+-----------+-----------+-----------+---------------+---------------+---------+-------+
| action | min (sec) | avg (sec) | max (sec) | 90 percentile | 95 percentile | success | count |
+--------+-----------+-----------+-----------+---------------+---------------+---------+-------+
| total | 52.621 | 151.872 | 198.646 | 198.23 | 198.478 | 50.0% | 50 |
+--------+-----------+-----------+-----------+---------------+---------------+---------+-------+
HINTS:
* To plot HTML graphics with this data, run:
+-------rally task plot2html 16f3b51a-fa2a-41e8-aa3f-34c449aeccde --out output.html
* To get raw JSON output of task results, run:
+-------rally task results 16f3b51a-fa2a-41e8-aa3f-34c449aeccde</span></div><div style="line-height: 23.32400131225586px;"><br></div><div style="line-height: 23.32400131225586px;">the results report is in attachment named 1.txt</div><div style="line-height: 23.32400131225586px;"><br></div><div style="line-height: 23.32400131225586px;"><br></div><div style="line-height: 23.32400131225586px;">After some research, I found that, when create instance, the resource will update before libvirt spawn, but when delete, the resource for that compute node, is not update when the libvirt destroy the instance. We have to wait the resource tracker to update the resource for that compute node in db. But in concurrency, if one iter is done, then the new boot instance will begin. But right now, the resource for the compute node is not update in time. We have to wait the resource tracker. So we will get some 'no valid error host'.</div><div style="line-height: 23.32400131225586px;">I think this is the explain why that if you use 65concurrency 65 times, the rally is ok, but if you use 65 concurrency 200 times, the rally will give some failed request for no valid host.</div><div style="line-height: 23.32400131225586px;"><br></div><div style="line-height: 23.32400131225586px;"><br></div></pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>