Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Rally Testing OpenStack Errors

Hi,

I have been following the documentation on how to install/use Rally: https://wiki.openstack.org/wiki/Rally/installation/manual

This works:

[root@openstack5 rally]# rally show images
+--------------------------------------+------------------------+------------+
| UUID                                 | Name                   | Size (B)   |
+--------------------------------------+------------------------+------------+
| 0cc10805-9251-4a25-bf88-9b133f5f4303 | Centos6.5-remote       | 1314848768 |

This doesn't work:

[root@openstack5 rally]# rally show flavors
Command failed, please check log for more info
2014-08-01 17:30:08.553 4881 CRITICAL rally [-] TypeError: __init__() takes at least 4 non-keyword arguments (1 given)
2014-08-01 17:30:08.553 4881 TRACE rally Traceback (most recent call last):
2014-08-01 17:30:08.553 4881 TRACE rally   File "/usr/bin/rally", line 10, in <module>
2014-08-01 17:30:08.553 4881 TRACE rally     sys.exit(main())
2014-08-01 17:30:08.553 4881 TRACE rally   File "/usr/lib/python2.6/site-packages/rally/cmd/main.py", line 44, in main
2014-08-01 17:30:08.553 4881 TRACE rally     return cliutils.run(sys.argv, categories)
2014-08-01 17:30:08.553 4881 TRACE rally   File "/usr/lib/python2.6/site-packages/rally/cmd/cliutils.py", line 184, in run
2014-08-01 17:30:08.553 4881 TRACE rally     ret = fn(*fn_args, **fn_kwargs)
2014-08-01 17:30:08.553 4881 TRACE rally   File "<string>", line 2, in flavors
2014-08-01 17:30:08.553 4881 TRACE rally   File "/usr/lib/python2.6/site-packages/rally/cmd/envutils.py", line 64, in default_from_global
2014-08-01 17:30:08.553 4881 TRACE rally     return f(*args, **kwargs)
2014-08-01 17:30:08.553 4881 TRACE rally   File "/usr/lib/python2.6/site-packages/rally/cmd/commands/show.py", line 85, in flavors
2014-08-01 17:30:08.553 4881 TRACE rally     nova_client = clients.nova()
2014-08-01 17:30:08.553 4881 TRACE rally   File "/usr/lib/python2.6/site-packages/rally/osclients.py", line 60, in wrapper
2014-08-01 17:30:08.553 4881 TRACE rally     self.cache[key] = func(self, *args, **kwargs)
2014-08-01 17:30:08.553 4881 TRACE rally   File "/usr/lib/python2.6/site-packages/rally/osclients.py", line 141, in nova
2014-08-01 17:30:08.553 4881 TRACE rally     cacert=CONF.https_cacert)
2014-08-01 17:30:08.553 4881 TRACE rally   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 532, in Client
2014-08-01 17:30:08.553 4881 TRACE rally     return client_class(*args, **kwargs)
2014-08-01 17:30:08.553 4881 TRACE rally TypeError: __init__() takes at least 4 non-keyword arguments (1 given)
2014-08-01 17:30:08.553 4881 TRACE rally

No idea why really. Any help would be appreciated. Thanks,

Nuriel