Public bug reported: Summary:
When heat-api runs under Apache/mod_wsgi (heat ≥ 25.0.0), Apache is unable to start the heat-api vhost because the WSGI script path in debian/heat-api.conf is wrong. Every heat-api request returns a 500 error, and the Apache error log shows: "Target WSGI script not found or unable to stat: /usr/bin/heat-api" Root cause: The bug was introduced in heat 1:25.0.0~rc1-0ubuntu3 (questing, 2025-09-26) when the heat-api service was migrated from a systemd daemon to Apache/mod_wsgi. The new vhost file debian/heat-api.conf contains: "WSGIScriptAlias / /usr/bin/heat-api" However, no heat package installs /usr/bin/heat-api. The actual WSGI entry-point script, installed by python3-heat, is /usr/bin/heat-wsgi- api. The sibling vhost file debian/heat-api-cfn.conf is correct (/usr/bin/heat-wsgi-api-cfn), making this a straightforward typo in heat-api.conf. Reproduction: - Install heat-api on questing or resolute - a2ensite heat-api && systemctl restart apache2 - curl -i http://localhost:8004/ -> HTTP 500 - grep "heat-api" /var/log/apache2/heat_api_error.log -> Target WSGI script not found or unable to stat: /usr/bin/heat-api After applying the sed one-liner s|WSGIScriptAlias / /usr/bin/heat- api$|WSGIScriptAlias / /usr/bin/heat-wsgi-api| to the installed conf file and restarting apache2, the heat-api endpoint responds normally. ** Affects: heat (Ubuntu) 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/2155160 Title: heat-api.conf references nonexistent WSGI script /usr/bin/heat-api To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/heat/+bug/2155160/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
