upgrade to 13.0.1-0ubuntu3~cloud0 caused loss of css

Bug #1802226 reported by Xav Paice on 2018-11-08
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
horizon (Ubuntu)
Undecided
Unassigned

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.

Xav Paice (xavpaice) on 2018-11-08
tags: added: canonical-bootstack
Xav Paice (xavpaice) wrote :

fwiw, setting Horizon to run with debug appears to allow things to work OK, but of course we don't want to leave it that way.

Seyeong Kim (xtrusia) wrote :

Hello Xav,

I reproduced this issue and found that restarting memcached fixes this issue.

After upgrading openstack-dashboard, compressed css file's name has changed.

but generated html still has old name. so this happens.

I'm going to check if we need to put script for restarting memcached on postinst script in deb pkg for this.

Thanks

tags: added: sts
Trent Lloyd (lathiat) wrote :

If restarting memcached fixes the issue, perhaps this is another instance of the fact the memcache caches are not shared.

Refer to existing bug for keystone:
https://bugs.launchpad.net/charm-keystone/+bug/1771114

Seyeong Kim (xtrusia) 11 hours ago
description: updated
Seyeong Kim (xtrusia) wrote :
Seyeong Kim (xtrusia) wrote :
tags: added: sts-sru-needed

The attachment "lp1802226-queens.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers