On 30/03/2021 14.49, Thomas Goirand wrote:
There are probably some missing versioned dependencies s.t.
openstack-dashboard configuration is attempted with some packages
still at the version from buster.
Hi Andreas,
I don't think that's what's going on.
Horizon has some trigger mechanismes to run the collect-static and
compress jobs, whenever some components are upgraded. Which is what
happens when you do "apt-get upgrade". However, at this point, Horizon
itself isn't upgraded (it's still the Buster release), and consequently,
it fails.
Correct:
Processing triggers for openstack-dashboard (3:14.0.2-3+deb10u2) ...
Deleting 'auth/auth.module.js'
Deleting 'auth/login/login-finder.directive.js'
[...several 1000 lines...]
django.template.library.InvalidTemplateLibrary: Invalid template library
specified. ImportError raised when trying to load
'openstack_dashboard.templatetags.context_selection': cannot import name
'list_extensions' from 'novaclient.v2'
(/usr/lib/python3/dist-packages/novaclient/v2/__init__.py)
dpkg: error processing package openstack-dashboard (--configure):
installed openstack-dashboard package post-installation script subprocess
returned error exit status 1
The dpkg error make me think "configure" failed and not "triggered"
It's my opinion that the issue is probably a missing breaks:
python3-django-horizon (<< 3:18.6.2) in python3-django.
In such case, we probably should reassign the bug to Django, no?
Your thoughts?
I'll try if that fixes the the upgrade path ...
Andreas
PS: but its still "some versioned constraint is missing" ;-)