Ask Your Question
0

OSAD Install - KeyStone HTTPS

asked 2018-08-01 17:31:07 -0500

felix001 gravatar image

updated 2018-08-02 03:25:09 -0500

Whilst installing OSAD Queens, Im faced with an issue that keystone is presented via the HAProxy via HTTPS. However glance tries to connect to it via HTTP, in turn failing and the install failing.

Error

TASK [os_glance : Ensure glance service] ***********************************************************************************************************************************************************************************************
Thursday 02 August 2018  09:22:48 +0100 (0:00:00.145)       0:01:02.699 *******
FAILED - RETRYING: Ensure glance service (5 retries left).
FAILED - RETRYING: Ensure glance service (4 retries left).
FAILED - RETRYING: Ensure glance service (3 retries left).
FAILED - RETRYING: Ensure glance service (2 retries left).
FAILED - RETRYING: Ensure glance service (1 retries left).
fatal: [osad-controller01s1_glance_container-4023991b]: FAILED! => {"attempts": 5, "changed": false, "failed": true, "module_stderr": "mesg: ttyname failed: Inappropriate ioctl for device\nTraceback (most recent call last):\n  File \"/tmp/ansible_v9Oz1A/ansible_module_keystone.py\", line 1469, in <module>\n    main()\n  File \"/tmp/ansible_v9Oz1A/ansible_module_keystone.py\", line 1463, in main\n    km.command_router()\n  File \"/tmp/ansible_v9Oz1A/ansible_module_keystone.py\", line 487, in command_router\n    facts = action(variables=action_command['variables'])\n  File \"/tmp/ansible_v9Oz1A/ansible_module_keystone.py\", line 1038, in ensure_service\n    self._authenticate()\n  File \"/tmp/ansible_v9Oz1A/ansible_module_keystone.py\", line 614, in _authenticate\n    **client_args)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/client.py\", line 62, in Client\n    d = discover.Discover(session=session, **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/discover.py\", line 178, in __init__\n    authenticated=authenticated)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/_discover.py\", line 143, in __init__\n    authenticated=authenticated)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/_discover.py\", line 38, in get_version_data\n    resp = session.get(url, headers=headers, authenticated=authenticated)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py\", line 840, in get\n    return self.request(url, 'GET', **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py\", line 573, in request\n    auth_headers = self.get_auth_headers(auth)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py\", line 900, in get_auth_headers\n    return auth.get_headers(self, **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/plugin.py\", line 95, in get_headers\n    token = self.get_token(session)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py\", line 88, in get_token\n    return self.get_access(session).auth_token\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py\", line 134, in get_access\n    self.auth_ref = self.get_auth_ref(session)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/v3/base.py\", line 177, in get_auth_ref\n    authenticated=False, log=False, **rkwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py\", line 848, in post\n    return self.request(url, 'POST', **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py\", line 698, in request\n    resp = send(**kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py\", line 772, in _send_request\n    raise exceptions.ConnectFailure(msg)\nkeystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://172.29.236.190:35357/v3/auth/tokens: ('Connection aborted.', BadStatusLine(\"''\",))\n", "module_stdout ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-08-02 04:38:13 -0500

NarasimhaSV gravatar image

Did you change the keystone authtoken section in glance to Https ??

edit flag offensive delete link more

Comments

Where can this be found within OpenStack_Anisble. As Ive been unable to find it within the /etc/ansible/roles/os_glance/defaults/main.yml for inclusion in the /etc/openstack_deploy/user_variables.yml

felix001 gravatar imagefelix001 ( 2018-08-02 07:10:31 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-08-01 17:31:07 -0500

Seen: 57 times

Last updated: Aug 02