horizon bounces you out with unauthorized only on instances, flavours, everything nova related

asked 2017-03-29 02:14:45 -0500

cervigni gravatar image

Hello,

The openstack environment works fine, from cli. Horizon logs in fine, though when trying to access anything nova-related from the menus, such as instances, flavours, network topology, access and security, I get bounced out with "Unauthorized. Please try logging in again."

In horizon logs: Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-e1dc3ab6-a528-4d77-a823-348434d301f9) 2017-03-29 07:10:52,737 31191 ERROR horizon.exceptions Unauthorized: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/horizon/tabs/base.py", line 125, in load_tab_data tab._data = tab.get_context_data(self.request) File "/usr/lib/python2.7/dist-packages/horizon/tabs/base.py", line 468, in get_context_data self.load_table_data() File "/usr/lib/python2.7/dist-packages/horizon/tabs/base.py", line 452, in load_table_data table.data = data_func() File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/tabs.py", line 74, in get_keypairs_data _('Unable to retrieve key pair list.')) File "/usr/lib/python2.7/dist-packages/horizon/exceptions.py", line 337, in handle log_method, log_entry, log_level) File "/usr/lib/python2.7/dist-packages/horizon/exceptions.py", line 231, in handle_unauthorized raise NotAuthorized NotAuthorized 2017-03-29 07:10:52,755 31191 ERROR horizon.exceptions Unauthorized: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/horizon/tabs/views.py", line 54, in get_context_data context["tab_group"].load_tab_data() File "/usr/lib/python2.7/dist-packages/horizon/tabs/base.py", line 128, in load_tab_data exceptions.handle(self.request) File "/usr/lib/python2.7/dist-packages/horizon/exceptions.py", line 337, in handle log_method, log_entry, log_level) File "/usr/lib/python2.7/dist-packages/horizon/exceptions.py", line 231, in handle_unauthorized raise NotAuthorized NotAuthorized

keystone: 2017-03-29T07:10:52.603391+00:00 node-19 keystone-public: 2017-03-29 07:10:52.602 31187 INFO keystone.common.wsgi [req-e1dc3ab6-a528-4d77-a823-348434d301f9 - - - - -] POST http://xxxxxx:5000/v2.0/tokens 2017-03-29T07:10:52.725352+00:00 node-19 keystone-public: 2017-03-29 07:10:52.723 31187 WARNING keystone.common.wsgi [req-e1dc3ab6-a528-4d77-a823-348434d301f9 - - - - -] Authorization failed. The request you have made requires authentication. from 10.4.78.28

horizon version :~# dpkg -l | grep openstack-dash ii openstack-dashboard 2:10.0.0~b2-1~u16.04+mos137 all web application to control an OpenStack cloud ii openstack-dashboard-apache 2:10.0.0~b2-1~u16.04+mos137 all web application to control an OpenStack cloud - Apache support

can anyone help me with this? Everything works fine except horizon

Thanks

edit retag flag offensive close merge delete