[Bug 2134985] Re: ceph-mgr-dashboard renders blank page due to missing JavaScript files in package 19.2.3

Björn Hinz 2134985 at bugs.launchpad.net
Thu Dec 18 21:43:23 UTC 2025


Hi Matthew,

I don't believe anything more than the JavaScript files is required.

Many files from the last change in the clean file are not present in the
source package ceph_19.2.3.orig.tar.xz. This includes the following:

+src/pybind/mgr/dashboard/frontend/src/app/shared/components/critical-
confirmation-modal/critical-confirmation-modal.component.html
+src/pybind/mgr/dashboard/frontend/src/app/shared/components/critical-
confirmation-modal/critical-confirmation-modal.component.scss
+src/pybind/mgr/dashboard/frontend/src/app/shared/components/critical-
confirmation-modal/critical-confirmation-modal.component.spec.ts
+src/pybind/mgr/dashboard/frontend/src/app/shared/components/critical-
confirmation-modal/critical-confirmation-modal.component.ts

Why the other entries were added to the clean file still needs to be
clarified separately and if there are issues with it we can create bug
reports for them; in my opinion, they are not relevant to the
dashboard's functionality.

Here is the corresponding debdiff:
debdiff ceph-mgr-dashboard_19.2.1-0ubuntu0.24.04.2_all.deb ceph-mgr-dashboard_19.2.3-0ubuntu0.24.04.1_all.deb
[The following lists of changes regard files as different if they have
different names, permissions or owners.]

Files in first .deb but not in second
-------------------------------------
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/cs/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/cs/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/cs/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/cs/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/cs/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/cs/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/de/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/de/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/de/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/de/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/de/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/de/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/en-US/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/en-US/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/en-US/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/en-US/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/en-US/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/en-US/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/es/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/es/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/es/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/es/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/es/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/es/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/fr/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/fr/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/fr/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/fr/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/fr/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/fr/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/id/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/id/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/id/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/id/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/id/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/id/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/it/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/it/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/it/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/it/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/it/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/it/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ja/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ja/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ja/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ja/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ja/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ja/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ko/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ko/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ko/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ko/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ko/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/ko/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pl/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pl/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pl/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pl/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pl/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pl/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pt/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pt/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pt/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pt/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pt/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/pt/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hans/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hans/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hans/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hans/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hans/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hans/runtime.2c5d1f35492cd6a4.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hant/119.720bd9982f2d45ca.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hant/330.9b7daa85d4249fd1.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hant/636.ce12f71f7a6308d8.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hant/main.7869bccdd1b73f3c.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hant/polyfills.374f1f989f34e1be.js
-rw-r--r--  root/root   /usr/share/ceph/mgr/dashboard/frontend/dist/zh-Hant/runtime.2c5d1f35492cd6a4.js

Control files: lines which differ (wdiff format)
------------------------------------------------
Depends: ceph-mgr (>= [-19.2.1-0ubuntu0.24.04.2),-] {+19.2.3-0ubuntu0.24.04.1),+} python3-bcrypt, python3-cherrypy3, python3-jwt, python3-openssl, python3-routes, python3-werkzeug, python3-yaml
Installed-Size: [-88939-] {+26648+}
Version: [-19.2.1-0ubuntu0.24.04.2-] {+19.2.3-0ubuntu0.24.04.1+}

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

Title:
  ceph-mgr-dashboard renders blank page due to missing JavaScript files
  in package 19.2.3

Status in ceph package in Ubuntu:
  In Progress
Status in ceph source package in Noble:
  In Progress
Status in ceph source package in Plucky:
  In Progress
Status in ceph source package in Questing:
  In Progress
Status in ceph source package in Resolute:
  In Progress

Bug description:
  Summary:
  The ceph-mgr-dashboard fails to load the user interface after upgrading the ceph package to version 19.2.3-0ubuntu0.24.04.1 on Ubuntu 24.04 LTS.

  Instead of the login screen, the browser renders a completely blank
  white page. The browser console confirms that the server returns 404
  Not Found errors for critical JavaScript files required to render the
  application.

  This appears to be a regression in the packaging or build process for
  19.2.3, where the compiled frontend artifacts (JavaScript bundles)
  were not correctly included in the final .deb package in
  /usr/share/ceph/mgr/dashboard/frontend/dist/.

  Affected Package:
  * ceph-mgr-dashboard
  * Version: 19.2.3-0ubuntu0.24.04.1
  * Release: Ubuntu 24.04.3 LTS (Noble Numbat)

  Steps to Reproduce:
  1. On a system running Ubuntu 24.04, install or upgrade to the affected version:
     sudo apt install ceph-mgr-dashboard=19.2.3-0ubuntu0.24.04.1

  2. Enable the dashboard module:
     ceph mgr module enable dashboard

  3. Navigate to the dashboard URL in a web browser:
     http://<mgr-ip>:8080/

  Expected Result:
  The Ceph Dashboard login page should load successfully.

  Actual Result:
  * The browser displays a blank white page.
  * Browser Console/Network Tab: Requests for .js files (e.g., main.js, runtime.js, or similar chunks) return 404 Not Found.

  Scope and Root Cause:
  It is highly probable that this error affects all new Ubuntu packages derived from this source, as the debian/clean file has been modified in all of them. This suggests the aggressive cleaning or exclusion of build artifacts is a systemic issue introduced by the recent packaging changes.

  Development Branch Status:
  This packaging issue is also present in the ubuntu/devel branch. A Merge Proposal has already been created to fix the underlying build/clean logic in the packaging source.

  System Information:
  Description:    Ubuntu 24.04.3 LTS
  Release:        24.04

  Package Policy:
  ceph-mgr-dashboard:
    Installed: 19.2.3-0ubuntu0.24.04.1
    Candidate: 19.2.3-0ubuntu0.24.04.1
    Version table:
   *** 19.2.3-0ubuntu0.24.04.1 500
          500 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages
          100 /var/lib/dpkg/status
       19.2.0-0ubuntu0.24.04.2 500
          500 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages
       19.2.0~git20240301.4c76c50-0ubuntu6 500
          500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
  No LSB modules are available.
  Description:    Ubuntu 24.04.3 LTS
  Release:        24.04

  Evidence:
  Listing the directory /usr/share/ceph/mgr/dashboard/frontend/dist/ shows missing JavaScript assets compared to previous working versions.

  The following command can be used to confirm the missing files (returns empty list on affected systems):
  ls -l /usr/share/ceph/mgr/dashboard/frontend/dist/*/*.js | head -n 100

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




More information about the Ubuntu-openstack-bugs mailing list