← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1827120] Re: [SRU] application credentials created via Horizon with the admin project scope have project_id == None

 

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@xxxxxxxxxxxxx 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.


** Changed in: cloud-archive/xena
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1827120

Title:
  [SRU] application credentials created via Horizon with the admin
  project scope have project_id == None

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 Ubuntu Cloud Archive yoga series:
  Fix Released
Status in Ubuntu Cloud Archive zed series:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Fix Committed
Status in horizon package in Ubuntu:
  Fix Released
Status in horizon source package in Focal:
  Fix Released
Status in horizon source package in Jammy:
  Fix Released
Status in horizon source package in Kinetic:
  Fix Released

Bug description:
  =====================================================================================================

  SRU template below:

  [Impact]

  Users with SAML WEBSSO authentication may be unable to use the
  OpenStack CLI due to a combination of 2 reasons:

  1) Inability to use an existing Keystone authentication protocol if their AD provider does not a SOAP endpoint
  2) Inability to create proper application credentials through Horizon when they have domain+project admin roles, because the scopeless domain token is used when authenticating with Keystone

  Due to being unable to use the CLI, many Cloud management operations
  are out of reach, as they are not available in Horizon. This SRU
  addresses cause (2) listed above by forcing a scoped token ONLY in the
  application credential create request.

  The problem, however, also affects regular keystone users when they
  have domain+project admin roles, but Keystone users have no issues
  using the CLI to avoid the issue.

  [Test case]

  1. Setting up env
  1a. Deploy environment
  1b. Create a new domain d1

  openstack domain create d1

  1c. Create a new project p1 in domain d1

  openstack project create p1 --domain d1

  1d. Create a new user u1 in domain d1 and project p1

  openstack user create u1 --domain d1 --project p1 --password pw

  1e. Add domain + project Admin roles to user u1

  openstack role add Admin --user u1 --user-domain d1 --project p1 --project-domain d1
  openstack role add Admin --user u1 --user-domain d1 --domain d1

  2. Reproducing the bug

  2a. Login to horizon as user u1
  2b. Navigate to Identity > application credentials page
  2c. Create a new application credential named ac1 with default values
  2d. Observe in the Horizon page list that the application credential was created without a project_id
  2e. Confirm through the CLI (as user u1) that the application credential project_id is not shown in the list

  openstack application credential list

  3. Cleanup not necessary

  4. Install the package that contains the fixed code

  5. Repeat steps 2a-2e and confirm the project_id is now shown
  alongside the created application credential

  [Regression Potential]

  Given that the code adds an optional new parameter, and it is only
  being used when creating application credentials, only this
  functionality would be affected in case of a problem. Additionally, a
  potential problem would be in scope detection according to policy: the
  value is a boolean, so it is either a scoped or scopeless token
  forced. In case the detection fails and a scopeless token is used, the
  behavior is the same as the existing bug, otherwise, the behavior is
  the correct one.

  [Other Info]

  None

  =====================================================================================================

  Original bug description below:

  
  Environment: tested with Stein from UCA (deployed via 19.04 charms).

  1) login to horizon into the "admin" project;

  keystone.conf:

  [resource]
  admin_project_domain_name = admin_domain
  admin_project_name = admin

  2) go to the "Application Credentials" tab;

  3) create a credential with a unique name without specifying other
  parameters besides Admin and/or Member roles (auto-filled secret, no
  expiration);

  note: project_id is retrieved from the token, it is not a field in the
  form

  4) observe that project_id is set to None

  5) encounter the following error during authentication using the
  application credential

  TypeError: one of the hex, bytes, bytes_le, fields, or int arguments
  must be given

  see the text file attached with a pdb log.

  6) do the same via CLI and observe that project_id is specified and it
  is possible to log in

  CLI workflow (project_id is present):

  openstack application credential create --role Member --role Admin testcred
  +--------------+----------------------------------------------------------------------------------------+
  | Field        | Value                                                                                  |
  +--------------+----------------------------------------------------------------------------------------+
  | description  | None                                                                                   |
  | expires_at   | None                                                                                   |
  | id           | bb845e9e18634e7c8cfc36d80179ab05                                                       |
  | name         | testcred                                                                               |
  | project_id   | ebfc7e0457f048aa960d633141115cd1                                                       |
  | roles        | Member Admin                                                                           |
  | secret       | zCka3asrEouKqCnJlfRdk-Qg3gDM0WSbjTqxlYaBO_ygyQCpZY8NPnSQhm6o802O-r22eHWv79-iHJ5sJQ_kUw |
  | system       | None                                                                                   |
  | unrestricted | False                                                                                  |
  | user_id      | 95067aae3e634a29830f91a53dd0d80a                                                       |
  +--------------+----------------------------------------------------------------------------------------+

  Note the difference:

  openstack application credential list
  +----------------------------------+----------------+----------------------------------+-------------+------------+
  | ID                               | Name           | Project ID                       | Description | Expires At |
  +----------------------------------+----------------+----------------------------------+-------------+------------+
  | 344ddd90249645608b625131f82d056b | clicred        | ebfc7e0457f048aa960d633141115cd1 | None        | None       |
  | d681d11d4744421f81dd32ca0459d54d | dashboard_cred | None                             | None        | None       |
  +----------------------------------+----------------+----------------------------------+-------------+------------+

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