[21.01 charms] Install hook failure due to unmet dependencies in python3-django-horizon

Bug #1910436 reported by Michael Skalka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard Charm
Fix Released
High
Unassigned
Ubuntu Cloud Archive
Invalid
Undecided
Unassigned
Ussuri
Fix Released
Undecided
Unassigned

Bug Description

As seen in this test run: https://solutions.qa.canonical.com/testruns/testRun/ef90210b-ccd5-4487-9a1d-55349e47a546
Full artifacts including bundles here: https://oil-jenkins.canonical.com/artifacts/ef90210b-ccd5-4487-9a1d-55349e47a546/index.html
Crashdump here: https://oil-jenkins.canonical.com/artifacts/ef90210b-ccd5-4487-9a1d-55349e47a546/generated/generated/openstack/juju-crashdump-openstack-2021-01-06-17.55.37.tar.gz

Cloud is configured for Bionic-Ussuri, using "cloud:bionic-ussuri" as their openstack-origin.

All of the openstack-dashboard units in this deployment failed during their install hook due to unmet dependencies on the python3-django-horizon package:

2021-01-06 17:52:24 INFO juju-log Installing ['python3-novaclient', 'python3-memcache', 'memcached', 'python3-keystoneclient', 'python3-pymysql', 'openstack-dashboard-ubuntu-theme', 'python3-designate-das
hboard', 'python3-mysqldb', 'python3-neutron-fwaas-dashboard', 'python3-heat-dashboard', 'python3-django-horizon', 'openstack-dashboard', 'libapache2-mod-wsgi-py3', 'haproxy'] with options: ['--option=Dpk
g::Options::=--force-confold']
2021-01-06 17:52:24 DEBUG install Reading package lists...
2021-01-06 17:52:24 DEBUG install Building dependency tree...
2021-01-06 17:52:24 DEBUG install Reading state information...
2021-01-06 17:52:24 DEBUG install Some packages could not be installed. This may mean that you have
2021-01-06 17:52:24 DEBUG install requested an impossible situation or if you are using the unstable
2021-01-06 17:52:24 DEBUG install distribution that some required packages have not yet been created
2021-01-06 17:52:24 DEBUG install or been moved out of Incoming.
2021-01-06 17:52:24 DEBUG install The following information may help to resolve the situation:
2021-01-06 17:52:24 DEBUG install
2021-01-06 17:52:24 DEBUG install The following packages have unmet dependencies:
2021-01-06 17:52:25 DEBUG install python3-django-horizon : Depends: python3-django-openstack-auth (= 3:18.3.2-0ubuntu0.20.04.4~cloud0) but it is not going to be installed
2021-01-06 17:52:25 DEBUG install Depends: python3-swiftclient (>= 1:3.9.0-0ubuntu1.1~) but 1:3.9.0-0ubuntu1~cloud0 is to be installed
2021-01-06 17:52:25 WARNING install E: Unable to correct problems, you have held broken packages.

Changed in charm-openstack-dashboard:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Aurelien Lourot (aurelien-lourot)
Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

Can reproduce locally, our (OpenStack charmers) bionic-ussuri gate is as well broken. python3-django-horizon depends on python3-swiftclient >= 1:3.9.0-0ubuntu1.1~ but a version satisfying this constraint is only available in Ubuntu Cloud Archive `ussuri-proposed` but not `ussuri` yet:

$ cmadison python3-swiftclient | grep ussuri
 python3-swiftclient | 1:3.9.0-0ubuntu1~cloud0 | ussuri | bionic-updates | all
 python3-swiftclient | 1:3.9.0-0ubuntu1.2~cloud0 | ussuri-proposed | bionic-proposed | all

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This should be fixed shortly. The python-swiftclient is on it's way to ussuri-updates.

Changed in cloud-archive:
status: New → Invalid
Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

The charm can now be deployed again on bionic-ussuri: http://osci:8080/job/test_charm_func_full/10728/console

Changed in charm-openstack-dashboard:
status: In Progress → Fix Committed
milestone: none → 21.01
assignee: Aurelien Lourot (aurelien-lourot) → nobody
David Ames (thedac)
Changed in charm-openstack-dashboard:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.