2020-04-14 09:26:12 |
Albert Damen |
bug |
|
|
added bug |
2020-04-14 12:43:39 |
Albert Damen |
attachment added |
|
Files lost from the package https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1872671/+attachment/5353836/+files/lost_files |
|
2020-05-18 09:21:52 |
Albert Damen |
summary |
Policy files are missing |
[Focal] Policy files are missing |
|
2020-05-31 13:09:49 |
Launchpad Janitor |
horizon (Ubuntu): status |
New |
Confirmed |
|
2020-06-04 10:45:33 |
Albert Damen |
bug task added |
|
cloud-archive |
|
2020-06-08 11:28:07 |
Chris MacNaughton |
cloud-archive: status |
New |
Confirmed |
|
2020-06-08 11:28:12 |
Chris MacNaughton |
cloud-archive: assignee |
|
Chris MacNaughton (chris.macnaughton) |
|
2020-06-08 11:28:14 |
Chris MacNaughton |
horizon (Ubuntu): assignee |
|
Chris MacNaughton (chris.macnaughton) |
|
2020-06-08 11:44:42 |
Chris MacNaughton |
cloud-archive: status |
Confirmed |
In Progress |
|
2020-06-08 11:44:44 |
Chris MacNaughton |
horizon (Ubuntu): status |
Confirmed |
In Progress |
|
2020-06-08 13:06:28 |
Chris MacNaughton |
bug task added |
|
horizon |
|
2020-06-08 13:06:41 |
Chris MacNaughton |
horizon: assignee |
|
Chris MacNaughton (chris.macnaughton) |
|
2020-06-08 13:07:10 |
OpenStack Infra |
horizon: status |
New |
In Progress |
|
2020-06-09 04:55:59 |
OpenStack Infra |
horizon: status |
In Progress |
Fix Released |
|
2020-06-09 08:33:52 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~chris.macnaughton/ubuntu/+source/horizon/+git/horizon/+merge/385348 |
|
2020-06-09 08:44:25 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~chris.macnaughton/ubuntu/+source/horizon/+git/horizon/+merge/385349 |
|
2020-06-13 01:24:54 |
Launchpad Janitor |
horizon (Ubuntu): status |
In Progress |
Fix Released |
|
2020-06-23 21:59:39 |
OpenStack Infra |
tags |
|
in-stable-ussuri |
|
2020-07-01 14:42:27 |
Corey Bryant |
cloud-archive: status |
In Progress |
Fix Released |
|
2020-07-01 14:47:18 |
Corey Bryant |
nominated for series |
|
Ubuntu Focal |
|
2020-07-01 14:47:18 |
Corey Bryant |
bug task added |
|
horizon (Ubuntu Focal) |
|
2020-07-01 14:47:27 |
Corey Bryant |
horizon (Ubuntu Focal): status |
New |
Triaged |
|
2020-07-01 14:47:44 |
Corey Bryant |
horizon (Ubuntu Focal): assignee |
|
Chris MacNaughton (chris.macnaughton) |
|
2020-07-01 14:48:16 |
Corey Bryant |
nominated for series |
|
cloud-archive/ussuri |
|
2020-07-01 14:48:16 |
Corey Bryant |
bug task added |
|
cloud-archive/ussuri |
|
2020-07-01 14:48:24 |
Corey Bryant |
cloud-archive/ussuri: status |
New |
Triaged |
|
2020-07-01 14:48:32 |
Corey Bryant |
cloud-archive/ussuri: assignee |
|
Corey Bryant (corey.bryant) |
|
2020-07-01 14:48:43 |
Corey Bryant |
horizon (Ubuntu Focal): assignee |
Chris MacNaughton (chris.macnaughton) |
|
|
2020-07-01 14:48:53 |
Corey Bryant |
cloud-archive/ussuri: assignee |
Corey Bryant (corey.bryant) |
Chris MacNaughton (chris.macnaughton) |
|
2020-07-01 14:49:03 |
Corey Bryant |
horizon (Ubuntu Focal): assignee |
|
Chris MacNaughton (chris.macnaughton) |
|
2020-07-01 15:43:21 |
Corey Bryant |
description |
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. |
[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. |
|
2020-07-03 02:04:51 |
Corey Bryant |
cloud-archive: status |
Fix Released |
Fix Committed |
|
2020-07-13 12:42:50 |
Corey Bryant |
cloud-archive: status |
Fix Committed |
Fix Released |
|
2020-07-22 17:08:22 |
Corey Bryant |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-07-29 14:19:14 |
Robie Basak |
horizon (Ubuntu Focal): status |
Triaged |
Fix Committed |
|
2020-07-29 14:19:17 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2020-07-29 14:19:21 |
Robie Basak |
tags |
in-stable-ussuri |
in-stable-ussuri verification-needed verification-needed-focal |
|
2020-07-31 09:45:08 |
Albert Damen |
tags |
in-stable-ussuri verification-needed verification-needed-focal |
in-stable-ussuri verification-done-focal verification-needed |
|
2020-08-10 14:29:50 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-08-10 14:39:53 |
Launchpad Janitor |
horizon (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2020-08-11 16:58:21 |
Corey Bryant |
cloud-archive/ussuri: status |
Triaged |
Fix Committed |
|
2020-08-11 16:58:23 |
Corey Bryant |
tags |
in-stable-ussuri verification-done-focal verification-needed |
in-stable-ussuri verification-done-focal verification-needed verification-ussuri-needed |
|
2020-08-15 12:12:46 |
Albert Damen |
tags |
in-stable-ussuri verification-done-focal verification-needed verification-ussuri-needed |
in-stable-ussuri verification-done-focal verification-needed verification-ussuri-done |
|
2020-11-02 14:23:50 |
Corey Bryant |
cloud-archive/ussuri: status |
Fix Committed |
Fix Released |
|