Hello All,
We have setup a docker based rally environment to test openstack environment. Here is the details.
rally@513ed16f8a1c:~$ rally deployment list
+--------------------------------------+----------------------------+-------+------------------+--------+
| uuid | created_at | name | status | active |
+--------------------------------------+----------------------------+-------+------------------+--------+
| 8c5258aa-1169-4b7b-a83e-831527e44611 | 2015-12-20 11:07:33.949679 | myenv | deploy->finished | * |
+--------------------------------------+----------------------------+-------+------------------+--------+
rally@513ed16f8a1c:~$
Rally Deployment Check Restult
rally@513ed16f8a1c:~$ rally deployment check
keystone endpoints are valid and following services are available:
+------------+---------------------+-----------+
| services | type | status |
+------------+---------------------+-----------+
| ceilometer | metering | Available |
| cinder | volume | Available |
| cinderv2 | volumev2 | Available |
| cloud | cloudformation | Available |
| ec2 | ec2 | Available |
| glance | image | Available |
| heat | orchestration | Available |
| keystone | identity | Available |
| murano | application_catalog | Available |
| neutron | network | Available |
| nova | compute | Available |
| swift | object-store | Available |
+------------+---------------------+-----------+
Here is the env.json
{
"type": "ExistingCloud",
"auth_url": "http://192.168.1.0:5000/v2.0/",
"region_name": "RegionOne",
"endpoint_type": "public",
"https_insecure": true,
"admin": {
"username": "admin",
"password": "password",
"tenant_name": "test"
},
"users": [
{
"username": "user1",
"password": "password",
"tenant_name": "test"
},
]
}
When running a sample test, i got the following error
2015-12-21 04:23:55.714 146 WARNING rally.common.broker [-] Failed to consume a task from the queue: Unable to establish connection to http://172.18.114.9:35357/v2.0/tenants
2015-12-21 04:23:56.796 146 ERROR rally.task.engine [-] Unable to setup context 'users': 'Failed to create the requested number of tenants.'
2015-12-21 04:23:56.796 146 ERROR rally.task.engine Traceback (most recent call last):
2015-12-21 04:23:56.796 146 ERROR rally.task.engine File "/usr/local/lib/python2.7/dist-packages/rally/task/engine.py", line 333, in run
2015-12-21 04:23:56.796 146 ERROR rally.task.engine with context.ContextManager(context_obj):
2015-12-21 04:23:56.796 146 ERROR rally.task.engine File "/usr/local/lib/python2.7/dist-packages/rally/task/context.py", line 206, in __enter__
2015-12-21 04:23:56.796 146 ERROR rally.task.engine self.setup()
2015-12-21 04:23:56.796 146 ERROR rally.task.engine File "/usr/local/lib/python2.7/dist-packages/rally/task/context.py", line 169, in setup
2015-12-21 04:23:56.796 146 ERROR rally.task.engine ctx.setup()
2015-12-21 04:23:56.796 146 ERROR rally.task.engine File "/usr/local/lib/python2.7/dist-packages/rally/common/log.py", line 196, in wrapper
2015-12-21 04:23:56.796 146 ERROR rally.task.engine result = f(self, *args, **kwargs)
2015-12-21 04:23:56.796 146 ERROR rally.task.engine File "/usr/local/lib/python2.7/dist-packages/rally/plugins/openstack/context/keystone/users.py", line 284, in setup
2015-12-21 04:23:56.796 146 ERROR rally.task.engine msg=_("Failed to create the requested number of tenants."))
2015-12-21 04:23:56.796 146 ERROR rally.task.engine ContextSetupFailure: Unable to setup context 'users': 'Failed to create the requested number of tenants.'
2015-12-21 04:23:56.796 146 ERROR rally.task.engine
2015-12-21 04:23:56.906 146 INFO rally.task.engine [-] Task 05e4e35e-47d7-4aea-9d95-4b52f381e723 | Completed: Benchmarking.
Its trying my admin endpoint. How can I change admin endpoint to public endpoint ?
Trending Articles
More Pages to Explore .....