[Openstack] [Rally] Failed run boot-and-delete test
Li, Chen
chen.li at intel.com
Fri Mar 7 06:34:20 UTC 2014
Hi list,
I have followed guide
https://wiki.openstack.org/wiki/Rally/installation
and
https://wiki.openstack.org/wiki/Rally/HowTo
Everything works file until I reach section "Benchmarking".
I edited the image_id in tasks/nova/boot-and-delete.json with my own image:
nova image-list
+--------------------------------------+------------+--------+--------+
| ID | Name | Status | Server |
+--------------------------------------+------------+--------+--------+
| ccc8fe37-9289-437b-a88c-fc4678656c75 | base_image | ACTIVE | |
+--------------------------------------+------------+--------+--------+
cat tasks/nova/boot-and-delete.json
{
"NovaServers.boot_and_delete_server": [
{
"args": {"flavor_id": 1,
"image_id": "ccc8fe37-9289-437b-a88c-fc4678656c75"},
"execution": "continuous",
"config": {"times": 10, "active_users": 2, "tenants": 3,
"users_per_tenant": 2}
}
]
}
Then I run command:
rally task start --task=tasks/nova/boot-and-delete.json
I get error:
2014-03-07 14:33:39.523 30832 WARNING rally.openstack.common.db.sqlalchemy.session [-] This application has not enabled MySQL traditional mode, which means silent data corruption may occur. Please encourage the application developers to enable this mode.
+--------------------------------------+----------------------------+--------+--------+-----+
| uuid | created_at | status | failed | tag |
+--------------------------------------+----------------------------+--------+--------+-----+
| 0c040e20-3efe-4fda-9729-4afa1a57cf7c | 2014-03-07 06:33:39.533742 | init | False | |
+--------------------------------------+----------------------------+--------+--------+-----+
2014-03-07 14:33:40.161 30832 ERROR glanceclient.common.http [-] Request returned failure status.
/usr/lib/python2.6/site-packages/rally/benchmark/engine.py:203: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
"exc_msg": e.message}})
/usr/lib/python2.6/site-packages/rally/benchmark/engine.py:207: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
{"pos": n, "name": name, "msg": e.message})
2014-03-07 14:33:40.360 30832 ERROR rally.benchmark.engine [-] Scenario (0, NovaServers.boot_and_delete_server) input arguments validation error: Image with id 'ccc8fe37-9289-437b-a88c-fc4678656c75' not found
================================================================================
Task 0c040e20-3efe-4fda-9729-4afa1a57cf7c is finished. Failed: True
--------------------------------------------------------------------------------
test scenario NovaServers.boot_and_delete_server
args position 0
args values:
{u'args': {u'flavor_id': 1,
u'image_id': u'ccc8fe37-9289-437b-a88c-fc4678656c75'},
u'config': {u'active_users': 2,
u'tenants': 3,
u'times': 10,
u'users_per_tenant': 2},
u'execution': u'continuous'}
--------------------------------------------------------------------------------
Image with id 'ccc8fe37-9289-437b-a88c-fc4678656c75' not found
Anyone know why this happens ???
Thanks.
-chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140307/20714618/attachment.html>
More information about the Openstack
mailing list