官术网_书友最值得收藏!

Configuring your setup

The AIO development environment uses the configuration files in test/roles/bootstrap-host/defaults/main.yml.

This file describes the default values for the host configuration. In addition to the configuration file, the configuration options can be passed through shell environment variables.

The BOOTSTRAP_OPTS variable is read by the bootstrap script as a space-separated key value pair. It can be used to pass values to override the default ones in the configuration file:

# export BOOTSTRAP_OPTS="${BOOTSTRAP_OPTS} bootstrap_host_loopback_cinder_size=512"

OSA also allows overriding default values for service configuration. These override values are provided in the /etc/openstack_deploy/user_variables.yml file.

The following is an example of overriding the values in nova.conf using the override file:

nova_nova_conf_overrides: 
DEFAULT:
remove_unused_original_minimum_age_seconds: 43200
libvirt:
cpu_mode: host-model
disk_cachemodes: file=directsync,block=none
database:
idle_timeout: 300
max_pool_size: 10

This override file will populate the nova.conf file with the following options:

[DEFAULT] 
remove_unused_original_minimum_age_seconds = 43200

[libvirt]
cpu_mode = host-model
disk_cachemodes = file=directsync,block=none

[database]
idle_timeout = 300
max_pool_size = 10

The override variables can also be passed using a per host configuration stanza in/etc/openstack_deploy/openstack_user_config.yml.

The complete set of configuration options are described in the OpenStack Ansible documentation at http://docs.openstack.org/developer/openstack-ansible/install-guide/configure-openstack.html

主站蜘蛛池模板: 独山县| 克拉玛依市| 双城市| 黄大仙区| 德保县| 宣城市| 海淀区| 钟山县| 安多县| 沈丘县| 晋江市| 固镇县| 洞口县| 裕民县| 沁水县| 河间市| 新龙县| 邯郸县| 嵊州市| 武夷山市| 绥棱县| 顺义区| 闵行区| 余姚市| 金阳县| 乃东县| 岐山县| 扶风县| 武山县| 金湖县| 桃园市| 九寨沟县| 雷州市| 建德市| 克拉玛依市| 凤庆县| 红河县| 临猗县| 托里县| 利津县| 特克斯县|