Merge "Drop nova-consoleauth service"
This commit is contained in:
commit
d1aa5839b4
@ -465,7 +465,6 @@ nova_api_metadata_init_overrides: {}
|
|||||||
nova_api_os_compute_init_overrides: {}
|
nova_api_os_compute_init_overrides: {}
|
||||||
nova_compute_init_overrides: {}
|
nova_compute_init_overrides: {}
|
||||||
nova_conductor_init_overrides: {}
|
nova_conductor_init_overrides: {}
|
||||||
nova_consoleauth_init_overrides: {}
|
|
||||||
nova_novncproxy_init_overrides: {}
|
nova_novncproxy_init_overrides: {}
|
||||||
nova_scheduler_init_overrides: {}
|
nova_scheduler_init_overrides: {}
|
||||||
nova_spicehtml5proxy_init_overrides: {}
|
nova_spicehtml5proxy_init_overrides: {}
|
||||||
@ -514,12 +513,6 @@ nova_services:
|
|||||||
start_order: 2
|
start_order: 2
|
||||||
execstarts: "{{ nova_bin }}/nova-conductor"
|
execstarts: "{{ nova_bin }}/nova-conductor"
|
||||||
execreloads: "/bin/kill -HUP $MAINPID"
|
execreloads: "/bin/kill -HUP $MAINPID"
|
||||||
nova-consoleauth:
|
|
||||||
group: nova_console
|
|
||||||
service_name: nova-consoleauth
|
|
||||||
init_config_overrides: "{{ nova_consoleauth_init_overrides }}"
|
|
||||||
start_order: 3
|
|
||||||
execstarts: "{{ nova_bin }}/nova-consoleauth"
|
|
||||||
nova-novncproxy:
|
nova-novncproxy:
|
||||||
group: nova_console
|
group: nova_console
|
||||||
service_name: nova-novncproxy
|
service_name: nova-novncproxy
|
||||||
|
@ -170,6 +170,31 @@
|
|||||||
- nova-config
|
- nova-config
|
||||||
- systemd-service
|
- systemd-service
|
||||||
|
|
||||||
|
# NOTE(mnaser): Remove this task in Train
|
||||||
|
- name: Disable deprecated nova-consoleauth service
|
||||||
|
service:
|
||||||
|
name: nova-consoleauth
|
||||||
|
state: stopped
|
||||||
|
enabled: false
|
||||||
|
failed_when: false
|
||||||
|
|
||||||
|
# NOTE(mnaser): Remove this task in Train
|
||||||
|
- name: Remove unit files for deprecated nova-consoleauth service
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: absent
|
||||||
|
with_items:
|
||||||
|
- /etc/systemd/system/nova-consoleauth.service
|
||||||
|
- /etc/tmpfiles.d/openstack-nova-consoleauth.conf
|
||||||
|
register: _remove_consoleauth
|
||||||
|
|
||||||
|
# NOTE(mnaser): Remove this task in Train
|
||||||
|
- name: Reload systemd for removed units
|
||||||
|
systemd:
|
||||||
|
daemon_reload: yes
|
||||||
|
when:
|
||||||
|
- _remove_consoleauth is changed
|
||||||
|
|
||||||
- import_tasks: nova_compute.yml
|
- import_tasks: nova_compute.yml
|
||||||
when:
|
when:
|
||||||
- "nova_services['nova-compute']['group'] in group_names"
|
- "nova_services['nova-compute']['group'] in group_names"
|
||||||
|
@ -36,7 +36,6 @@ nova_devel_distro_packages:
|
|||||||
nova_service_distro_packages:
|
nova_service_distro_packages:
|
||||||
- openstack-nova-api
|
- openstack-nova-api
|
||||||
- openstack-nova-conductor
|
- openstack-nova-conductor
|
||||||
- openstack-nova-consoleauth
|
|
||||||
- openstack-nova-placement-api
|
- openstack-nova-placement-api
|
||||||
- openstack-nova-scheduler
|
- openstack-nova-scheduler
|
||||||
- python-memcached
|
- python-memcached
|
||||||
|
@ -35,7 +35,6 @@ nova_devel_distro_packages:
|
|||||||
nova_service_distro_packages:
|
nova_service_distro_packages:
|
||||||
- nova-api
|
- nova-api
|
||||||
- nova-conductor
|
- nova-conductor
|
||||||
- nova-consoleauth
|
|
||||||
- nova-placement-api
|
- nova-placement-api
|
||||||
- nova-scheduler
|
- nova-scheduler
|
||||||
- python-memcache
|
- python-memcache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user