[Bug 1802226] Re: [SRU] refresh memcached static assets after upgrade

Launchpad Bug Tracker 1802226 at bugs.launchpad.net
Mon Jan 7 08:23:02 UTC 2019


This bug was fixed in the package horizon - 3:14.0.1-0ubuntu1

---------------
horizon (3:14.0.1-0ubuntu1) cosmic; urgency=medium

  * d/gbp.conf: Create stable/rocky branch.
  * 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).
  * New stable point release for OpenStack Rocky (LP: #1806049).
  * d/p/add-enabled-check-in-backups-panel.patch: Dropped. Fixed in stable
    point release.

 -- Corey Bryant <corey.bryant at canonical.com>  Tue, 27 Nov 2018 14:17:30
-0500

** Changed in: horizon (Ubuntu Cosmic)
       Status: Fix Committed => Fix Released

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

Title:
  [SRU] refresh memcached static assets after upgrade

Status in Ubuntu Cloud Archive:
  Fix Committed
Status in Ubuntu Cloud Archive queens series:
  Fix Committed
Status in Ubuntu Cloud Archive rocky series:
  Fix Committed
Status in Ubuntu Cloud Archive stein series:
  Fix Committed
Status in horizon package in Ubuntu:
  In Progress
Status in horizon source package in Bionic:
  Fix Committed
Status in horizon source package in Cosmic:
  Fix Released
Status in horizon source package in Disco:
  In Progress

Bug description:
  [Impact]
  After upgrading openstack-dashboard pkg,
  Because compressed css file name has been changed, 
  UI is broken

  affected B
  UCA Q

  keep testing the other releases and will update

  flushing or restarting memcached on openstack-dashboard fixes this
  issue.

  [Test Case]
  1. deploy openstack env
  2. install old pkg (e.g 13.0.1-0ubuntu1) on openstack-dashboard node
  3. apt install openstack-dashboard(this means upgrading)
  4. check web page

  [Regression]
  This patch flushes memcached's cache when installing pkg. It makes re-creating cache again so, it will be slow at first. Basically no effect to running cloud environment.

  [Others]


  [Original Description]
  Using Queens on Xenial.  We updated the packages to the current versions:

  ~$ apt-cache policy openstack-dashboard-ubuntu-theme
  openstack-dashboard-ubuntu-theme:
    Installed: 3:13.0.1-0ubuntu3~cloud0
    Candidate: 3:13.0.1-0ubuntu3~cloud0
    Version table:
   *** 3:13.0.1-0ubuntu3~cloud0 500
          500 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/queens/main amd64 Packages
          100 /var/lib/dpkg/status
       2:9.1.2-0ubuntu5 500
          500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
       2:9.0.0-0ubuntu2 500
          500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

  Using the Ubuntu theme results in a page full of garbage, missing css.
  The browser reports the following in consoles:

  The requested URL /static/dashboard/css/6e9a9fafb1ba.css was not found
  on this server.

  If I use other themes, it seems OK, just this one.

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



More information about the Ubuntu-openstack-bugs mailing list