Ubuntu/Debian: Adjust wsgi script path

The script generated by pbr no longer exists.

Depends-on: https://review.opendev.org/983416
Change-Id: I88e861bd861db061323324eb9d4371bd9d6f1a01
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2026-03-16 22:37:31 +09:00
parent 262b00fcaf
commit b90df25b4a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class glance::params {
$pyceph_package_name = 'python3-ceph'
$lock_path = '/var/lock/glance'
$glance_wsgi_script_path = '/usr/lib/cgi-bin/glance'
$glance_wsgi_script_source = '/usr/bin/glance-wsgi-api'
$glance_wsgi_script_source = "${pybasedir}/glance/wsgi/api.py"
}
default: {
fail("Unsupported osfamily: ${facts['os']['family']}")
+1 -1
View File
@@ -160,7 +160,7 @@ describe 'glance::wsgi::apache' do
when 'Debian'
{
:wsgi_script_path => '/usr/lib/cgi-bin/glance',
:wsgi_script_source => '/usr/bin/glance-wsgi-api'
:wsgi_script_source => '/usr/lib/python3/dist-packages/glance/wsgi/api.py',
}
when 'RedHat'
{