[SRU] trying to overwrite directory '/usr/lib/python3/dist-packages/openstack_dashboard/enabled' in package python3-heat-dashboard 4.1.0-0ubuntu1~cloud0 with nondirectory

Bug #1925081 reported by Marcin Juszkiewicz
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
Critical
Unassigned
Wallaby
Fix Released
Critical
Unassigned
murano-dashboard (Ubuntu)
Fix Released
Undecided
Unassigned
Hirsute
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
While building Horizon image we install several of it's plugins:

INFO:kolla.common.utils.horizon:Step 4/13 : RUN apt-get update && apt-get -y install --no-install-recommends gettext locales openstack-dashboard python3-designate-dashboard python3-heat-dashboard python3-manila-ui python3-murano-dashboard python3-octavia-dashboard python3-sahara-dashboard python3-trove-dashboard python3-watcher-dashboard tzdata && apt-get clean && rm -rf /var/lib/apt/lists/*

But it fails because of some packages conflict with each other:

INFO:kolla.common.utils.horizon:Unpacking python3-murano-dashboard (1:11.0.0-0ubuntu1~cloud0) ...
INFO:kolla.common.utils.horizon:dpkg: error processing archive /tmp/apt-dpkg-install-mLCrzf/35-python3-murano-dashboard_1%3a11.0.0-0ubuntu1~cloud0_all.deb (--unpack):
INFO:kolla.common.utils.horizon: trying to overwrite directory '/usr/lib/python3/dist-packages/openstack_dashboard/enabled' in package python3-heat-dashboard 4.1.0-0ubuntu1~cloud0 with nondirectory

UCA, focal-updates/wallaby/main on amd64.

[Test Case]
This should be successful:
sudo apt install python3-murano-dashboard

[Regression Potential]
The package doesn't install due to a late change in the cycle, so we need to get it to install. I don't know that regression potential really applies in this case.

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

Hi Marcin/Radoslaw, The heat-dashboard issue should be fixed in the cloud archive at this point. Can you give it another try?

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

INFO:kolla.common.utils.horizon:Unpacking python3-murano-dashboard (1:11.0.0-0ubuntu1~cloud0) ...
INFO:kolla.common.utils.horizon:dpkg: error processing archive /tmp/apt-dpkg-install-WJGjwZ/35-python3-murano-dashboard_1%3a11.0.0-0ubuntu1~cloud0_all.deb (--unpack):
INFO:kolla.common.utils.horizon: trying to overwrite directory '/usr/lib/python3/dist-packages/openstack_dashboard/enabled' in package python3-heat-dashboard 5.0.0-0ubuntu1~cloud1 with nondirectory

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

This appears to be a murano-dashboard issue (the heat-dashboard issue was similar) and I'm able to recreate it as well. I'm working on a fix today. We can SRU this and get a quick patch to the cloud archive in the mean time.

summary: - trying to overwrite directory '/usr/lib/python3/dist-
+ [SRU] trying to overwrite directory '/usr/lib/python3/dist-
packages/openstack_dashboard/enabled' in package python3-heat-dashboard
4.1.0-0ubuntu1~cloud0 with nondirectory
description: updated
Revision history for this message
Corey Bryant (corey.bryant) wrote :

A new version of murano-dashboard is uploaded to the impish and hirsute unapproved queues for SRU review.

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

@Marcin, I've patched and tested this in the cloud archive temporarily to get you by until the official fix lands.

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

OK, we will wait for official fix to land then.

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

Ok. Image built fine. Thanks for fixing.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Marcin, or anyone else affected,

Accepted murano-dashboard into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/murano-dashboard/1:11.0.0-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in murano-dashboard (Ubuntu Hirsute):
status: New → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Changed in cloud-archive:
status: Fix Released → Fix Committed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Verified successfully on hirsute-proposed and wallaby-proposed:

root@h1:~# sudo apt install --yes python3-murano-dashboard
...
root@h1:~# apt policy python3-murano-dashboard
python3-murano-dashboard:
  Installed: 1:11.0.0-0ubuntu1.1
  Candidate: 1:11.0.0-0ubuntu1.1
  Version table:
 *** 1:11.0.0-0ubuntu1.1 500
        500 http://archive.ubuntu.com/ubuntu hirsute-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     1:11.0.0-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages

root@f1:~# sudo apt install --yes python3-murano-dashboard
...
root@f1:~# apt policy python3-murano-dashboard
python3-murano-dashboard:
  Installed: 1:11.0.0-0ubuntu1.1~cloud0
  Candidate: 1:11.0.0-0ubuntu1.1~cloud0
  Version table:
 *** 1:11.0.0-0ubuntu1.1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-proposed/wallaby/main amd64 Packages
        100 /var/lib/dpkg/status
     1:9.0.0-0ubuntu0.20.04.1 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
     1:9.0.0~b3~git2020041315.b9ed51cb-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages

tags: added: verification-done verification-done-hirsute
removed: verification-needed verification-needed-hirsute
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package murano-dashboard - 1:11.0.0-0ubuntu2

---------------
murano-dashboard (1:11.0.0-0ubuntu2) impish; urgency=medium

  * d/rules: Ensure /usr/lib/python3/dist-packages/openstack_dashboard/enabled
    directory exists and plugin modules are installed (LP: #1925081).

 -- Corey Bryant <email address hidden> Fri, 23 Apr 2021 08:39:03 -0400

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

This bug was fixed in the package murano-dashboard - 1:11.0.0-0ubuntu1.1

---------------
murano-dashboard (1:11.0.0-0ubuntu1.1) hirsute; urgency=medium

  * d/rules: Ensure /usr/lib/python3/dist-packages/openstack_dashboard/enabled
    directory exists and plugin modules are installed (LP: #1925081).

 -- Corey Bryant <email address hidden> Fri, 23 Apr 2021 08:39:03 -0400

Changed in murano-dashboard (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for murano-dashboard has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

The verification of the Stable Release Update for murano-dashboard has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

This bug was fixed in the package murano-dashboard - 1:11.0.0-0ubuntu1.1~cloud0
---------------

 murano-dashboard (1:11.0.0-0ubuntu1.1~cloud0) focal-wallaby; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 murano-dashboard (1:11.0.0-0ubuntu1.1) hirsute; urgency=medium
 .
   * d/rules: Ensure /usr/lib/python3/dist-packages/openstack_dashboard/enabled
     directory exists and plugin modules are installed (LP: #1925081).

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

This bug was fixed in the package murano-dashboard - 1:11.0.0-0ubuntu2~cloud0
---------------

 murano-dashboard (1:11.0.0-0ubuntu2~cloud0) focal-xena; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 murano-dashboard (1:11.0.0-0ubuntu2) impish; urgency=medium
 .
   * d/rules: Ensure /usr/lib/python3/dist-packages/openstack_dashboard/enabled
     directory exists and plugin modules are installed (LP: #1925081).

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

Remote bug watches

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