The nova serial console feature uses portnumber 6083 by default. this port needs to be accessable for client programs that want to connect to the serial console as wel as the horizon webinterface to connect to the serial console. The added definitions add this port as a group_var Change-Id: I30f91b20b195e578647ea2a0cfe087bdac2b5b6b
62 lines
2.9 KiB
YAML
62 lines
2.9 KiB
YAML
---
|
|
# Copyright 2017, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
nova_service_port: 8774
|
|
nova_metadata_port: 8775
|
|
nova_service_proto: http
|
|
nova_metadata_protocol: "{{ openstack_service_internaluri_proto | default(nova_service_proto) }}"
|
|
nova_metadata_insecure: False
|
|
nova_service_adminuri_proto: "{{ openstack_service_adminuri_proto | default(nova_service_proto) }}"
|
|
nova_service_adminuri: "{{ nova_service_adminuri_proto }}://{{ internal_lb_vip_address }}:{{ nova_service_port }}"
|
|
nova_service_adminurl: "{{ nova_service_adminuri }}/v2.1"
|
|
nova_service_region: "{{ service_region }}"
|
|
nova_service_user_name: nova
|
|
nova_service_project_name: service
|
|
nova_service_project_domain_id: default
|
|
nova_service_user_domain_id: default
|
|
nova_keystone_auth_plugin: password
|
|
nova_console_type: spice
|
|
nova_novncproxy_port: 6080
|
|
nova_spice_html5proxy_base_port: 6082
|
|
nova_serialconsoleproxy_port: 6083
|
|
nova_console_port: "{% if nova_console_type == 'spice' %}{{ nova_spice_html5proxy_base_port }}{% elif nova_console_type == 'novnc' %}{{ nova_novncproxy_port }}{% else %}{{ nova_serialconsoleproxy_port }} {% endif %}"
|
|
|
|
# These are here rather than in nova_all because
|
|
# both the os_ceilometer and os_nova roles require them
|
|
|
|
# RPC
|
|
nova_rabbitmq_userid: nova
|
|
nova_rabbitmq_vhost: /nova
|
|
nova_rabbitmq_port: "{{ rabbitmq_port }}"
|
|
nova_rabbitmq_servers: "{{ rabbitmq_servers }}"
|
|
nova_rabbitmq_use_ssl: "{{ rabbitmq_use_ssl }}"
|
|
nova_rabbitmq_host_group: "{{ rabbitmq_host_group }}"
|
|
|
|
# Telemetry notifications
|
|
nova_rabbitmq_telemetry_userid: "{{ nova_rabbitmq_userid }}"
|
|
nova_rabbitmq_telemetry_password: "{{ nova_rabbitmq_password }}"
|
|
nova_rabbitmq_telemetry_vhost: "{{ nova_rabbitmq_vhost }}"
|
|
nova_rabbitmq_telemetry_port: "{{ nova_rabbitmq_port }}"
|
|
nova_rabbitmq_telemetry_servers: "{{ nova_rabbitmq_servers }}"
|
|
nova_rabbitmq_telemetry_use_ssl: "{{ nova_rabbitmq_use_ssl }}"
|
|
nova_rabbitmq_telemetry_host_group: "{{ nova_rabbitmq_host_group }}"
|
|
|
|
# If there are any Designate hosts in the environment, then enable its usage
|
|
nova_designate_enabled: "{{ (groups['designate_all'] is defined) and (groups['designate_all'] | length > 0) }}"
|
|
# If there are any Ceilometer hosts in the environment, then enable its usage
|
|
nova_ceilometer_enabled: "{{ (groups['ceilometer_all'] is defined) and (groups['ceilometer_all'] | length > 0) }}"
|
|
# If there are any Barbican hosts in the environment, then enable its usage
|
|
nova_barbican_enabled: "{{ (groups['barbican_all'] is defined) and (groups['barbican_all'] | length > 0) }}"
|