Ask Your Question

OSAD Install - KeyStone HTTPS

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

felix001 gravatar image

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

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.


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/\", line 1469, in <module>\n    main()\n  File \"/tmp/ansible_v9Oz1A/\", line 1463, in main\n    km.command_router()\n  File \"/tmp/ansible_v9Oz1A/\", line 487, in command_router\n    facts = action(variables=action_command['variables'])\n  File \"/tmp/ansible_v9Oz1A/\", line 1038, in ensure_service\n    self._authenticate()\n  File \"/tmp/ansible_v9Oz1A/\", line 614, in _authenticate\n    **client_args)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/\", line 62, in Client\n    d = discover.Discover(session=session, **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/\", line 178, in __init__\n    authenticated=authenticated)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/\", line 143, in __init__\n    authenticated=authenticated)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/\", 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/\", line 840, in get\n    return self.request(url, 'GET', **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/\", line 573, in request\n    auth_headers = self.get_auth_headers(auth)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/\", line 900, in get_auth_headers\n    return auth.get_headers(self, **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/\", line 95, in get_headers\n    token = self.get_token(session)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/\", line 88, in get_token\n    return self.get_access(session).auth_token\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/\", 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/\", line 177, in get_auth_ref\n    authenticated=False, log=False, **rkwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/\", line 848, in post\n    return self.request(url, 'POST', **kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/\", line 698, in request\n    resp = send(**kwargs)\n  File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/\", line 772, in _send_request\n    raise exceptions.ConnectFailure(msg)\nkeystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to ('Connection aborted.', BadStatusLine(\"''\",))\n", "module_stdout ...
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

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

NarasimhaSV gravatar image

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

edit flag offensive delete link more


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 -0600 )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


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

Seen: 72 times

Last updated: Aug 02