Always start cinder API last
Cinder api was started last until a recent commit introduced a
regression by changing the order [1].
This reverts it.
[1]: 12ea9635ff
Change-Id: Iba0c0c170e6bb8f1b9e414ddad3426dd777ab894
This commit is contained in:
parent
6c0cb34bb5
commit
8de49541b8
@ -306,11 +306,19 @@ cinder_services:
|
|||||||
start_order: 2
|
start_order: 2
|
||||||
execstarts: "{{ cinder_bin }}/cinder-volume"
|
execstarts: "{{ cinder_bin }}/cinder-volume"
|
||||||
execreloads: "/bin/kill -HUP $MAINPID"
|
execreloads: "/bin/kill -HUP $MAINPID"
|
||||||
|
cinder-backup:
|
||||||
|
group: cinder_backup
|
||||||
|
service_name: cinder-backup
|
||||||
|
condition: "{{ cinder_service_backup_program_enabled | bool }}"
|
||||||
|
init_config_overrides: "{{ cinder_backup_init_overrides }}"
|
||||||
|
start_order: 3
|
||||||
|
execstarts: "{{ cinder_bin }}/cinder-backup"
|
||||||
|
execreloads: "/bin/kill -HUP $MAINPID"
|
||||||
cinder-api:
|
cinder-api:
|
||||||
group: cinder_api
|
group: cinder_api
|
||||||
service_name: cinder-api
|
service_name: cinder-api
|
||||||
init_config_overrides: "{{ cinder_api_init_overrides }}"
|
init_config_overrides: "{{ cinder_api_init_overrides }}"
|
||||||
start_order: 3
|
start_order: 4
|
||||||
execstarts: "{{ cinder_uwsgi_bin }}/uwsgi --autoload --ini /etc/uwsgi/cinder-api.ini"
|
execstarts: "{{ cinder_uwsgi_bin }}/uwsgi --autoload --ini /etc/uwsgi/cinder-api.ini"
|
||||||
execreloads: "{{ cinder_uwsgi_bin }}/uwsgi --reload /var/run/cinder-api/cinder-api.pid"
|
execreloads: "{{ cinder_uwsgi_bin }}/uwsgi --reload /var/run/cinder-api/cinder-api.pid"
|
||||||
wsgi_overrides: "{{ cinder_api_uwsgi_ini_overrides }}"
|
wsgi_overrides: "{{ cinder_api_uwsgi_ini_overrides }}"
|
||||||
@ -318,14 +326,6 @@ cinder_services:
|
|||||||
wsgi_name: cinder-wsgi
|
wsgi_name: cinder-wsgi
|
||||||
uwsgi_port: "{{ cinder_service_port }}"
|
uwsgi_port: "{{ cinder_service_port }}"
|
||||||
uwsgi_bind_address: "{{ cinder_uwsgi_bind_address }}"
|
uwsgi_bind_address: "{{ cinder_uwsgi_bind_address }}"
|
||||||
cinder-backup:
|
|
||||||
group: cinder_backup
|
|
||||||
service_name: cinder-backup
|
|
||||||
condition: "{{ cinder_service_backup_program_enabled | bool }}"
|
|
||||||
init_config_overrides: "{{ cinder_backup_init_overrides }}"
|
|
||||||
start_order: 4
|
|
||||||
execstarts: "{{ cinder_bin }}/cinder-backup"
|
|
||||||
execreloads: "/bin/kill -HUP $MAINPID"
|
|
||||||
|
|
||||||
# Cinder uWSGI settings
|
# Cinder uWSGI settings
|
||||||
cinder_wsgi_processes_max: 16
|
cinder_wsgi_processes_max: 16
|
||||||
|
Loading…
Reference in New Issue
Block a user