Add nova_ironic_serialconsole_type default setting
This variable determines if one of the nova console proxies is deployed alongside the nova-compute service for ironic. Currently the only supported values are "disabled" and "serialconsole" Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/860947 Change-Id: I8eae97f9c60956049072de8b04e557671a8cdcfa
This commit is contained in:
parent
f8dd01ebdc
commit
91ef7e41d3
@ -282,6 +282,10 @@ nova_libvirt_live_migration_inbound_addr: '{{ (nova_management_address == "local
|
||||
# Set the console type. Presently the only options are ["spice", "novnc", "serialconsole", "disabled"].
|
||||
nova_console_type: "{{ (ansible_facts['architecture'] == 'aarch64') | ternary('serialconsole', 'novnc') }}"
|
||||
|
||||
## Nova ironic console
|
||||
# Set the console type. Presently the only options are ["serialconsole", "disabled"].
|
||||
nova_ironic_console_type: "disabled"
|
||||
|
||||
# Nova console ssl info, presently only used by novnc console type
|
||||
nova_console_ssl_dir: "/etc/nova/ssl"
|
||||
nova_console_ssl_cert: "{{ nova_console_ssl_dir }}/nova-console.pem"
|
||||
@ -484,6 +488,13 @@ nova_services:
|
||||
condition: "{{ nova_console_type == 'serialconsole' }}"
|
||||
start_order: 5
|
||||
execstarts: "{{ nova_bin }}/nova-serialproxy"
|
||||
nova_ironic_sericalconsole-proxy:
|
||||
group: ironic_console
|
||||
service_name: nova-serialproxy
|
||||
init_config_overrides: "{{ nova_serialproxy_init_overrides }}"
|
||||
condition: "{{ nova_ironic_console_type == 'serialconsole' }}"
|
||||
start_order: 5
|
||||
execstarts: "{{ nova_bin }}/nova-serialproxy"
|
||||
|
||||
nova_novnc_pip_packages:
|
||||
- websockify
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
A new variable nova_ironic_console_type is added to enable the deployment
|
||||
of one of the nova console proxies in the ironic_console ansible group.
|
||||
The only supported setting at this time is `disabled` or `serialconsole`.
|
Loading…
Reference in New Issue
Block a user