[Focal] Policy files are missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Chris MacNaughton | ||
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Chris MacNaughton | ||
Ussuri |
Fix Released
|
Undecided
|
Chris MacNaughton | ||
horizon (Ubuntu) |
Fix Released
|
Undecided
|
Chris MacNaughton | ||
Focal |
Fix Released
|
Undecided
|
Chris MacNaughton |
Bug Description
[Impact]
[Test Case]
python3-
Installed: 3:18.2.
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_
[Tue Apr 14 09:12:34.559486 2020] [wsgi:error] [pid 3062:tid 140253993006848] [remote 10.64.255.1:50364] WARNING openstack_
[Tue Apr 14 09:12:34.560622 2020] [wsgi:error] [pid 3062:tid 140253993006848] [remote 10.64.255.1:50364] WARNING openstack_
[Tue Apr 14 09:12:34.561703 2020] [wsgi:error] [pid 3062:tid 140253993006848] [remote 10.64.255.1:50364] WARNING openstack_
[Tue Apr 14 09:12:34.562703 2020] [wsgi:error] [pid 3062:tid 140253993006848] [remote 10.64.255.1:50364] WARNING openstack_
The policy files are indeed missing from the package:
dpkg -L python3-
/usr/lib/
/usr/lib/
/usr/lib/
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.
Related branches
- Ubuntu Server Developers: Pending requested
-
Diff: 49 lines (+27/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/fix-skipped-config-files.patch (+19/-0)
debian/patches/series (+1/-0)
Changed in cloud-archive: | |
status: | New → Confirmed |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
Changed in horizon (Ubuntu): | |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
Changed in cloud-archive: | |
status: | Confirmed → In Progress |
Changed in horizon (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in horizon: | |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
Changed in cloud-archive: | |
status: | In Progress → Fix Released |
Changed in horizon (Ubuntu Focal): | |
status: | New → Triaged |
Changed in horizon (Ubuntu Focal): | |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
assignee: | Chris MacNaughton (chris.macnaughton) → nobody |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
description: | updated |
Changed in cloud-archive: | |
status: | Fix Released → Fix Committed |
This issue seems to be caused by the regenerated SOURCES.txt file from:
horizon (3:18.0. 1~git2020021409 .bb959361b- 0ubuntu3) focal; urgency=medium
* d/rules: Force regeneration of SOURCES.txt to ensure that generated
django{js}.mo files are included in binary packages, resolving issues
with translations (LP: #1862343).
That change includes .mo files in the package, but at the seem time removed a number of files from the package, see the attached file.