RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1021183 - horizon log errors
Summary: horizon log errors
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-puppet-modules
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ivan Chavero
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-20 08:17 UTC by Florian La Roche
Modified: 2016-04-18 06:47 UTC (History)
7 users (show)

Fixed In Version: openstack-puppet-modules-2014.1-23.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-30 23:01:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Florian La Roche 2013-10-20 08:17:26 UTC
Description of problem:

This is installing the newest havana packages. Seems some config files
are searched in /usr/share/openstack-dashboard/openstack_dashboard/conf/
instead of /etc/openstack-dashboard/



# sort -u < /var/log/horizon/horizon.log 
policy file for service: compute not found at /usr/share/openstack-dashboard/openstack_dashboard/conf/nova_policy.json
policy file for service: identity not found at /usr/share/openstack-dashboard/openstack_dashboard/conf/keystone_policy.json

# ls -l /etc/openstack-dashboard/
total 32
-rw-r-----. 1 root apache  4177 Oct 17 15:28 keystone_policy.json
-rw-r--r--. 1 root root    7618 Oct 19 13:42 local_settings
-rw-r-----. 1 root apache 12877 Oct 17 15:28 nova_policy.json



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Matthias Runge 2013-10-20 09:27:41 UTC
I assume, you used packstack to install Horizon.

Sadly, packstack uses it's own config and overwrites the package provided config, you're probably miissing the following bits in /etc/openstack-dashboard/local_config

# Path to directory containing policy.json files
# POLICY_FILES_PATH = os.path.join(ROOT_PATH, "conf")
POLICY_FILES_PATH = '/etc/openstack-dashboard'
# Map of local copy of service policy files
POLICY_FILES = {
    'identity': 'keystone_policy.json',
    'compute': 'nova_policy.json'
}

Comment 2 Julie Pichon 2013-10-21 10:49:09 UTC
Note that this recent commit to the upstream puppet-horizon module aimed to fix this:

https://github.com/stackforge/puppet-horizon/commit/4fabab3b63c73685f335ce334f1dad69ae848926


Note You need to log in before you can comment on or make changes to this bug.