996fcb7dc7
There is no record for why we implement the MQ vhost/user creation outside of the role in the playbook, when we could do it inside the role. Implementing it inside the role allows us to reduce the quantity of group_vars duplicated from the role, and allows us to better document the required variables in the role. The delegation can still be done as it is done in the playbook too. In this patch we implement two new variables: - ironic_oslomsg_rpc_setup_host - ironic_oslomsg_notify_setup_host These are used in the role to allow delegation of the MQ vhost/user setup for each type to any host, but they default to using the first member of the applicable oslomsg host group. We also adjust some of the defaults to automatically inherit existing vars set in group_vars form the integrated build so that we do not need to do the wiring in the integrated build's group vars. We still default them in the role too for independent role usage. Depends-On: https://review.openstack.org/583430 Change-Id: I331be6ce2ca304f31844d8b0cd48e2640d8312d4
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
---
|
|
# Copyright 2016, 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.
|
|
|
|
test_swift_storage_network: "eth3"
|
|
test_swift_repl_network: "eth3"
|
|
nova_virt_type: ironic
|
|
glance_file_store: swift
|
|
test_swift_repl_number: 2
|
|
nova_console_type: novnc
|
|
|
|
neutron_provider_networks:
|
|
network_types: "vxlan,flat"
|
|
network_vxlan_ranges: "1:1000"
|
|
network_flat_networks: "flat,prov"
|
|
network_mappings: "flat:eth12,prov:eth11"
|
|
|
|
# Must be set to a normal MTU
|
|
neutron_network_device_mtu: 1500
|
|
neutron_l2_population: True
|
|
neutron_dhcp_config:
|
|
dhcp-option-force: "26,1500"
|
|
log-facility: "/var/log/neutron/neutron-dnsmasq.log"
|
|
ironic_neutron_provisioning_network_name: "ironic-prov"
|
|
neutron_l3: True
|
|
neutron_metadata: True
|
|
ironic_pip_package_state: latest
|
|
ironic_service_user_name: "ironic"
|
|
|
|
ironic_oslomsg_rpc_password: "{{ oslomsg_rpc_password }}"
|
|
ironic_oslomsg_notify_password: "{{ oslomsg_notify_password }}"
|