getting bad handshake: Error while doing rally deployment check

asked 2016-12-21 04:33:48 -0500

anurag-jindal29 gravatar image

updated 2017-01-09 15:51:48 -0500

rbowen gravatar image

i have created a deployment using rally but deployment check is failing. I am getting below error. Please let me know how i can workaround this issue?

root@sdn-l5:/home/sdn# rally deployment list
+--------------------------------------+----------------------------+---------+------------------+--------+
| uuid                                 | created_at                 | name    | status           | active |
+--------------------------------------+----------------------------+---------+------------------+--------+
| 9f432b59-acc9-4db5-af78-cbeac6e962a5 | 2016-12-21 07:27:05.779352 | testing | deploy->finished | *      |
+--------------------------------------+----------------------------+---------+------------------+--------+

root@sdn-l5:/home/sdn# rally deployment check
Command failed, please check log for more info
2016-12-21 16:05:43.240 12060 CRITICAL rally [-] SSLError: SSL exception connecting to https://public.fuel.local:5000/v2.0: ("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",)
2016-12-21 16:05:43.240 12060 ERROR rally Traceback (most recent call last):
2016-12-21 16:05:43.240 12060 ERROR rally   File "/usr/local/bin/rally", line 10, in <module>
2016-12-21 16:05:43.240 12060 ERROR rally     sys.exit(main())
2016-12-21 16:05:43.240 12060 ERROR rally   File "/usr/local/lib/python2.7/dist-packages/rally/cli/main.py", line 40, in main
2016-12-21 16:05:43.240 12060 ERROR rally     return cliutils.run(sys.argv, categories)
2016-12-21 16:05:43.240 12060 ERROR rally   File "/usr/local/lib/python2.7/dist-packages/rally/cli/cliutils.py", line 611, in run
2016-12-21 16:05:43.240 12060 ERROR rally     ret = fn(*fn_args, **fn_kwargs)
2016-12-21 16:05:43.240 12060 ERROR rally   File "<decorator-gen-17>", line 2, in check
2016-12-21 16:05:43.240 12060 ERROR rally   File "/usr/local/lib/python2.7/dist-packages/rally/cli/envutils.py", line 67, in default_from_global
2016-12-21 16:05:43.240 12060 ERROR rally     return f(*args, **kwargs)
2016-12-21 16:05:43.240 12060 ERROR rally   File "/usr/local/lib/python2.7/dist-packages/rally/cli/commands/deployment.py", line 228, in check
2016-12-21 16:05:43.240 12060 ERROR rally     services = api.Deployment.check(deployment)
2016-12-21 16:05:43.240 12060 ERROR rally   File "/usr/local/lib/python2.7/dist-packages/rally/api.py", line 138, in check
2016-12-21 16:05:43.240 12060 ERROR rally     services = cls.service_list(deployment)
2016-12-21 16:05:43.240 12060 ERROR rally   File "/usr/local/lib/python2.7/dist-packages/rally/api.py", line 122, in service_list
2016-12-21 16:05:43.240 12060 ERROR rally     return clients.services()
2016-12-21 16:05:43.240 12060 ERROR rally   File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 759, in services
2016-12-21 16:05:43.240 12060 ERROR rally     available_services = self.keystone.service_catalog.get_endpoints()
2016-12-21 16:05:43.240 12060 ERROR rally   File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 226, in service_catalog
2016-12-21 16:05:43.240 12060 ERROR rally     return self.auth_ref.service_catalog
2016-12-21 16:05:43.240 12060 ERROR rally   File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 231, in auth_ref
2016-12-21 16:05:43.240 12060 ERROR rally     sess, plugin = self.get_session()
2016-12-21 16:05:43.240 12060 ERROR rally   File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 264, in get_session
2016-12-21 16:05:43.240 12060 ERROR rally     password_args["auth_url"]).version_data()[0]["version"][0])
2016-12-21 16:05 ...
(more)
edit retag flag offensive close merge delete

Comments

can you share your rally deployment configuration file

sumant-murke gravatar imagesumant-murke ( 2017-01-10 10:29:14 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-01-10 10:26:31 -0500

sumant-murke gravatar image

The openstack deployment that you are trying to run against is using HTTPS connection for authentication. The workaround for this problem can be updating the catalog list endpoint (However I won't recommend this hack in production environment) to HTTP endpoint. Like instead of making it use public endpoint you can use internal or admin endpoint.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-12-21 04:33:48 -0500

Seen: 474 times

Last updated: Jan 09 '17