Public bug reported:

`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.

** Affects: snap-openstack
     Importance: Undecided
         Status: New

** Affects: snap-openstack/2026.1
     Importance: Undecided
         Status: New

** Affects: heat-dashboard (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: snap-openstack
   Importance: Undecided
       Status: New

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

Title:
  python3-heat-dashboard misses template generator static assets

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-openstack/+bug/2155142/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to