Files
openstack-ansible/tests/roles/bootstrap-host/templates/user_variables_ceph.yml.j2
Dmitriy Rabotyagov 18a35faea1 Allow ceph metal CI deployments
eth1 interface is not a valid interface for metal deployments.
br-mgmt interface should be used instead as a `monitor_interface`.

Change-Id: I8310c2485f2bfb9b283068d43c8acd35f29197c3
2020-01-16 16:05:55 +00:00

30 lines
1.2 KiB
Django/Jinja

---
# Copyright 2017, Logan Vig <logan2211@gmail.com>
#
# 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.
## ceph-ansible AIO settings
common_single_host_mode: true
monitor_interface: "{{ ('metal' in bootstrap_host_scenarios_expanded) | ternary('br-mgmt', 'eth1') }}" # Management network in the AIO
public_network: "{{ (mgmt_range ~ '.0/' ~ netmask) | ipaddr('net') }}"
journal_size: 100
osd_scenario: collocated
pool_default_pg_num: 16
openstack_config: true # Ceph ansible automatically creates pools & keys
cinder_ceph_client: cinder
cinder_default_volume_type: RBD
glance_ceph_client: glance
glance_default_store: rbd
glance_rbd_store_pool: images
nova_libvirt_images_rbd_pool: vms