[Bug 1940834] Re: Horizon not show flavor details in instance and resize is not possible - Flavor ID is not supported by nova

Corey Bryant 1940834 at bugs.launchpad.net
Thu Feb 16 13:07:18 UTC 2023


This bug was fixed in the package horizon - 4:20.1.3-0ubuntu1~cloud1
---------------

 horizon (4:20.1.3-0ubuntu1~cloud1) focal-xena; urgency=medium
 .
   * New stable point release for OpenStack Xena (LP: #2004032).
   * d/p/lp1827120.patch: Dropped. Fixed in stable point release.
 .
 horizon (4:20.1.2-0ubuntu1~cloud1) focal-xena; urgency=medium
 .
   * d/p/lp1827120.patch: Fix missing project_id in application credential
     create when user has both project+domain admin role (LP: #1827120).
 .
 horizon (4:20.1.2-0ubuntu1~cloud0) focal-xena; urgency=medium
 .
   * New upstream release for the Ubuntu Cloud Archive.
 .
 horizon (4:20.1.2-0ubuntu1) impish; urgency=medium
 .
   * New stable point release for OpenStack Xena (LP: #1972665).
   * Remove patches that have landed upstream:
     - d/p/0001-Fix-for-Resize-instance-button.patch
 .
 horizon (4:20.1.1-0ubuntu2) impish; urgency=medium
 .
   * d/p/0001-Fix-for-Resize-instance-button.patch: Fixes resize instance
     widget (LP: #1940834).
 .
 horizon (4:20.1.1-0ubuntu1) impish; urgency=medium
 .
   [ Corey Bryant ]
   * d/gbp.conf: Create stable/xena branch.
 .
   [ Felipe Reyes ]
   * New stable point release for OpenStack Xena (LP: #1962582).
 .
 horizon (4:20.1.0-0ubuntu1) impish; urgency=medium
 .
   * d/watch: Scope to 20.x series.
   * New upstream release for OpenStack Xena.
 .
 horizon (4:20.0.0+git2021091315.420eaa5ba-0ubuntu1) impish; urgency=medium
 .
   * New upstream snapshot for OpenStack Xena.
 .
 horizon (4:19.2.0+git2021072116.b58ac2894-0ubuntu1) impish; urgency=medium
 .
   * New upstream snapshot for OpenStack Xena.
 .
 horizon (4:19.2.0+git2021062815.310a24d05-0ubuntu1) impish; urgency=medium
 .
   * New upstream snapshot for OpenStack Xena.
 .
 horizon (4:19.2.0-0ubuntu1) hirsute; urgency=medium
 .
   * New upstream release for OpenStack Wallaby.
   * d/control: Align (Build-)Depends with upstream.
 .
 horizon (4:19.1.0-0ubuntu1) hirsute; urgency=medium
 .
   * d/watch: Fix tarball path.
   * New upstream stable point release for OpenStack Wallaby.
   * d/control: Align (Build-)Depends with upstream.
 .
 horizon (4:19.0.0+git2021012814.944902c5c-0ubuntu1) hirsute; urgency=medium
 .
   * New upstream snapshot for OpenStack Wallaby.
 .
 horizon (4:19.0.0-0ubuntu1) hirsute; urgency=medium
 .
   * d/watch: Scope to 19.x series.
   * New upstream release for OpenStack Wallaby.
   * d/p/fix-dashboard-django-wsgi.patch: Removed. Upstream removed deprecated file.
   * d/p/ubuntu_settings.patch: Refreshed.
 .
 horizon (4:18.6.1-0ubuntu2) hirsute; urgency=medium
 .
   * d/control: Ensure min version of python3-swiftclient can get
     capabilities when using ceph radosgw swift API (LP: #1902944).
 .
 horizon (4:18.6.1-0ubuntu1) groovy; urgency=medium
 .
   * New upstream release for OpenStack Victoria.
 .
 horizon (4:18.6.0-0ubuntu1) groovy; urgency=medium
 .
   [ Chris MacNaughton ]
   * d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev.
 .
   [ Corey Bryant ]
   * New upstream release for OpenStack Victoria.
 .
 horizon (3:19.0.0~b3~git2020091105.79e505520-0ubuntu1) groovy; urgency=medium
 .
   * d/control: Remove Breaks/Replaces that are older than Focal (LP: #1878419).
   * New upstream snapshot for OpenStack Victoria.
 .
 horizon (3:19.0.0~b2~git2020073014.eb86389fa-0ubuntu1) groovy; urgency=medium
 .
   * New upstream snapshot for OpenStack Victoria.
   * d/bundle-xstatic.sh: Stop putting xstatic original tar into ../build-area.
     debuild needs it to be in ../ along with the horizon original tarball so
     that's where it should be placed.
 .
 horizon (3:19.0.0~b1~git2020071408.99ffd59a5-0ubuntu1) groovy; urgency=medium
 .
   * New upstream snapshot for OpenStack Victoria.
 .
 horizon (3:18.4.2~git2020070209.392bc2482-0ubuntu1) groovy; urgency=medium
 .
   * New upstream snapshot for OpenStack Victoria.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/fix-skipped-config-files.patch: Dropped. Fixed upstream.
   * d/control: Update Standards-Version to 4.5.0.
 .
 horizon (3:18.3.2-0ubuntu2) groovy; urgency=medium
 .
   * d/p/fix-skipped-config-files.patch: Ensure that config files
     are included in the package (LP: #1872671).
 .
 horizon (3:18.3.2-0ubuntu1) groovy; urgency=medium
 .
   * New upstream release for OpenStack Ussuri (LP: #1877642).
 .
 horizon (3:18.2.1~git2020041013.754804667-0ubuntu3) focal; urgency=medium
 .
   * d/openstack-dashboard.postinst: Ensure static assets can be read by
     the apache user including the full path to the static directory. This
     changes the mode bits of /var/lib/openstack-dashboard to 755.
     (LP: #1871640).
 .
 horizon (3:18.2.1~git2020041013.754804667-0ubuntu2) focal; urgency=medium
 .
   * d/openstack-dashboard.postinst: Ensure static assets can be read by
     the apache user including the full path to the static directory
     (LP: #1871640).
 .
 horizon (3:18.2.1~git2020041013.754804667-0ubuntu1) focal; urgency=medium
 .
   * New upstream snapshot for OpenStack Ussuri.
   * d/openstack-dashboard.postinst: Set ownership and permissions for all
     /var/lib files and directories.
 .
 horizon (3:18.2.1~git2020032709.2c4470272-0ubuntu1) focal; urgency=medium
 .
   * d/watch: Adjust to new tarball URL.
   * d/openstack-dashboard.postinst: Set default ownership and permissions
     for /etc/<pkg> and /var/lib/<pkg> (LP: #1859422).
   * New upstream snapshot for OpenStack Ussuri.
   * d/control: Align (Build-)Depends with upstream.
 .
 horizon (3:18.0.1~git2020021409.bb959361b-0ubuntu3) focal; urgency=medium
 .
   * d/rules: Force regeneration of SOURCES.txt to ensure that generated
     django{js}.mo files are included in binary packages, resolving issues
     with translations (LP: #1862343).
 .
 horizon (3:18.0.1~git2020021409.bb959361b-0ubuntu2) focal; urgency=medium
 .
   * d/control: Add epoch to python3-django (Build-)Depend.
 .
 horizon (3:18.0.1~git2020021409.bb959361b-0ubuntu1) focal; urgency=medium
 .
   [ Sahid Orentino Ferdjaoui ]
   * New upstream snapshot for OpenStack Ussuri.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/fix-horizon-test-settings.patch: Refreshed.
   * d/p/debian/patches/ubuntu_settings.patch: Refreshed.
   * d/control: Removed min version for python3-hacking.
 .
   [ Corey Bryant ]
   * d/watch: Scope to 18.x series.
   * New upstream snapshot for OpenStack Ussuri.
   * d/control: Align (Build-)Depends with upstream.
   * d/py3dist-overrides: Upstream has replaced babel-django with enmerkar.
     This is not needed in distro, as it is only required when extracting
     translation strings by OpenStack CI infra.
   * d/bundle-xstatic.sh: Switch to pip3.
 .
 horizon (3:17.0.0~b1~git2019121712.f7313b74c-0ubuntu1) focal; urgency=medium
 .
   * New upstream snapshot for OpenStack Ussuri.
   * d/control: Align (Build-)Depends with upstream.
   * d/control, d/rules, d/compat: Switch to debhelper compat 12 and pybuild.
 .
 horizon (3:16.0.0-0ubuntu1) eoan; urgency=medium
 .
   * New upstream release for OpenStack Train.
   * d/p/ubuntu_settings.patch: Rebased.
 .
 horizon (3:16.0.0~rc1-0ubuntu1) eoan; urgency=medium
 .
   * d/watch: Scope to 16.x series.
   * New upstream release candidate for OpenStack Train.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/*: Rebased.
 .
 horizon (3:16.0.0~b2~git2019080510.0a10dde2e-0ubuntu4) eoan; urgency=medium
 .
   * d/control: Switch back to python3-django >= 1:1.11. See related bug to
     prevent python3-django 2:2.2.4 from migrating to eoan-release:
     https://bugs.launchpad.net/bugs/1842969.
 .
 horizon (3:16.0.0~b2~git2019080510.0a10dde2e-0ubuntu3) eoan; urgency=medium
 .
   * d/control: Ensure python3-django is << 2:2.2.4.
 .
 horizon (3:16.0.0~b2~git2019080510.0a10dde2e-0ubuntu2) eoan; urgency=medium
 .
   * No change rebuild to pick up xstatic orig tarball.
 .
 horizon (3:16.0.0~b2~git2019080510.0a10dde2e-0ubuntu1) eoan; urgency=medium
 .
   * New upstream snapshot for OpenStack Train.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/ubuntu_settings.patch: Refreshed.
   * d/p/switch-from-django-string_compat-to-format_lazy.patch: Dropped. Fixed
     in snapshot.
   * d/p/control: Fixed the epoch for python3-django.
 .
 horizon (3:16.0.0~b1~git2019061445.2cb84ade8-0ubuntu3) eoan; urgency=medium
 .
   * d/p/switch-from-django-string_compat-to-format_lazy.patch: Rebased from
     https://review.opendev.org/#/c/671045.
   * d/control: Drop (Build-)Depends on python3-ceilometerclient as it is
     no longer needed.
 .
 horizon (3:16.0.0~b1~git2019061445.2cb84ade8-0ubuntu2) eoan; urgency=medium
 .
   * d/p/switch-from-django-string_compat-to-format_lazy.patch: Cherry-picked
     from https://review.opendev.org/#/c/671045 to enable use of horizon with
     python-django >= 2.1 (LP: #1836671).
 .
 horizon (3:16.0.0~b1~git2019061445.2cb84ade8-0ubuntu1) eoan; urgency=medium
 .
   * New upstream snapshot for OpenStack Stein.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/*: Refresh.
   * d/p/set-min-version-of-python-cinderclient-to-4.0.0.patch: Drop, no
     longer needed.
 .
 horizon (3:15.0.0-0ubuntu1) disco; urgency=medium
 .
   * New upstream release for OpenStack Stein.
 .
 horizon (3:15.0.0~rc2-0ubuntu2) disco; urgency=medium
 .
   * d/p/set-min-version-of-python-cinderclient-to-4.0.0.patch: Ensure
     python3-cinderclient is >= 4.0.0, as this is required for create/update
     of volumes from the horizon dashboard (LP: #1824017).
 .
 horizon (3:15.0.0~rc2-0ubuntu1) disco; urgency=medium
 .
   * New upstream release candidate for OpenStack Stein.
   * d/p/drop-devicename-creating-server-with-image-boot-to-volume.patch:
     Dropped. Included in new upstream release candidate.
 .
 horizon (3:15.0.0~rc1-0ubuntu2) disco; urgency=medium
 .
   [ Corey Bryant ]
   * Revert commited quilt patches.
   * Re-import orig tarball to fix broken svg files.
 .
   [ Karl Williams ]
   * d/theme/ubuntu/_styles.scss: Fixing white bar on top of login
     page (LP: #1818770).
 .
   [ Sahid Orentino Ferdjaoui]
   * d/theme/ubuntu/img: Replacing the corrupted PNG image
     image-background-pattern.png (LP: #1821896)
 .
   [ Eric Desrochers ]
   * d/p/drop-devicename-creating-server-with-image-boot-to-volume.patch:
     When creating a server using an image boot source to new volume,
     horizon specified device_name 'vda'. If for instance we use an image
     with disk_bus type scsi, horizon will name the device_name as 'vda'
     when it should be 'sda'. As per BDMv2 documentation, it's best to not
     specify device_name. (LP: #1822129)
 .
 horizon (3:15.0.0~rc1-0ubuntu1) disco; urgency=medium
 .
   * New upstream release candidate for OpenStack Stein.
 .
 horizon (3:15.0.0~b2-0ubuntu1) disco; urgency=medium
 .
   * d/watch: Scope to 15.x series.
   * New upstream milestone for OpenStack Stein.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/ubuntu_settings.patch: Rebased.
 .
 horizon (3:15.0.0~b2~git2019013121.d11ab7b28-0ubuntu1) disco; urgency=medium
 .
   * New upstream snapshot for OpenStack Stein.
   * d/p/ubuntu_settings.patch: Rebased.
 .
 horizon (3:15.0.0~b1~git2018112014.c4515d1bf-0ubuntu2) disco; urgency=medium
 .
   * d/openstack-dashboard.postinst: Ensure that if memcached is installed it is
     restarted in post-install script after collecting/compressing static assets,
     enabling refresh of memcached static assets after upgrade (LP: #1802226).
 .
 horizon (3:15.0.0~b1~git2018112014.c4515d1bf-0ubuntu1) disco; urgency=medium
 .
   * New upstream snapshot for OpenStack Stein.
   * d/control: Align (Build-)Depends with upstream.
   * d/control,rules,python*,openstack-dashboard.postinst,pydist-overrides,
     d/tests/*: Drop Python 2 support.
   * d/p/add-enabled-check-in-backups-panel.patch: Dropped. Fixed in upstream
     snapshot.
   * d/p/ubuntu_settings.patch: Rebased.
 .
 horizon (3:14.0.0-0ubuntu4) cosmic; urgency=medium
 .
   * d/p/add-enabled-check-in-backups-panel.patch: Cherry-picked from
     https://review.openstack.org/#/c/605715 to ensure Volume Backups panel
     is disabled if enable_backup is False (LP: #1778771).
 .
 horizon (3:14.0.0-0ubuntu3) cosmic; urgency=medium
 .
   * d/theme/ubuntu/_styles.scss: Ensure btn-danger rules are preferred when
     used with a, a:link, a:visited and dropdown-menu.li (LP: #1790189).
   * d/p/add-juju-environment-download.patch: Dropped as this support is for
     an old version of Juju (1.x). Users should follow the documentation at
     docs.jujucharms.com to configure Juju (2.x) to use an OpenStack cloud.
 .
 horizon (3:14.0.0-0ubuntu2) cosmic; urgency=medium
 .
   * d/openstack-dashboard.install, d/openstack-dashboard-common.install: Move
     apache2 conf back to openstack-dashboard package where apache2 dependencies
     are installed.
 .
 horizon (3:14.0.0-0ubuntu1) cosmic; urgency=medium
 .
   * d/p/init-security-group-rule-quota.patch: Dropped. This patch is not
     complete.
   * New upstream release for OpenStack Rocky.
 .
 horizon (3:14.0.0~rc1-0ubuntu2) cosmic; urgency=medium
 .
   * d/p/init-security-group-rule-quota.patch: Ensure the security_group_rule
     quota is initialized when quota_details extension is not supported.
     Otherwise, security_group_rule will not be initialized with 'used' and
     'available' dictionary items.
 .
 horizon (3:14.0.0~rc1-0ubuntu1) cosmic; urgency=medium
 .
   * New upstream release candidate for OpenStack Rocky.
 .
 horizon (3:14.0.0~b3-0ubuntu1) cosmic; urgency=medium
 .
   * New upstream milestone for OpenStack Rocky.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/*: Rebased.
 .
 horizon (3:14.0.0~b2-0ubuntu3) cosmic; urgency=medium
 .
   * d/control, d/openstack-dashboard-common.*: Add openstack-dashboard-common
     package and move common file installation from openstack-dashboard to it.
     This allows python(3)-django-horizon to be installed prior to the
     openstack-dashboard package.
 .
 horizon (3:14.0.0~b2-0ubuntu2) cosmic; urgency=medium
 .
   * Add Python 3 support:
     - d/control: Add python3-django-horizon package.
     - d/control: Add libapache2-mod-wsgi-py3 and python3-django-horizon
       and alternatives for openstack-dashboard installation.
     - d/rules: Switch to pkgos-dh_auto_install.
     - d/rules: Stop linking to pyX version of horizon modul
       as its not actually needed.
     - d/rules: Install themes and xstatic content into py2/py3
       specific locations.
     - d/openstack-dashboard.postinst: Detect which django-horizon
       package is installed to determine which python version to
       use for collectstatic and compress operations.
     - d/py3dist-overrides: Add xstatic overrides for py3.
     - d/pydist-overrides: Align xstatic overrides with deps.
     - d/python{3}-django-horizon.{postinst,prerm,postrm}: Manage
       /usr/share/openstack-dashboard/openstack_dashboard as an
       alternative to provide py3/py3 versions of the WSGI entry
       point for Horizon.
     - d/openstack-dashboard.install: Drop install of openstack_dashboard,
       now provided by python{3}-django-horizon via alternatives.
   * d/openstack-dashboard.conf: Use new WSGI entry point.
   * d/control: Use python3-sphinx for doc build.
 .
 horizon (3:14.0.0~b2-0ubuntu1) cosmic; urgency=medium
 .
   * New upstream milestone for OpenStack Rocky.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/fix-dashboard-django-wsgi.patch: Rebased.
 .
 horizon (3:14.0.0~b1-0ubuntu1) cosmic; urgency=medium
 .
   * d/watch: Scope to 14.x series.
   * New upstream milestone for OpenStack Rocky.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/*: Rebased.
   * d/control: Update Standards-Version to 4.1.4.
   * d/watch, d/control, d/copyright,
     d/p/debian/patches/add-juju-environment-download.patch: Use https URLs.
   * d/control: Drop obsolete XS-Testsuite: autopkgtest header.
 .
 horizon (3:13.0.0-0ubuntu2) cosmic; urgency=medium
 .
   * d/openstack-dashboard.postinst: Make sure that /var/lib/openstack-dashboard/
     and /var/lib/openstack-dashboard/secret_key have the appropriate permissions
     (LP: #1765191).
 .
 horizon (3:13.0.0-0ubuntu1) bionic; urgency=medium
 .
   * New upstream release for OpenStack Queens.
 .
 horizon (3:13.0.0~rc2-0ubuntu1) bionic; urgency=medium
 .
   * New upstream release candidate for OpenStack Queens.
 .
 horizon (3:13.0.0~rc1-0ubuntu1) bionic; urgency=medium
 .
   * New upstream milestone for OpenStack Queens.
 .
 horizon (3:13.0.0~b3-0ubuntu1) bionic; urgency=medium
 .
   * d/openstack-dashboard.conf: Run within the global application group which
     executes within the context of the first Python interpreter (LP: #1738379).
   * d/openstack-dashboard.postinst: Add check in to ensure
     apache2-maintscript-helper exists before executing (LP: #1740300).
   * New upstream milestone for OpenStack Queens.
   * d/*: wrap-and-sort -bast.
   * d/control: Align (Build-)Depends with upstream.
 .
 horizon (3:13.0.0~b2-0ubuntu2) bionic; urgency=medium
 .
   * d/rules, d/control, d/python-django-openstack-auth.install: Add binary
     packages for python(3)-django-openstack-auth as the code has been moved
     into the horizon git repo.
 .
 horizon (3:13.0.0~b2-0ubuntu1) bionic; urgency=medium
 .
   * New upstream milestone for OpenStack Queens.
   * d/control: Align (Build-)Depends with upstream.
   * d/*: wrap-and-sort -bast.
   * d/p/*: Rebased.
   * d/control: Update Standards-Version to 4.1.2.
   * d/control: Bump debhelper compat to 10.
   * d/watch: Scope to Queens series.
 .
 horizon (3:13.0.0~b1-0ubuntu2) bionic; urgency=medium
 .
   * Depend on python-django-compressor instead of the (transitional,
     obsolete) python-compressor.
 .
 horizon (3:13.0.0~b1-0ubuntu1) bionic; urgency=medium
 .
   * New upstream milestone for OpenStack Queens.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/drop-openstackdoctheme.patch: Dropped. No longer needed.
   * d/p/*: Rebased.
   * d/rules: Use manage.py to compile the message catalog as run_tests.sh
     has been removed upstream.
 .
 horizon (3:12.0.0-0ubuntu3) bionic; urgency=medium
 .
   * d/p/add-juju-environment-download.patch: Add DownloadJujuEnv to
     table_actions_menu (LP: #1727810).
 .
 horizon (3:12.0.0-0ubuntu2.1) artful; urgency=medium
 .
   * d/p/add-juju-environment-download.patch: Update broken url for
     downloading Juju environment (LP: #1714985).
 .
 horizon (3:12.0.0-0ubuntu2) artful; urgency=medium
 .
   * debian/theme/ubuntu/_styles.scss: Ensure btn-primary text color takes
     precedence (LP: #1481216).
 .
 horizon (3:12.0.0-0ubuntu1) artful; urgency=medium
 .
   * New upstream release for OpenStack Pike.
   * d/p/ubuntu_settings.patch: Rebased.
 .
 horizon (3:12.0.0~rc2-0ubuntu1) artful; urgency=medium
 .
   * New upstream release candidate for OpenStack Pike.
 .
 horizon (3:12.0.0~rc1-0ubuntu1) artful; urgency=medium
 .
   * New upstream release candidate for OpenStack Pike.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/drop-openstackdoctheme.patch: Temporarily drop openstackdocstheme
     sphinx extension until sphinx>=1.6.2 is available.
 .
 horizon (3:12.0.0~b3-0ubuntu2) artful; urgency=medium
 .
   * d/control: Set min python-requests to 2.14.2.
 .
 horizon (3:12.0.0~b3-0ubuntu1) artful; urgency=medium
 .
   * New upstream milestone for OpenStack Pike.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/*: Rebased.
   * d/control: Set min python-openstack-auth to 3.5.0.
 .
 horizon (3:12.0.0~b2-0ubuntu1) artful; urgency=medium
 .
   * New upstream milestone for OpenStack Pike.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/*: Refresh
   * d/control: Bumped Standards-Version to 3.9.8, no changes.
 .
 horizon (3:12.0.0~b1-0ubuntu2) artful; urgency=medium
 .
   * Switch to using horizon user and group for wsgi processes:
     - d/openstack-dashboard.postinst: Update to use horizon instead
       of www-data, tidy for conf file moves in older versions and drop
       apache2.2 config file handling.
     - d/openstack-dashboard.conf: Switch www-data -> horizon for wsgi
       processes.
 .
 horizon (3:12.0.0~b1-0ubuntu1) artful; urgency=medium
 .
   [ Chuck Short ]
   * d/openstack-dashboard: Make sure that /etc/openstack-dashboard has the
     apporiate permissions. (LP: #1675088)
 .
   [ James Page ]
   * New upstream milestone for OpenStack Pike.
   * Align (Build-)Depends with upstream milestone.
   * d/p/*: Refresh.
   * d/compat: Bump to version 9.
 .
 horizon (3:11.0.1-0ubuntu1) zesty; urgency=medium
 .
   * New upstream stable release for OpenStack Ocata.
 .
 horizon (3:11.0.0-0ubuntu1) zesty; urgency=medium
 .
   * New upstream release for OpenStack Ocata.
 .
 horizon (3:11.0.0~rc2-0ubuntu2) zesty; urgency=medium
 .
   * d/theme/*: Refresh theme for final Ocata release. Thanks to
     karl.williams at canonical.com for contributing these updates.
 .
 horizon (3:11.0.0~rc2-0ubuntu1) zesty; urgency=medium
 .
   * New upstream release candidate for OpenStack Ocata.
 .
 horizon (3:11.0.0~rc1-0ubuntu1) zesty; urgency=medium
 .
   * New upstream milestone for Ocata.
   * d/patches/add-juju-environment-download.patch: Refreshed.
 .
 horizon (3:11.0.0~b3-0ubuntu2) zesty; urgency=medium
 .
   * d/openstack-dashboard.*, d/p/ubuntu_settings.patch: Collect static files
     into /var/lib/ instead of /usr/share/. This aligns with the FHS
     (/usr/share files is for static and /var/lib is for dynamic files).
 .
 horizon (3:11.0.0~b3-0ubuntu1) zesty; urgency=medium
 .
   * New upstream release.
   * d/control: Align (Build-)Depends with upstream.
 .
 horizon (3:11.0.0~b3~20170113.158a4c1a-0ubuntu1) zesty; urgency=medium
 .
   * New upstream release snapshot for OpenStack Ocata.
 .
 horizon (3:11.0.0~b2-0ubuntu1) zesty; urgency=medium
 .
   * New upstream milestone for OpenStack Ocata.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/ubuntu_settings.patch: Rebased.
 .
 horizon (3:11.0.0~b1-0ubuntu3) zesty; urgency=medium
 .
   * d/openstack-dashboard.preinst, d/openstack-dashboard.postrm: Remove
     /usr/share/openstack-dashboard/static/ directory where we used to remove
     its contents. In Newton this directory was a symlink but not in Ocata.
     Also remove /usr/share/openstack-dashboard/openstack_dashboard/ in preinst
     to enable upgrades.
 .
 horizon (3:11.0.0~b1-0ubuntu2) zesty; urgency=medium
 .
   * d/p/*: Rebased.
   * d/rules, d/openstack-dashboard.links: Drop unnecessary install steps
     (LP: #1643964).
   * d/openstack-dashboard.postinst, d/openstack-dashboard.dirs: Update static
     file paths to use /usr/share/openstack-dashboard/static/.
 .
 horizon (3:11.0.0~b1-0ubuntu1) zesty; urgency=medium
 .
   * New upstream milestone for OpenStack Ocata.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/*: Rebased.
 .
 horizon (3:10.0.0-0ubuntu1) yakkety; urgency=medium
 .
   * New upstream release for OpenStack Newton.
 .
 horizon (3:10.0.0~rc3-0ubuntu1) yakkety; urgency=medium
 .
   * New upstream release candidate for OpenStack Newton.
 .
 horizon (3:10.0.0~rc2-0ubuntu1) yakkety; urgency=medium
 .
   * New upstream release candidate for OpenStack Newton.
   * d/p/ubuntu_settings.patch: Rebased.
 .
 horizon (3:10.0.0~rc1-0ubuntu1) yakkety; urgency=medium
 .
   * New upstream release candidate for OpenStack Newton.
   * d/control: Align (Build-)Depends with upstream.
 .
 horizon (3:10.0.0~b3-0ubuntu2) yakkety; urgency=medium
 .
   * d/theme/ubuntu/_variables.scss: Fixup path to font_awesome resources.
   * d/control: Add python-memcache to runtime Depends.
 .
 horizon (3:10.0.0~b3-0ubuntu1) yakkety; urgency=medium
 .
   [ Corey Bryant ]
   * Update epoch to align with Debian.
 .
   [ Corey Bryant ]
   * New upstream milestone for OpenStack Newton.
   * d/control: Align (Build-)Depends with upstream.
   * d/p/ubuntu_settings.patch: Rebased.
   * d/p/fix-horizon-test-settings.patch: Rebased.
   * d/p/add-juju-environment-download.patch: Rebased.
   * d/p/embedded-xstatic.patch: Refactored due to upstream re-work.
   * d/pydist-overrides: Add new xstatic packages.
   * d/theme/ubuntu/horizon/_styles.scss: Update path to vendor-prefixes.scss.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1940834

Title:
  Horizon not show flavor details in instance and resize is not possible
  - Flavor ID is not supported by nova

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive ussuri series:
  Fix Released
Status in Ubuntu Cloud Archive victoria series:
  Fix Released
Status in Ubuntu Cloud Archive wallaby series:
  Fix Released
Status in Ubuntu Cloud Archive xena series:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in horizon package in Ubuntu:
  Fix Released
Status in horizon source package in Focal:
  Fix Released
Status in horizon source package in Impish:
  Fix Released

Bug description:
  In horizon on Wallaby and Victoria release, there are some view and
  function which are using ID value from Instance's Flavor part of JSON.
  The main issue is when you want to resize instance, you are receiving
  output below. The issue is also on Instance detail is specs, where
  Flavor is Not available. But on all instances view, this is working
  fine and base on detail of instance object and it's details, it looks
  like this view is using different methods based on older API.

  We are running Wallaby dashboard with openstack-helm project with nova-api 2.88
  Nova version:
  {"versions": [{"id": "v2.0", "status": "SUPPORTED", "version": "", "min_version": "", "updated": "2011-01-21T11:33:21Z", "links": [{"rel": "self", "href": "http://nova.openstack.svc.cluster.local/v2/"}]}, {"id": "v2.1", "status": "CURRENT", "version": "2.88", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [{"rel": "self", "href": "http://nova.openstack.svc.cluster.local/v2.1/"}]}]})

  For example for resize initialization the log output is:

  2021-08-23 12:20:30.308473 Internal Server Error: /project/instances/a872bcc6-0a56-413a-9bea-b27dc006c707/resize
  2021-08-23 12:20:30.308500 Traceback (most recent call last):
  2021-08-23 12:20:30.308503   File "/var/lib/openstack/lib/python3.6/site-packages/horizon/utils/memoized.py", line 107, in wrapped
  2021-08-23 12:20:30.308505     value = cache[key] = cache.pop(key)
  2021-08-23 12:20:30.308507 KeyError: ((<weakref at 0x7fba91b35228; to 'ResizeView' at 0x7fba91b407b8>,), ())
  2021-08-23 12:20:30.308509
  2021-08-23 12:20:30.308512 During handling of the above exception, another exception occurred:
  2021-08-23 12:20:30.308513
  2021-08-23 12:20:30.308515 Traceback (most recent call last):
  2021-08-23 12:20:30.308517   File "/var/lib/openstack/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
  2021-08-23 12:20:30.308519     response = get_response(request)
  2021-08-23 12:20:30.308521   File "/var/lib/openstack/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
  2021-08-23 12:20:30.308523     response = self.process_exception_by_middleware(e, request)
  2021-08-23 12:20:30.308525   File "/var/lib/openstack/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
  2021-08-23 12:20:30.308527     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  2021-08-23 12:20:30.308529   File "/var/lib/openstack/lib/python3.6/site-packages/horizon/decorators.py", line 52, in dec
  2021-08-23 12:20:30.308531     return view_func(request, *args, **kwargs)
  2021-08-23 12:20:30.308533   File "/var/lib/openstack/lib/python3.6/site-packages/horizon/decorators.py", line 36, in dec
  2021-08-23 12:20:30.308534     return view_func(request, *args, **kwargs)
  2021-08-23 12:20:30.308536   File "/var/lib/openstack/lib/python3.6/site-packages/horizon/decorators.py", line 36, in dec
  2021-08-23 12:20:30.308538     return view_func(request, *args, **kwargs)
  2021-08-23 12:20:30.308540   File "/var/lib/openstack/lib/python3.6/site-packages/horizon/decorators.py", line 112, in dec
  2021-08-23 12:20:30.308542     return view_func(request, *args, **kwargs)
  2021-08-23 12:20:30.308543   File "/var/lib/openstack/lib/python3.6/site-packages/horizon/decorators.py", line 84, in dec
  2021-08-23 12:20:30.308545     return view_func(request, *args, **kwargs)
  2021-08-23 12:20:30.308547   File "/var/lib/openstack/lib/python3.6/site-packages/django/views/generic/base.py", line 71, in view
  2021-08-23 12:20:30.308549     return self.dispatch(request, *args, **kwargs)
  2021-08-23 12:20:30.308551   File "/var/lib/openstack/lib/python3.6/site-packages/django/views/generic/base.py", line 97, in dispatch
  2021-08-23 12:20:30.308553     return handler(request, *args, **kwargs)
  2021-08-23 12:20:30.308554   File "/var/lib/openstack/lib/python3.6/site-packages/horizon/workflows/views.py", line 153, in get
  2021-08-23 12:20:30.308556     context = self.get_context_data(**kwargs)
  2021-08-23 12:20:30.308559   File "/var/lib/openstack/lib/python3.6/site-packages/openstack_dashboard/dashboards/project/instances/views.py", line 597, in get_context_data
  2021-08-23 12:20:30.308561     context = super().get_context_data(**kwargs)
  2021-08-23 12:20:30.308563   File "/var/lib/openstack/lib/python3.6/site-packages/horizon/workflows/views.py", line 91, in get_context_data
  2021-08-23 12:20:30.308565     workflow = self.get_workflow()
  2021-08-23 12:20:30.308567   File "/var/lib/openstack/lib/python3.6/site-packages/horizon/workflows/views.py", line 77, in get_workflow
  2021-08-23 12:20:30.308570     extra_context = self.get_initial()
  2021-08-23 12:20:30.308571   File "/var/lib/openstack/lib/python3.6/site-packages/openstack_dashboard/dashboards/project/instances/views.py", line 638, in get_initial
  2021-08-23 12:20:30.308573     _object = self.get_object()
  2021-08-23 12:20:30.308575   File "/var/lib/openstack/lib/python3.6/site-packages/horizon/utils/memoized.py", line 109, in wrapped
  2021-08-23 12:20:30.308577     value = cache[key] = func(*args, **kwargs)
  2021-08-23 12:20:30.308578   File "/var/lib/openstack/lib/python3.6/site-packages/openstack_dashboard/dashboards/project/instances/views.py", line 610, in get_object
  2021-08-23 12:20:30.308583     flavor_id = instance.flavor['id']
  2021-08-23 12:20:30.308586 KeyError: 'id'

  For older version e.g. by this command:
  curl -s   -H "X-Auth-Token: $OS_TOKEN" -H "X-OpenStack-Nova-API-Version: 2.46"  "http://nova-api:8774/v2.1/servers/{some server ID}" | python -mjson.tool

          "flavor": {
              "id": "2",
              "links": [
                  {
                      "href": "http://xxx.xxx.xxx.xxx:30774/flavors/2",
                      "rel": "bookmark"
                  }
              ]
          }

  For current and >=2.47
  curl -s   -H "X-Auth-Token: $OS_TOKEN" -H "X-OpenStack-Nova-API-Version: 2.46"  "http://nova-api:8774/v2.1/servers/{some server ID}" | python -mjson.tool

          "flavor": {
              "disk": 20,
              "ephemeral": 0,
              "extra_specs": {},
              "original_name": "m1.small",
              "ram": 2048,
              "swap": 0,
              "vcpus": 1
          }

  This change in Nova is described:
  https://specs.openstack.org/openstack/nova-specs/specs/pike/implemented/instance-flavor-api.html

  Steps for reproduce:
  1) init resize on Wallaby release with nova-api larger then 2.47

  We are running the Horizon based on e.g. openstackhelm/horizon:wallaby-ubuntu_focal-20210823
  with these versions:
  python-cinderclient==7.4.0
  python-dateutil==2.8.1
  python-glanceclient==3.3.0
  python-heatclient==2.3.0
  python-keystoneclient==4.2.0
  python-memcached==1.59
  python-neutronclient==7.3.0
  python-novaclient==17.4.0
  python-swiftclient==3.11.1
  openstacksdk==0.55.0

  
  **************************************************************
  SRU Information:

  == Begin SRU Template ==
  [Impact]
  Not possible to resize an instance from OpenStack dashbaord.

  [Test Case]

  1. Login to OpenStack dashboard
  2. Click on Project -> Compute -> Instances
  3. Select an instance and click on "Resize Instance" in Actions column.
     A popup should appear asking for New Flavor.

  [Regression Potential]
  In order to mitigate the regression potential, selenium tests are added as
  part of patch which tests different Nova API versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1940834/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list