Running what the charm does (from comment #3) on my own with a manual upgrade works ok:
$ sudo apt-get --assume-yes --option Dpkg::Options::=--force-confnew --option Dpkg::Options::=--force-confdef dist-upgrade
...
Get:28 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/rocky/main amd64 python-django-horizon all 3:14.0.1-0ubuntu1~cloud0 [9415 kB]
...
Unpacking openstack-dashboard (3:14.0.1-0ubuntu1~cloud0) over (3:13.0.1-0ubuntu4) ...
dpkg: warning: unable to delete old directory '/var/lib/openstack-dashboard': Directory not empty
dpkg: warning: unable to delete old directory '/etc/openstack-dashboard': Directory not empty
...
Setting up python-django-horizon (3:14.0.1-0ubuntu1~cloud0) ...
update-alternatives: using /usr/lib/python2.7/dist-packages/openstack_dashboard to provide /usr/share/openstack-dashboard/openstack_dashboard (openstack_dashboard) in auto mode
$ ls -al /usr/share/openstack-dashboard/openstack_dashboard
lrwxrwxrwx 1 root root 37 Feb 14 20:03 /usr/share/openstack-dashboard/openstack_dashboard -> /etc/alternatives/openstack_dashboard
Running what the charm does (from comment #3) on my own with a manual upgrade works ok:
$ sudo apt-get --assume-yes --option Dpkg::Options: :=--force- confnew --option Dpkg::Options: :=--force- confdef dist-upgrade ubuntu- cloud.archive. canonical. com/ubuntu bionic- updates/ rocky/main amd64 python- django- horizon all 3:14.0. 1-0ubuntu1~ cloud0 [9415 kB] 1-0ubuntu1~ cloud0) over (3:13.0.1-0ubuntu4) ... openstack- dashboard' : Directory not empty -dashboard' : Directory not empty django- horizon (3:14.0. 1-0ubuntu1~ cloud0) ... alternatives: using /usr/lib/ python2. 7/dist- packages/ openstack_ dashboard to provide /usr/share/ openstack- dashboard/ openstack_ dashboard (openstack_ dashboard) in auto mode
...
Get:28 http://
...
Unpacking openstack-dashboard (3:14.0.
dpkg: warning: unable to delete old directory '/var/lib/
dpkg: warning: unable to delete old directory '/etc/openstack
...
Setting up python-
update-
$ ls -al /usr/share/ openstack- dashboard/ openstack_ dashboard openstack- dashboard/ openstack_ dashboard -> /etc/alternativ es/openstack_ dashboard
lrwxrwxrwx 1 root root 37 Feb 14 20:03 /usr/share/