Stop deploying Nova API in WSGI with Apache
It was suggested by Nova team to not deploying Nova API in WSGI with Apache in production. It's causing some issues that we didn't catch until now (see in the bug report). Until we figure out what was wrong, let's disable it so we can move forward in the upgrade process. Note: once it's supported by Nova, we'll revert this patch. Change-Id: I2712ca0b9626771cec1f3d98b04cc8c18eb1cb15 Related-Bug: 1661360
This commit is contained in:
parent
caff5b0473
commit
4d58e7704a
|
@ -327,24 +327,11 @@ class { '::nova':
|
|||
debug => hiera('debug'),
|
||||
}
|
||||
|
||||
# Manages the migration to Nova API in mod_wsgi with Apache.
|
||||
# - First update nova.conf with new parameters
|
||||
# - Stop nova-api process before starting apache to avoid binding error
|
||||
# - Start apache after configuring all vhosts
|
||||
exec { 'stop_nova-api':
|
||||
command => 'service openstack-nova-api stop',
|
||||
path => '/usr/sbin',
|
||||
refreshonly => true,
|
||||
}
|
||||
Nova_config<||> ~> Exec['stop_nova-api']
|
||||
Exec['stop_nova-api'] -> Service['httpd']
|
||||
|
||||
class { '::nova::api':
|
||||
enable_proxy_headers_parsing => $enable_proxy_headers_parsing,
|
||||
}
|
||||
include ::nova::cell_v2::simple_setup
|
||||
include ::nova::placement
|
||||
include ::nova::wsgi::apache_api
|
||||
include ::nova::wsgi::apache_placement
|
||||
include ::nova::cert
|
||||
include ::nova::cron::archive_deleted_rows
|
||||
|
|
|
@ -368,11 +368,8 @@ nova::api::enabled_apis:
|
|||
- osapi_compute
|
||||
- metadata
|
||||
nova::api::sync_db_api: true
|
||||
nova::api::service_name: 'httpd'
|
||||
nova::api::osapi_compute_workers: "%{::os_workers}"
|
||||
nova::api::metadata_workers: "%{::os_workers}"
|
||||
nova::wsgi::apache_api::ssl: false
|
||||
nova::wsgi::apache_api::bind_host: {{LOCAL_IP}}
|
||||
nova::wsgi::apache_placement::ssl: false
|
||||
nova::wsgi::apache_placement::bind_host: {{LOCAL_IP}}
|
||||
nova::wsgi::apache_placement::api_port: '8778'
|
||||
|
|
Loading…
Reference in New Issue