Comment 1 for bug 1827868

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Dmitri, which version of OpenStack / Ubuntu is this on please?

Note, it looks like the offending code is in hooks/horizon_utils.py:determine_packages() which is called from the upgrade-charm hook:

line 260:

def determine_packages():
    """Determine packages to install"""
    packages = deepcopy(BASE_PACKAGES)
    release = CompareOpenStackReleases(os_release('openstack-dashboard'))
    # Really should be handled as a dep in the openstack-dashboard package
    if release >= 'mitaka':
        packages.append('python-pymysql')
    if release >= 'ocata' and release < 'rocky':
        packages.append('python-neutron-lbaas-dashboard')
    if release >= 'queens':
        packages.append('python-designate-dashboard')
        packages.append('python-heat-dashboard')
        packages.append('python-neutron-fwaas-dashboard')
    if release >= 'rocky':
        packages = [p for p in packages if not p.startswith('python-')]
        packages.extend(PY3_PACKAGES)
    return list(set(packages))