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

Corey Bryant 1925081 at bugs.launchpad.net
Fri Apr 23 12:47:40 UTC 2021


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.

** Also affects: cloud-archive/wallaby
   Importance: Undecided
       Status: Confirmed

** Changed in: cloud-archive/wallaby
       Status: Confirmed => Triaged

** Changed in: cloud-archive/wallaby
   Importance: Undecided => Critical

** Summary changed:

- trying to overwrite directory '/usr/lib/python3/dist-packages/openstack_dashboard/enabled' in package python3-heat-dashboard 4.1.0-0ubuntu1~cloud0 with nondirectory
+ [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 changed:

+ [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/*
- 
+ 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.

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

Title:
  [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

Status in Ubuntu Cloud Archive:
  Triaged
Status in Ubuntu Cloud Archive wallaby series:
  Triaged

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.

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



More information about the Ubuntu-openstack-bugs mailing list