Unable to setup context 'users' when launching rally scenario
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Invalid
|
Undecided
|
Unassigned |
Bug Description
We use Rally to test OPNFV solutions. It has been integrated in CI.
We used to run successfully
- most of the rally scenario (authenticate, cider, glance, keystone, nova, neutron, quotas, requests)
- tempest smoke suite
The OPNFV solution consists in the integration of OpenStack + ODL.
In CI we are testing 2 OPNFV flavours:
- 1 installed from fuel (MOS 6.0.1)
- 1 installed through foreman/puppet installer
We were able to run all the tests automatically (https:/
Rally is automatically installed and configured (including tempest part) based on env (fromenv option) using keystone v2.0
Installation looks fine
2015-08-25 17:33:12,297 - config_functest - DEBUG - Creating Rally environment...
2015-08-25 17:33:12,297 - config_functest - DEBUG - Executing command : rally deployment create --fromenv --name=
2015-08-25 17:33:13,166 - config_functest - DEBUG - 2015-08-25 17:33:12.973 25872 INFO rally.deploymen
2015-08-25 17:33:13.057 25872 INFO rally.deploymen
+------
| uuid | created_at | name | status | active |
+------
| ee971af8-
+------
...
2015-08-25 17:34:21,107 - config_functest - DEBUG - Executing command : rally deployment check
2015-08-25 17:34:22,028 - config_functest - DEBUG - keystone endpoints are valid and following services are available:
+------
| services | type | status |
+------
| cinder | volume | Available |
| cinderv2 | volumev2 | Available |
| cloud | cloudformation | Available |
| ec2 | ec2 | Available |
| glance | image | Available |
| heat | orchestration | Available |
| keystone | identity | Available |
| neutron | network | Available |
| nova | compute | Available |
| novav3 | computev3 | Available |
+------
rally show flavors OK (so keystone v2.0 authentication ok)
src(https:/
We still can run Tempest smoke suite but it is now impossible to launch the rally scenario
we got an error (here with the foreman installer but same error with fuel):
2015-08-25 17:37:16.502 28634 INFO rally.plugins.
2015-08-25 17:37:19.892 28634 WARNING rally.common.broker [-] Failed to consume a task from the queue: Unable to establish connection to http://
....
2015-08-25 17:37:22,292 - run_rally - DEBUG - saving json file2
authenticate
Traceback (most recent call last):
File "/home/
main()
File "/home/
run_
File "/home/
if task_succeed(
File "/home/
rally_report = json.loads(
File "/usr/lib64/
return _default_
File "/usr/lib64/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
I am a bit puzzled by the "Unable to establish connection to http://
this IP address does not correspond to the IP from en used to build the deployment context
I saw in the IRC log that someone seems to have already faced this change (http://
I saw that one cause could be the non declaration of end point
so I tried a deployment using config file instead of env (I added the public IP associated with the port 35357) https:/
but I still got an error (test done with MOS installer here) http://
I tried using the keystone v3 profile (https:/
Seems your cloud is configured to allow admin actions only from "admin" network (192.168.0), so if you make this network accessible by rally node, everything will work.