Unable to setup context 'users' when launching rally scenario
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Rally |
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:/
Sergey Skripnick (eyerediskin) wrote : | #1 |
Morgan Richomme (morgan-richomme) wrote : | #2 |
you are right, it was a config issue on our side.
Basically, according to our architecture, we need to authorize the access to the management network (which is not ideal) from the jumphost.
So we added a vlan interface and moved the IP to that interface. That is why we got the connection issue. Once properly reconfigured, rally is running well (https:/
I should have focused on this connectivity issue message but I was mis-leaded by the first comments I saw on IRC log that were dealing with a specific configuration of the endpoint
thanks for the answer
Changed in rally: | |
status: | New → Invalid |
JoseLausuch (jlausuch) wrote : | #3 |
Sergey,
Is there a way to disable that config (allowing admin actions from public network)?
We would like to get rid of configuring an admin network on the jumphost where we run Rally...
Sergey Skripnick (eyerediskin) wrote : | #4 |
There are options admin_bind_host, public_bind_host, admin_port, public_port, etc in keystone.conf. Also you may ask someone on IRC #openstack-keystone or #openstack-rally.
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.