Add nova/ironic/glance cross-service vars to group_vars/all

Given that nova implements a compute service for ironic
it needs access to some of the vars. This moves the vars
out of isolation back into the all space. The same goes
for a glance var which ironic needs.

While this is not ideal, it is the established pattern
and this patch needs to be ported back to Queens.

Change-Id: I2f65a0b26e8d46729959d87ae0dafcdba61c619f
This commit is contained in:
Jesse Pretorius 2018-04-09 19:04:29 +01:00
parent 932e01cf45
commit 3b325b7dbc
4 changed files with 27 additions and 13 deletions

View File

@ -13,6 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# This var is used by glance and ironic
glance_service_user_name: glance
glance_service_port: 9292
glance_service_proto: http
glance_service_publicuri_proto: "{{ openstack_service_publicuri_proto | default(glance_service_proto) }}"

View File

@ -0,0 +1,24 @@
---
# Copyright 2018, 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.
# These vars are used for ironic and nova
ironic_keystone_auth_plugin: password
ironic_service_user_name: ironic
ironic_service_project_name: service
ironic_service_proto: http
ironic_service_port: 6385
ironic_service_adminuri_proto: "{{ openstack_service_adminuri_proto | default(ironic_service_proto) }}"
ironic_service_adminuri: "{{ ironic_service_adminuri_proto }}://{{ internal_lb_vip_address }}:{{ ironic_service_port }}"
ironic_service_adminurl: "{{ ironic_service_adminuri }}/v1"

View File

@ -13,11 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
glance_service_user_name: glance
# These are here rather than in glance_all because
# both the os_ceilometer and os_glance roles require them
# RPC
glance_rabbitmq_userid: glance
glance_rabbitmq_vhost: /glance

View File

@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
ironic_keystone_auth_plugin: password
ironic_rabbitmq_userid: ironic
ironic_rabbitmq_vhost: /ironic
ironic_rabbitmq_port: "{{ rabbitmq_port }}"
@ -21,16 +20,9 @@ ironic_rabbitmq_servers: "{{ rabbitmq_servers }}"
ironic_rabbitmq_use_ssl: "{{ rabbitmq_use_ssl }}"
ironic_rabbitmq_host_group: "{{ rabbitmq_host_group }}"
ironic_service_name: ironic
ironic_service_user_name: ironic
ironic_service_proto: http
ironic_service_port: 6385
ironic_service_project_name: service
ironic_service_adminuri_proto: "{{ openstack_service_adminuri_proto | default(ironic_service_proto) }}"
ironic_service_adminuri: "{{ ironic_service_adminuri_proto }}://{{ internal_lb_vip_address }}:{{ ironic_service_port }}"
ironic_galera_database: ironic
ironic_galera_user: ironic
ironic_service_adminurl: "{{ ironic_service_adminuri }}/v1"
# Ensure that the package state matches the global setting
ironic_package_state: "{{ package_state }}"