Revert "Debian: Setup Cinder using cinder-api uwsgi"
This reverts commit 1d884ac12d340c94c58aad004ca0cf76219df97f. Indeed, using uwsgi doesn't work over SSL. After trying locally on my machine, switching back to mod-wsgi-py3 fixes the problem. Change-Id: I577ac720ef6f9a5487cfbc9f6376f2535d918520
This commit is contained in:
parent
41f90b5a69
commit
c10f011520
@ -99,20 +99,14 @@ class openstack_integration::cinder (
|
||||
www_authenticate_uri => $::openstack_integration::config::keystone_auth_uri,
|
||||
memcached_servers => $::openstack_integration::config::memcached_servers,
|
||||
}
|
||||
if ($::os_package_type == 'debian') {
|
||||
$service_name = 'cinder-api'
|
||||
} else {
|
||||
$service_name = 'httpd'
|
||||
}
|
||||
class { '::cinder::api':
|
||||
default_volume_type => 'BACKEND_1',
|
||||
public_endpoint => "${::openstack_integration::config::base_url}:8776",
|
||||
service_name => $service_name,
|
||||
service_name => 'httpd',
|
||||
keymgr_backend => $keymgr_backend,
|
||||
keymgr_encryption_api_url => $keymgr_encryption_api_url,
|
||||
keymgr_encryption_auth_url => $keymgr_encryption_auth_url,
|
||||
}
|
||||
if ($::os_package_type != 'debian') {
|
||||
include ::apache
|
||||
class { '::cinder::wsgi::apache':
|
||||
bind_host => $::openstack_integration::config::ip_for_url,
|
||||
@ -121,7 +115,6 @@ class openstack_integration::cinder (
|
||||
ssl_cert => $::openstack_integration::params::cert_path,
|
||||
workers => 2,
|
||||
}
|
||||
}
|
||||
class { '::cinder::quota': }
|
||||
class { '::cinder::scheduler': }
|
||||
class { '::cinder::scheduler::filter': }
|
||||
|
Loading…
x
Reference in New Issue
Block a user