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

Seyeong Kim seyeong.kim at canonical.com
Mon Dec 17 02:13:04 UTC 2018


Hello

I verified queens for this issue.

steps to verify
1. deploy queens env.
2. install old openstack-dashboard pkgs on openstack-dashboard node
3. restart memcached
4. upgrade it to current version, and check if there is error ( there is )
5. install -proposed pkg and check if there is error ( it is gone )

Thanks

dpkg -l | grep openstack-dashboard
ii  openstack-dashboard                  3:13.0.1-0ubuntu4~cloud0                   all          Django web interface for OpenStack
ii  openstack-dashboard-ubuntu-theme     3:13.0.1-0ubuntu4~cloud0                   all          Transitional dummy package for Ubuntu theme for Horizon

** Tags removed: verification-queens-needed
** Tags added: verification-queens-done

-- 
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 Committed
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