This bug was fixed in the package horizon - 
3:18.4.2~git2020070209.392bc2482-0ubuntu1~cloud0
---------------

 horizon (3:18.4.2~git2020070209.392bc2482-0ubuntu1~cloud0) focal-victoria; 
urgency=medium
 .
   * New upstream release for the Ubuntu Cloud Archive.
 .
 horizon (3:18.4.2~git2020070209.392bc2482-0ubuntu1) groovy; urgency=medium
 .
   * New upstream snapshot for OpenStack Victoria.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/fix-skipped-config-files.patch: Dropped. Fixed upstream.
   * d/control: Update Standards-Version to 4.5.0.
 .
 horizon (3:18.3.2-0ubuntu2) groovy; urgency=medium
 .
   * d/p/fix-skipped-config-files.patch: Ensure that config files
     are included in the package (LP: #1872671).
 .
 horizon (3:18.3.2-0ubuntu1) groovy; urgency=medium
 .
   * New upstream release for OpenStack Ussuri (LP: #1877642).


** Changed in: cloud-archive
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1872671

Title:
  [Focal] Policy files are missing

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive ussuri series:
  Triaged
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in horizon package in Ubuntu:
  Fix Released
Status in horizon source package in Focal:
  Triaged

Bug description:
  [Impact]
  [Test Case]
  python3-django-horizon:
    Installed: 3:18.2.1~git2020032709.2c4470272-0ubuntu1

  After a fresh install of openstack dashboard on focal, apache2
  error.log contains hundreds of error message about missing policy
  files:

  [Tue Apr 14 09:12:34.558183 2020] [wsgi:error] [pid 3062:tid 140253993006848] 
[remote 10.64.255.1:50364] WARNING openstack_auth.policy No policy rules for 
service 'identity' in 
/usr/lib/python3/dist-packages/openstack_dashboard/conf/keystone_policy.json
  [Tue Apr 14 09:12:34.559486 2020] [wsgi:error] [pid 3062:tid 140253993006848] 
[remote 10.64.255.1:50364] WARNING openstack_auth.policy No policy rules for 
service 'compute' in 
/usr/lib/python3/dist-packages/openstack_dashboard/conf/nova_policy.json and 
files under 
['/usr/lib/python3/dist-packages/openstack_dashboard/conf/nova_policy.d']
  [Tue Apr 14 09:12:34.560622 2020] [wsgi:error] [pid 3062:tid 140253993006848] 
[remote 10.64.255.1:50364] WARNING openstack_auth.policy No policy rules for 
service 'volume' in 
/usr/lib/python3/dist-packages/openstack_dashboard/conf/cinder_policy.json and 
files under 
['/usr/lib/python3/dist-packages/openstack_dashboard/conf/cinder_policy.d']
  [Tue Apr 14 09:12:34.561703 2020] [wsgi:error] [pid 3062:tid 140253993006848] 
[remote 10.64.255.1:50364] WARNING openstack_auth.policy No policy rules for 
service 'image' in 
/usr/lib/python3/dist-packages/openstack_dashboard/conf/glance_policy.json
  [Tue Apr 14 09:12:34.562703 2020] [wsgi:error] [pid 3062:tid 140253993006848] 
[remote 10.64.255.1:50364] WARNING openstack_auth.policy No policy rules for 
service 'network' in 
/usr/lib/python3/dist-packages/openstack_dashboard/conf/neutron_policy.json

  The policy files are indeed missing from the package:

  dpkg -L python3-django-horizon | grep json$
  /usr/lib/python3/dist-packages/horizon/xstatic/pkg/angular/data/errors.json
  /usr/lib/python3/dist-packages/horizon/xstatic/pkg/angular/data/version.json
  /usr/lib/python3/dist-packages/horizon-18.2.1.dev1.egg-info/pbr.json

  Logging in with a normal user account (without admin role) still shows
  the admin panel and buttons a normal user cannot use, like
  identity/users "create user". Trying to use these either doesn't work
  or throws errors like "Unable to retrieve xxx".

  Copying the policy files from the source package solves the problem.

  [Regression Potential]
  Very low, this patch is just adding necessary policy files back into the 
package that have already existed in prior releases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1872671/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to