contrail-ansible-deployer
contrail-ansible-deployer copied to clipboard
OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Hello,
When I ran "ansible-playbook -i inventory/ playbooks/install_openstack.yml" under second step I got following error.
`RUNNING HANDLER [ironic-notification-manager : Restart ironic-notification-manager container] *******************************************************
fatal: [192.168.22.3]: FAILED! => {"changed": true, "msg": "'Traceback (most recent call last):\n File "/tmp/ansible_xo9rcy/ansible_module_kolla_d
ocker.py", line 801, in main\n result = bool(getattr(dw, module.params.get(\'action\'))())\n File "/tmp/ansible_xo9rcy/ansible_module_kolla
_docker.py", line 598, in recreate_or_restart_container\n self.start_container()\n File "/tmp/ansible_xo9rcy/ansible_module_kolla_docker.py"
, line 610, in start_container\n self.pull_image()\n File "/tmp/ansible_xo9rcy/ansible_module_kolla_docker.py", line 452, in pull_image\n
repository=image, tag=tag, stream=True\n File "/usr/lib/python2.7/site-packages/docker/api/image.py", line 175, in pull\n self._raise_for_st
atus(response)\n File "/usr/lib/python2.7/site-packages/docker/client.py", line 174, in _raise_for_status\n raise errors.APIError(e, response
, explanation=explanation)\nAPIError: 500 Server Error: Internal Server Error ("{"message":"Get https://172.17.0.3:5000/v1/_ping: http: server g
ave HTTP response to HTTPS client"}")\n'"}
to retry, use: --limit @/root/contrail-ansible-deployer/playbooks/install_openstack.retry
PLAY RECAP ****************************************************************************************************************************************** 192.168.22.3 : ok=259 changed=18 unreachable=0 failed=1 localhost : ok=7 changed=2 unreachable=0 failed=0 `
Content in config/instances.yaml is:
provider_config: bms: ssh_user: root ntpserver: 210.173.160.27 domainsuffix: localdomain ssh_public_key: ~/.ssh/id_rsa.pub ssh_private_key: ~/.ssh/id_rsa instances: bms1: provider: bms ip: <basehost_ip> roles: config_database: config: control: analytics_database: analytics: webui: vrouter: openstack: openstack_compute: global_configuration: CONTAINER_REGISTRY: <basehost_ip>:5000 REGISTRY_PRIVATE_INSECURE: True contrail_configuration: UPGRADE_KERNEL: True CONTRAIL_VERSION: ocata-5.0-20180219195722 CLOUD_ORCHESTRATOR: openstack RABBITMQ_NODE_PORT: 5673 AUTH_MODE: keystone KEYSTONE_AUTH_URL_VERSION: /v3 kolla_config: kolla_globals: enable_haproxy: no kolla_passwords: keystone_admin_password: mypass
When I tried to access the URL (https://172.17.0.3:5000/v1/_ping) manually using wget I got following OpenSSL error.
[root@noded1 contrail-ansible-deployer]# wget https://172.17.0.3:5000/v1/_ping --2018-06-12 10:59:39-- https://172.17.0.3:5000/v1/_ping Connecting to 172.17.0.3:5000... connected. OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol Unable to establish SSL connection. [root@noded1 contrail-ansible-deployer]#
Hi @AbdulMalik206267 please file bugs there - https://bugs.launchpad.net/juniperopenstack/?orderby=-id&start=0
for this issue full ansible log is needed (from all steps including configure_instances)