[Bug 2134985] Re: ceph-mgr-dashboard renders blank page due to missing JavaScript files in package 19.2.3
Matthew Ruffell
2134985 at bugs.launchpad.net
Thu Dec 18 05:11:44 UTC 2025
Hi Luciano,
I do remember asking you about these in Gothenburg... anyway, what was
the actual reason we added these to debian/clean? I think you mentioned
that dpkg-source complained that these files get modified during the
build process and it all errors out.
Regardless, I went and deleted all the entries from d/clean that were
added in the 19.2.3 upload, and I went and built these for resolute,
questing, plucky and noble.
Some of these builds are completing, and they succeed just fine. Is it
okay to just remove all of these d/clean entries we added in 19.2.3?
Björn, I worry that if we only remove the specific files you selected,
we will still miss the modal from the dashboard:
+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
so I think we should just remove them all.
Luciano are you okay with my below debdiffs?
Thanks,
Matthew.
--
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