Ensure PBR for openstack dashboard plugins handle ~git versioning

Bug #1959402 reported by Corey Bryant
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
High
Unassigned
Yoga
Fix Released
High
Unassigned
heat-dashboard (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned
ironic-ui (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned
magnum-ui (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned
murano-dashboard (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned
sahara-dashboard (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned
trove-dashboard (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned
watcher-dashboard (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned
zaqar-ui (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned

Bug Description

During development of Ubuntu we package snapshots from upstream git commits and version the packages to show the date/commit of the snapshot.

This is resulting in PBR failing hard for some of the openstack dashboard plugins. Changes need to be made to set PBR_VERSION to a version that pbr approves of.

  File "/usr/lib/python3/dist-packages/ironic_ui/__init__.py", line 16, in <module>
    __version__ = pbr.version.VersionInfo(
  File "/usr/lib/python3/dist-packages/pbr/version.py", line 467, in version_string
    return self.semantic_version().brief_string()
  File "/usr/lib/python3/dist-packages/pbr/version.py", line 462, in semantic_version
    self._semantic = self._get_version_from_pkg_resources()
  File "/usr/lib/python3/dist-packages/pbr/version.py", line 450, in _get_version_from_pkg_resources
    return SemanticVersion.from_pip_string(result_string)
  File "/usr/lib/python3/dist-packages/pbr/version.py", line 145, in from_pip_string
    return klass._from_pip_string_unsafe(version_string)
  File "/usr/lib/python3/dist-packages/pbr/version.py", line 220, in _from_pip_string_unsafe
    raise ValueError(
ValueError: Unknown remainder ['+git2021120912', '07e5607'] in '5.0.0+git2021120912.07e5607'

Changed in ironic-ui (Ubuntu Jammy):
status: New → Incomplete
status: Incomplete → Triaged
importance: Undecided → High
Changed in heat-dashboard (Ubuntu Jammy):
importance: Undecided → High
status: New → Triaged
Changed in magnum-ui (Ubuntu Jammy):
importance: Undecided → High
status: New → Triaged
Changed in murano-dashboard (Ubuntu Jammy):
importance: Undecided → High
status: New → Triaged
Changed in sahara-dashboard (Ubuntu Jammy):
importance: Undecided → High
status: New → Triaged
Changed in trove-dashboard (Ubuntu Jammy):
importance: Undecided → High
status: New → Triaged
Changed in watcher-dashboard (Ubuntu Jammy):
importance: Undecided → High
status: New → Triaged
Changed in zaqar-ui (Ubuntu Jammy):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package watcher-dashboard - 6.0.0+git2021120912.146e547-0ubuntu2

---------------
watcher-dashboard (6.0.0+git2021120912.146e547-0ubuntu2) jammy; urgency=medium

  * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

 -- Corey Bryant <email address hidden> Fri, 28 Jan 2022 13:11:13 -0500

Changed in watcher-dashboard (Ubuntu Jammy):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package murano-dashboard - 1:12.0.0+git2021120912.5e4429a2-0ubuntu2

---------------
murano-dashboard (1:12.0.0+git2021120912.5e4429a2-0ubuntu2) jammy; urgency=medium

  * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

 -- Corey Bryant <email address hidden> Fri, 28 Jan 2022 13:09:25 -0500

Changed in murano-dashboard (Ubuntu Jammy):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zaqar-ui - 11.0.0+git2021120913.bae3359-0ubuntu2

---------------
zaqar-ui (11.0.0+git2021120913.bae3359-0ubuntu2) jammy; urgency=medium

  * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).
  * d/control, d/rules: Switch to pybuild and debhelper compat 13.

 -- Corey Bryant <email address hidden> Fri, 28 Jan 2022 13:11:51 -0500

Changed in zaqar-ui (Ubuntu Jammy):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sahara-dashboard - 15.0.0+git2022011309.da7235b-0ubuntu2

---------------
sahara-dashboard (15.0.0+git2022011309.da7235b-0ubuntu2) jammy; urgency=medium

  * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

 -- Corey Bryant <email address hidden> Fri, 28 Jan 2022 13:09:51 -0500

Changed in sahara-dashboard (Ubuntu Jammy):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package magnum-ui - 9.0.0+git2021120911.fede1be-0ubuntu2

---------------
magnum-ui (9.0.0+git2021120911.fede1be-0ubuntu2) jammy; urgency=medium

  * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

 -- Corey Bryant <email address hidden> Fri, 28 Jan 2022 13:09:03 -0500

Changed in magnum-ui (Ubuntu Jammy):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package heat-dashboard - 6.0.0+git2022012813.458e9b0-0ubuntu1

---------------
heat-dashboard (6.0.0+git2022012813.458e9b0-0ubuntu1) jammy; urgency=medium

  * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).
  * d/bundle-xstatic.sh: Ensure xstatic asset versions are confined by the
    corresponding upper-constraints branch.
  * d/bundle-xstatic.sh, d/README.source: Unpack xstatic assets into ./xstatic/
    directory of source package as part of the bundle.xstatic.sh script. This
    will allow for patching xstatic assets in the future.
  * New upstream snapshot for OpenStack Yoga.
  * Refresh xstatic assets.

 -- Corey Bryant <email address hidden> Fri, 28 Jan 2022 13:23:46 -0500

Changed in heat-dashboard (Ubuntu Jammy):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ironic-ui - 5.0.0+git2022011217.07e5607-0ubuntu1

---------------
ironic-ui (5.0.0+git2022011217.07e5607-0ubuntu1) jammy; urgency=medium

  * New upstream snapshot for OpenStack Yoga.
  * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

 -- Corey Bryant <email address hidden> Fri, 28 Jan 2022 12:58:49 -0500

Changed in ironic-ui (Ubuntu Jammy):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package trove-dashboard - 17.0.0+git2021120912.1602afb-0ubuntu2

---------------
trove-dashboard (17.0.0+git2021120912.1602afb-0ubuntu2) jammy; urgency=medium

  * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

 -- Corey Bryant <email address hidden> Fri, 28 Jan 2022 13:10:51 -0500

Changed in trove-dashboard (Ubuntu Jammy):
status: Triaged → Fix Released
Changed in cloud-archive:
status: Triaged → Fix Committed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package heat-dashboard - 6.0.0+git2022012813.458e9b0-0ubuntu1~cloud0
---------------

 heat-dashboard (6.0.0+git2022012813.458e9b0-0ubuntu1~cloud0) focal-yoga; urgency=medium
 .
   * New upstream release for the Ubuntu Cloud Archive.
 .
 heat-dashboard (6.0.0+git2022012813.458e9b0-0ubuntu1) jammy; urgency=medium
 .
   * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).
   * d/bundle-xstatic.sh: Ensure xstatic asset versions are confined by the
     corresponding upper-constraints branch.
   * d/bundle-xstatic.sh, d/README.source: Unpack xstatic assets into ./xstatic/
     directory of source package as part of the bundle.xstatic.sh script. This
     will allow for patching xstatic assets in the future.
   * New upstream snapshot for OpenStack Yoga.
   * Refresh xstatic assets.

Changed in cloud-archive:
status: Fix Committed → Fix Released
Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package ironic-ui - 5.0.0+git2022011217.07e5607-0ubuntu1~cloud0
---------------

 ironic-ui (5.0.0+git2022011217.07e5607-0ubuntu1~cloud0) focal-yoga; urgency=medium
 .
   * New upstream release for the Ubuntu Cloud Archive.
 .
 ironic-ui (5.0.0+git2022011217.07e5607-0ubuntu1) jammy; urgency=medium
 .
   * New upstream snapshot for OpenStack Yoga.
   * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package magnum-ui - 9.0.0+git2021120911.fede1be-0ubuntu2~cloud0
---------------

 magnum-ui (9.0.0+git2021120911.fede1be-0ubuntu2~cloud0) focal-yoga; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 magnum-ui (9.0.0+git2021120911.fede1be-0ubuntu2) jammy; urgency=medium
 .
   * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package murano-dashboard - 1:12.0.0+git2021120912.5e4429a2-0ubuntu2~cloud0
---------------

 murano-dashboard (1:12.0.0+git2021120912.5e4429a2-0ubuntu2~cloud0) focal-yoga; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 murano-dashboard (1:12.0.0+git2021120912.5e4429a2-0ubuntu2) jammy; urgency=medium
 .
   * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package sahara-dashboard - 15.0.0+git2022011309.da7235b-0ubuntu2~cloud0
---------------

 sahara-dashboard (15.0.0+git2022011309.da7235b-0ubuntu2~cloud0) focal-yoga; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 sahara-dashboard (15.0.0+git2022011309.da7235b-0ubuntu2) jammy; urgency=medium
 .
   * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package trove-dashboard - 17.0.0+git2021120912.1602afb-0ubuntu2~cloud0
---------------

 trove-dashboard (17.0.0+git2021120912.1602afb-0ubuntu2~cloud0) focal-yoga; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 trove-dashboard (17.0.0+git2021120912.1602afb-0ubuntu2) jammy; urgency=medium
 .
   * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package watcher-dashboard - 6.0.0+git2021120912.146e547-0ubuntu2~cloud0
---------------

 watcher-dashboard (6.0.0+git2021120912.146e547-0ubuntu2~cloud0) focal-yoga; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 watcher-dashboard (6.0.0+git2021120912.146e547-0ubuntu2) jammy; urgency=medium
 .
   * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package zaqar-ui - 11.0.0+git2021120913.bae3359-0ubuntu2~cloud0
---------------

 zaqar-ui (11.0.0+git2021120913.bae3359-0ubuntu2~cloud0) focal-yoga; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 zaqar-ui (11.0.0+git2021120913.bae3359-0ubuntu2) jammy; urgency=medium
 .
   * d/rules: Update PBR_VERSION to handle git versioning (LP: #1959402).
   * d/control, d/rules: Switch to pybuild and debhelper compat 13.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Focal UCA fails still.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

The fix isn't working for ironic-ui

Changed in ironic-ui (Ubuntu Jammy):
status: Fix Released → Triaged
Changed in cloud-archive:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ironic-ui - 5.0.0+git2022011217.07e5607-0ubuntu2

---------------
ironic-ui (5.0.0+git2022011217.07e5607-0ubuntu2) jammy; urgency=medium

  * d/rules: Fix PBR_VERSION for git version handling (LP: #1959402).
  * d/control, d/rules: Switch to pybuild and debhelper compat 13.

 -- Corey Bryant <email address hidden> Thu, 03 Feb 2022 08:51:34 -0500

Changed in ironic-ui (Ubuntu Jammy):
status: Triaged → Fix Released
Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package ironic-ui - 5.0.0+git2022011217.07e5607-0ubuntu2~cloud0
---------------

 ironic-ui (5.0.0+git2022011217.07e5607-0ubuntu2~cloud0) focal-yoga; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 ironic-ui (5.0.0+git2022011217.07e5607-0ubuntu2) jammy; urgency=medium
 .
   * d/rules: Fix PBR_VERSION for git version handling (LP: #1959402).
   * d/control, d/rules: Switch to pybuild and debhelper compat 13.

Changed in cloud-archive:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.