Skip to content

Instantly share code, notes, and snippets.

@a1git
Created January 13, 2021 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1git/93a0092034207fdcfbae36abe97f0b01 to your computer and use it in GitHub Desktop.
Save a1git/93a0092034207fdcfbae36abe97f0b01 to your computer and use it in GitHub Desktop.
[DEFAULT]
# Logs / State
debug = False
use_journal = True
state_path = /var/lib/nova
service_down_time = 120
# Scheduler
disk_allocation_ratio = 1.0
ram_allocation_ratio = 1.0
reserved_host_disk_mb = 0
reserved_host_memory_mb = 2048
# Compute
compute_driver = libvirt.LibvirtDriver
instances_path = /var/lib/nova/instances
allow_resize_to_same_host = True
# Api's
enabled_apis = osapi_compute,metadata
# Rpc all
transport_url = rabbit://nova:**@172.29.239.75:5671,nova:**@172.29.239.131:5671,nova:**@172.29.239.233:5671//nova?ssl=1
# Network
my_ip = 172.29.236.101
# Hypervisor
default_ephemeral_format = ext4
# Ceilometer notification configurations
# Notifications
force_config_drive = True
resume_guests_state_on_host_boot = True
cpu_allocation_ratio = 6.0
max_instances_per_host = 1000
[oslo_messaging_notifications]
topics =
driver = noop
transport_url = rabbit://nova:**@172.29.239.75:5671,nova:**@172.29.239.131:5671,nova:**@172.29.239.233:5671//nova?ssl=1
# Image cache
[image_cache]
manager_interval = 0
# Cache
[cache]
enabled = true
backend = oslo_cache.memcache_pool
memcache_servers = 172.29.239.207:11211,172.29.239.134:11211,172.29.239.140:11211
# Cinder
[cinder]
catalog_info = volumev3:cinderv3:internalURL
os_region_name = ktm
[vnc]
enabled = True
novncproxy_base_url = https://domain.com:6080/vnc_lite.html
novncproxy_host = 172.29.236.101
novncproxy_port = 6080
server_listen = 172.29.236.101
server_proxyclient_address = 172.29.236.101
# Glance
[glance]
api_servers = http://172.29.236.9:9292
insecure = False
# Neutron
[neutron]
region_name = ktm
auth_type = password
default_floating_pool = public
username = nova
password = ***
project_name = service
user_domain_id = default
project_domain_id = default
auth_url = http://172.29.236.9:5000/v3
insecure = False
metadata_proxy_shared_secret = ***
service_metadata_proxy = True
[placement]
region_name = ktm
auth_type = password
username = nova
password = ***
project_name = service
user_domain_id = default
project_domain_id = default
auth_url = http://172.29.236.9:5000/v3
insecure = False
[conductor]
workers = 16
[keystone_authtoken]
insecure = False
auth_type = password
auth_url = http://172.29.236.9:5000
www_authenticate_uri = http://172.29.236.9:5000
project_domain_id = default
user_domain_id = default
project_name = service
username = nova
password = ***
region_name = ktm
memcached_servers = 172.29.239.207:11211,172.29.239.134:11211,172.29.239.140:11211
token_cache_time = 300
# if your memcached server is shared, use these settings to avoid cache poisoning
memcache_security_strategy = ENCRYPT
memcache_secret_key = ***
[oslo_concurrency]
lock_path = /var/lock/nova
[oslo_messaging_rabbit]
ssl = True
[libvirt]
inject_partition = -2
inject_password = True
inject_key = True
virt_type = kvm
# ceph rbd support
rbd_user = cinder
rbd_secret_uuid = xxxx-xxxx-xxxx-xxxx
live_migration_uri = "qemu+ssh://nova@%s/system?no_verify=1&keyfile=/var/lib/nova/.ssh/id_rsa"
live_migration_tunnelled = True
live_migration_inbound_addr = 172.29.236.101
hw_disk_discard = ignore
disk_cachemodes =
[wsgi]
api_paste_config = /etc/nova/api-paste.ini
secure_proxy_ssl_header = HTTP_X_FORWARDED_PROTO
[api]
use_forwarded_for = False
vendordata_jsonfile_path = /etc/nova/vendor_data.json
[scheduler]
workers = 16
max_attempts = 5
discover_hosts_in_cells_interval = 60
[filter_scheduler]
max_io_ops_per_host = 10
ram_weight_multiplier = 5.0
enabled_filters = AvailabilityZoneFilter,ComputeFilter,AggregateNumInstancesFilter,AggregateIoOpsFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,NUMATopologyFilter
host_subset_size = 10
tracks_instance_changes = True
[upgrade_levels]
compute = auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment