Ask Your Question
0

Rally Testing OpenStack Errors [closed]

asked 2014-08-01 10:34:10 -0500

Nuriel gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Nuriel
close date 2014-08-04 10:40:03.753003

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-08-04 07:48:27 -0500

Its a python-novaclient package issue. Please install python-novaclient 2.18.x with install-rally-script or using pip install and try again.

edit flag offensive delete link more

Comments

Thanks! Works now.

Nuriel gravatar imageNuriel ( 2014-08-04 10:39:45 -0500 )edit
0

answered 2014-08-02 14:42:54 -0500

boris-42 gravatar image

I'll need more information:

1) what is the hash code of last commit message (of rally that you used) 2) what is the version of nova client?

edit flag offensive delete link more

Comments

git commit: 37e502bd777ea12073e7ce89f74563f3bcc6b96d

and nova client:

[root@openstack5 rally]# nova --version
2.17.0
Nuriel gravatar imageNuriel ( 2014-08-04 02:49:31 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-01 10:34:10 -0500

Seen: 240 times

Last updated: Aug 02 '14