Self-service User Password Change - NotAuthorized

asked 2018-11-13 12:30:02 -0600

reynoni gravatar image

updated 2018-11-14 12:36:04 -0600

Juju deployed openstack-telemetry bundle on MaaS.

Openstack functions as normal except when any user (including domain_admin) tried to change their own password through the horizon dashboard, they get an unauthorized access error message: "Error: Unauthorized: Unable to change password." and "Error: Unauthorized. Please try logging in again."

The current web page (horizon/settings/password/) displays: "You are not authorized to access this page Login"

Horizon dashboard /var/log/apache2/error.log:

[Tue Nov 13 16:04:49.511064 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560] Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-d8991522-8179-4c8c-9aa2-c591b0df1c74)

[Tue Nov 13 16:04:49.511095 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560] Traceback (most recent call last):

[Tue Nov 13 16:04:49.511099 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/dashboards/settings/password/forms.py", line 67, in handle

[Tue Nov 13 16:04:49.511102 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]     data['new_password'])

[Tue Nov 13 16:04:49.511105 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/api/keystone.py", line 573, in user_update_own_password

[Tue Nov 13 16:04:49.511109 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]     return client.users.update_password(origpassword, password)

[Tue Nov 13 16:04:49.511112 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]   File "/usr/lib/python2.7/dist-packages/keystoneclient/v3/users.py", line 226, in update_password

[Tue Nov 13 16:04:49.511115 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]     return self._update(base_url, params, method='POST', log=False)

[Tue Nov 13 16:04:49.511118 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]   File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 228, in _update

[Tue Nov 13 16:04:49.511121 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]     **kwargs)

[Tue Nov 13 16:04:49.511123 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]   File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 334, in post

[Tue Nov 13 16:04:49.511126 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]     return self.request(url, 'POST', **kwargs)

[Tue Nov 13 16:04:49.511129 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]   File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 487, in request

[Tue Nov 13 16:04:49.511145 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1.195:54560]     resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)

[Tue Nov 13 16:04:49.511148 2018] [wsgi:error] [pid 2483:tid 139843927574272] [remote 10.50.1 ...
(more)
edit retag flag offensive close merge delete