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