[Bug 1506826] Re: Upgrade from kilo to liberty fails

James Page james.page at ubuntu.com
Fri Oct 16 13:13:56 UTC 2015


The problem is that the old postrm is being called with no
conditionality on the actions it takes; its doing a remove/purge all of
the time, when infact its being called with 'upgrade' which then fails
due to the interim state of files on disk.

I think the right fix is to only perform the steps in the postrm for
remove/purge - upgrade can be an no-op as the collect/compress will
happen in the postinst.

** Also affects: horizon (Ubuntu Vivid)
   Importance: Undecided
       Status: New

** Also affects: horizon (Ubuntu Wily)
   Importance: Undecided
       Status: Confirmed

** Changed in: horizon (Ubuntu Vivid)
       Status: New => Confirmed

** Changed in: horizon (Ubuntu Vivid)
   Importance: Undecided => High

** Changed in: horizon (Ubuntu Wily)
   Importance: Undecided => High

-- 
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/1506826

Title:
  Upgrade from kilo to liberty fails

Status in horizon package in Ubuntu:
  Confirmed
Status in horizon source package in Vivid:
  Confirmed
Status in horizon source package in Wily:
  Confirmed

Bug description:
  Upgrading openstack-dashboard fails.

  
  2015-10-16 10:34:53 INFO config-changed The following packages have unmet dependencies:
  2015-10-16 10:34:53 INFO config-changed  openstack-dashboard-ubuntu-theme : Depends: openstack-dashboard (= 1:2015.1.1-0ubuntu1~cloud2) but 2:8.0.0~rc1-0ubuntu1~cloud0 is installed
  20

  
  Reproduce:

  $ cat config.yaml 
  openstack-dashboard:
    openstack-origin: cloud:trusty-kilo

  
  $ juju deploy --config config.yaml openstack-dashboard

  $ juju set openstack-dashboard openstack-origin='cloud:trusty-liberty'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1506826/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list