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

Luciano Lo Giudice 2134985 at bugs.launchpad.net
Mon Jan 5 19:40:08 UTC 2026


Hello Björn, Matthew,

I've tested the proposed changes. The procedure looks as follows:

1 - Launch the VM:

# lxc launch ubuntu:noble vm --vm -c limits.cpu=4 -c limits.memory=6GiB

2 - Inside the VM, add the proposed PPA:

# sudo add-apt-repository ppa:mruffell/lp2134985-updates
# sudo apt update

3 - Install the ceph and cephadm packages:

# sudo apt install ceph cephadm

4 - Verify that the correct versions are being used:

# apt-cache policy ceph cephadm
ceph:
  Installed: 19.2.3-0ubuntu0.24.04.1+lp2134985v20251218b1
  Candidate: 19.2.3-0ubuntu0.24.04.1+lp2134985v20251218b1
  Version table:
 *** 19.2.3-0ubuntu0.24.04.1+lp2134985v20251218b1 500
        500 https://ppa.launchpadcontent.net/mruffell/lp2134985-updates/ubuntu noble/main amd64 Packages
        100 /var/lib/dpkg/status
     19.2.3-0ubuntu0.24.04.1 500
        500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
     19.2.0-0ubuntu0.24.04.2 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
     19.2.0~git20240301.4c76c50-0ubuntu6 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
cephadm:
  Installed: 19.2.3-0ubuntu0.24.04.1+lp2134985v20251218b1
  Candidate: 19.2.3-0ubuntu0.24.04.1+lp2134985v20251218b1
  Version table:
 *** 19.2.3-0ubuntu0.24.04.1+lp2134985v20251218b1 500
        500 https://ppa.launchpadcontent.net/mruffell/lp2134985-updates/ubuntu noble/main amd64 Packages
        100 /var/lib/dpkg/status
     19.2.3-0ubuntu0.24.04.1 500
        500 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages
     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

5 - Bootstrap a ceph cluster on the VM:

# sudo cephadm bootstrap --mon-ip 10.143.121.171 --single-host-defaults

6 - After installation is done, the process will show the credentials
needed for the dashboard. We can then log into it to make sure it's
working. I'm attaching an image showing that this works.

-- 
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:
  Confirmed
Status in ceph source package in Noble:
  Confirmed
Status in ceph source package in Plucky:
  Confirmed
Status in ceph source package in Questing:
  Confirmed
Status in ceph source package in Resolute:
  Confirmed

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