2014-11-27 17:55:08 |
Timur Sufiev |
bug |
|
|
added bug |
2014-11-27 18:13:07 |
Timur Sufiev |
description |
Discovered during verifying bug 1371161: it appeared that the dashboard policy files on CentOS are located not in the place they are searched for according to the default value of settings.POLICY_FILES_PATH = os.path.join(ROOT_PATH, "conf"). They are located inside '/etc/openstack-dashboard'.
On CentOS, the file '/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py' which overrides is actually a symlink to the file '/etc/openstack-dashboard/local_settings'. Despite that fact, changing POLICY_FILES_PATH inside '/etc/openstack-dashboard/local_settings' to the `os.path.dirname(os.path.realname(__file__))` didn't help (I don't know why). Only when I hard-coded `POLICY_FILES_PATH = '/etc/openstack-dashboard'`, there were no more warnings in '/var/log/dashboard.log' about the policy files that policy engine could not found.
I suggest to customize value POLICY_FILES_PATH inside /etc/openstack-dashboard/local_settings to the value '/etc/openstack-dashboard' using puppet scripts.
Setting to High because no policies on CentOS in current setup are non-functional at all. |
Discovered during verifying bug 1371161: it appeared that the dashboard policy files on CentOS are located not in the place they are searched for according to the default value of settings.POLICY_FILES_PATH = os.path.join(ROOT_PATH, "conf"). They are actually located inside '/etc/openstack-dashboard'.
On CentOS, the file '/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py' which contains standard settings overrides is actually a symlink to the file '/etc/openstack-dashboard/local_settings'. Despite that fact, changing POLICY_FILES_PATH inside '/etc/openstack-dashboard/local_settings' to the `os.path.dirname(os.path.realname(__file__))` didn't help (I don't know why). Only when I hard-coded `POLICY_FILES_PATH = '/etc/openstack-dashboard'`, there were no more warnings in '/var/log/dashboard.log' about the policy files that policy engine could not found.
I suggest to customize value POLICY_FILES_PATH inside /etc/openstack-dashboard/local_settings to the value '/etc/openstack-dashboard' using puppet scripts.
Setting to High because no policies on CentOS in current setup are non-functional at all. |
|
2014-11-27 20:29:06 |
Dmitry Mescheryakov |
mos: importance |
High |
Critical |
|
2014-11-27 20:48:09 |
Dmitry Mescheryakov |
mos: importance |
Critical |
High |
|
2014-11-28 09:09:57 |
Bogdan Dobrelya |
tags |
horizon |
horizon low-hanging-fruit |
|
2014-11-28 09:10:57 |
Bogdan Dobrelya |
mos: status |
New |
Triaged |
|
2014-11-28 09:12:20 |
Bartłomiej Piotrowski |
mos: assignee |
Fuel Library Team (fuel-library) |
Bartlomiej Piotrowski (bpiotrowski) |
|
2014-11-28 12:22:38 |
Timur Sufiev |
nominated for series |
|
mos/5.1.x |
|
2014-11-28 12:22:38 |
Timur Sufiev |
bug task added |
|
mos/5.1.x |
|
2014-11-28 12:26:37 |
Dmitry Mescheryakov |
mos/5.1.x: status |
New |
Triaged |
|
2014-11-28 12:26:39 |
Dmitry Mescheryakov |
mos/5.1.x: importance |
Undecided |
High |
|
2014-11-28 12:26:45 |
Dmitry Mescheryakov |
mos/5.1.x: milestone |
|
5.1.2 |
|
2014-11-28 12:26:59 |
Dmitry Mescheryakov |
mos/5.1.x: assignee |
|
Fuel Library Team (fuel-library) |
|
2014-12-01 14:28:31 |
Bartłomiej Piotrowski |
mos: status |
Triaged |
In Progress |
|
2014-12-01 15:04:44 |
Matthew Mosesohn |
mos/5.1.x: assignee |
Fuel Library Team (fuel-library) |
Bartlomiej Piotrowski (bpiotrowski) |
|
2014-12-02 13:01:29 |
Vladimir Kuklin |
nominated for series |
|
mos/6.0.x |
|
2014-12-02 13:01:29 |
Vladimir Kuklin |
bug task added |
|
mos/6.0.x |
|
2014-12-02 13:01:46 |
Vladimir Kuklin |
bug task deleted |
mos/6.0.x |
|
|
2014-12-02 13:01:52 |
Vladimir Kuklin |
mos: milestone |
6.0 |
6.1 |
|
2014-12-02 13:01:59 |
Vladimir Kuklin |
nominated for series |
|
mos/6.0.x |
|
2014-12-02 13:01:59 |
Vladimir Kuklin |
bug task added |
|
mos/6.0.x |
|
2014-12-02 13:02:16 |
Vladimir Kuklin |
mos/6.0.x: milestone |
6.1 |
6.0.1 |
|
2014-12-02 13:02:20 |
Vladimir Kuklin |
nominated for series |
|
mos/6.1.x |
|
2014-12-02 13:02:20 |
Vladimir Kuklin |
bug task added |
|
mos/6.1.x |
|
2014-12-02 13:02:25 |
Vladimir Kuklin |
mos/6.1.x: milestone |
|
6.1 |
|
2014-12-02 13:02:28 |
Vladimir Kuklin |
mos/6.0.x: status |
In Progress |
Won't Fix |
|
2014-12-02 13:02:30 |
Vladimir Kuklin |
mos/5.1.x: status |
Triaged |
Won't Fix |
|
2014-12-02 13:02:32 |
Vladimir Kuklin |
mos/5.1.x: importance |
High |
Medium |
|
2014-12-02 13:02:34 |
Vladimir Kuklin |
mos/6.0.x: importance |
High |
Medium |
|
2014-12-02 13:02:36 |
Vladimir Kuklin |
mos/6.1.x: importance |
Undecided |
Medium |
|
2014-12-02 13:02:38 |
Vladimir Kuklin |
mos/6.1.x: status |
New |
Triaged |
|
2014-12-19 08:35:18 |
Bartłomiej Piotrowski |
mos/6.1.x: status |
Triaged |
In Progress |
|
2014-12-19 08:35:20 |
Bartłomiej Piotrowski |
mos/6.1.x: assignee |
|
Bartlomiej Piotrowski (bpiotrowski) |
|
2014-12-23 09:56:25 |
Dmitry Mescheryakov |
mos/5.1.x: importance |
Medium |
High |
|
2014-12-23 09:56:28 |
Dmitry Mescheryakov |
mos/6.0.x: importance |
Medium |
High |
|
2014-12-23 09:56:30 |
Dmitry Mescheryakov |
mos/6.1.x: importance |
Medium |
High |
|
2014-12-23 09:56:39 |
Dmitry Mescheryakov |
mos/6.0.x: status |
Won't Fix |
In Progress |
|
2014-12-23 09:56:42 |
Dmitry Mescheryakov |
mos/5.1.x: status |
Won't Fix |
Confirmed |
|
2014-12-24 20:39:00 |
Dmitry Mescheryakov |
tags |
horizon low-hanging-fruit |
horizon low-hanging-fruit release-notes |
|
2014-12-31 09:07:20 |
Bartłomiej Piotrowski |
mos/5.1.x: status |
Confirmed |
In Progress |
|
2015-01-15 10:46:25 |
Bogdan Dobrelya |
mos/5.1.x: status |
In Progress |
Fix Committed |
|
2015-01-15 10:46:30 |
Bogdan Dobrelya |
mos/6.0.x: status |
In Progress |
Fix Committed |
|
2015-01-15 10:47:02 |
Bogdan Dobrelya |
nominated for series |
|
mos/5.0.x |
|
2015-01-15 10:47:02 |
Bogdan Dobrelya |
bug task added |
|
mos/5.0.x |
|
2015-01-15 10:47:12 |
Bogdan Dobrelya |
mos/5.0.x: status |
New |
In Progress |
|
2015-01-15 10:47:42 |
Bogdan Dobrelya |
mos/5.0.x: assignee |
|
Bartlomiej Piotrowski (bpiotrowski) |
|
2015-01-15 10:47:58 |
Bogdan Dobrelya |
mos/5.0.x: milestone |
|
5.0.3 |
|
2015-01-15 10:48:09 |
Bogdan Dobrelya |
mos/6.1.x: assignee |
Bartlomiej Piotrowski (bpiotrowski) |
Aleksandr Didenko (adidenko) |
|
2015-01-15 10:49:41 |
Bogdan Dobrelya |
mos/6.1.x: status |
In Progress |
Fix Committed |
|
2015-01-15 12:29:42 |
Bartłomiej Piotrowski |
mos/5.0.x: importance |
Undecided |
High |
|
2015-03-10 14:19:15 |
Kyrylo Romanenko |
mos/6.0.x: status |
Fix Committed |
Confirmed |
|
2015-03-27 14:59:22 |
Bartłomiej Piotrowski |
mos/5.1.x: status |
Fix Committed |
In Progress |
|
2015-03-27 14:59:30 |
Bartłomiej Piotrowski |
mos/6.0.x: status |
Confirmed |
In Progress |
|
2015-05-15 13:39:24 |
Kyrylo Romanenko |
mos/6.1.x: status |
Fix Committed |
Fix Released |
|
2015-10-09 10:48:00 |
Bartłomiej Piotrowski |
mos/6.1.x: assignee |
Aleksandr Didenko (adidenko) |
Bartłomiej Piotrowski (bpiotrowski) |
|
2015-10-09 10:48:02 |
Bartłomiej Piotrowski |
mos/6.0.x: status |
In Progress |
Fix Committed |
|
2015-10-09 10:48:04 |
Bartłomiej Piotrowski |
mos/5.1.x: status |
In Progress |
Fix Committed |
|
2015-10-09 10:48:07 |
Bartłomiej Piotrowski |
mos/5.0.x: status |
In Progress |
Triaged |
|
2015-10-09 10:48:16 |
Bartłomiej Piotrowski |
mos/5.0.x: assignee |
Bartłomiej Piotrowski (bpiotrowski) |
Fuel Library Team (fuel-library) |
|
2015-10-09 10:48:46 |
Bartłomiej Piotrowski |
mos/6.1.x: assignee |
Bartłomiej Piotrowski (bpiotrowski) |
Aleksandr Didenko (adidenko) |
|
2016-03-21 10:21:44 |
Denis Meltsaykin |
mos/5.0.x: status |
Triaged |
Won't Fix |
|