[Bug 2155142] Re: python3-heat-dashboard misses template generator static assets
Nick Rosbrook
2155142 at bugs.launchpad.net
Wed Sep 9 20:24:45 UTC 2026
Hello Guillaume, or anyone else affected,
Accepted heat-dashboard into resolute-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/heat-
dashboard/15.0.0-0ubuntu1.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
resolute to verification-done-resolute. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-resolute. In either case, without details of your
testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: heat-dashboard (Ubuntu Resolute)
Status: New => Fix Committed
** Tags added: verification-needed-resolute
--
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/2155142
Title:
python3-heat-dashboard misses template generator static assets
Status in Ubuntu Cloud Archive gazpacho series:
New
Status in OpenStack Snap:
Triaged
Status in OpenStack Snap 2026.1 series:
Triaged
Status in heat-dashboard package in Ubuntu:
Fix Released
Status in heat-dashboard source package in Resolute:
Fix Committed
Status in heat-dashboard source package in Stonking:
Fix Released
Bug description:
[ Impact ]
* The Resolute `python3-heat-dashboard` package can omit templates and static
files from the installed `heat_dashboard` module. Heat panels in Horizon may
then show missing-template errors, missing assets, or broken styling and
JavaScript.
* This prevents users from reliably using the Heat Dashboard panels.
* The upload restores package-data declarations for the required HTML, SCSS,
CSS, JavaScript, image, and JSON files. It also corrects the Python runtime
dependency generated for `heat-dashboard-common`.
[ Test Plan ]
* Use a disposable Resolute system. Before enabling `resolute-proposed`,
install `python3-heat-dashboard` and `heat-dashboard-common`, then record
the installed versions and packaged non-Python files:
sudo apt update
sudo apt install python3-heat-dashboard heat-dashboard-common
dpkg-query -W -f='${Package} ${Version}\n' python3-heat-dashboard heat-dashboard-common
dpkg -L python3-heat-dashboard | grep '/heat_dashboard/.*\(html\|scss\|css\|js\|svg\|png\|json\)$'
* On a configured Horizon deployment, open **Project > Orchestration > Stacks**
and Template Generator. Record missing-template errors, asset 404s, or
missing styling and JavaScript functionality.
* Enable `resolute-proposed`, install the candidate versions of both packages,
and confirm APT selected the proposed build.
* Confirm the candidate contains representative panel assets:
PACKAGE_ROOT=/usr/lib/python3/dist-packages/heat_dashboard
test -f "$PACKAGE_ROOT/content/stacks/templates/stacks/index.html"
test -f "$PACKAGE_ROOT/static/dashboard/project/heat_dashboard/template_generator/css/hotgen-main.scss"
test -f "$PACKAGE_ROOT/static/dashboard/project/heat_dashboard/template_generator/js/components/template-generator.module.js"
* Run the deployment's normal Horizon static-asset collection and reload its
web service. Recheck the two Heat panels and one unrelated Horizon panel.
Confirm pages render, assets load, and Template Generator JavaScript works.
[ Where problems could occur ]
* An incomplete or incorrectly located manifest entry would still leave Django
templates or static assets absent. The symptoms would be missing templates,
asset 404s, unstyled panels, or non-working JavaScript.
* The recursive package-data rule may include unexpected files. Package-size
growth, file collisions on upgrade, or a failure in Horizon static collection
would indicate a regression.
`python3-heat-dashboard` 15.0.0-0ubuntu1 installs Horizon enabled
files that reference Heat template generator static assets, but the
binary package does not include those assets.
This breaks `openstack-dashboard` package configuration when
`openstack-dashboard` and `python3-heat-dashboard` are installed
together in the same apt transaction.
## Affected Packages
- Source package: `heat-dashboard`
- Binary package: `python3-heat-dashboard`
- Version: `15.0.0-0ubuntu1`
- Ubuntu series observed: `resolute`
- Related package: `openstack-dashboard` `4:25.7.1-0ubuntu1`
## Steps to Reproduce
1. In a clean resolute environment, install both packages in one transaction:
`apt install openstack-dashboard python3-heat-dashboard`
2. Observe `openstack-dashboard` postinst running `collectstatic` and
`compress` after both packages are staged.
## Error observed
CommandError: An error occurred during rendering horizon/_scripts.html:
'dashboard/project/heat_dashboard/template_generator/js/components/template-generator.module.js' could not be found in the COMPRESS_ROOT '/var/lib/openstack-dashboard/static' or with staticfiles.
Can also be reproduced when running autopkgtests for heat-dashboard.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/gazpacho/+bug/2155142/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list