Skip to content

Instantly share code, notes, and snippets.

@josejuansanchez
Last active April 12, 2023 09:04
Show Gist options
  • Save josejuansanchez/a005cfe6148f013e439445f0c26f3c5f to your computer and use it in GitHub Desktop.
Save josejuansanchez/a005cfe6148f013e439445f0c26f3c5f to your computer and use it in GitHub Desktop.
Contenido del archivo nova.conf
[DEFAULT]
# Logs / State
debug = False
use_journal = True
state_path = /var/lib/nova
service_down_time = 120
# Scheduler
cpu_allocation_ratio = 16.0
disk_allocation_ratio = 1.0
ram_allocation_ratio = 1.5
reserved_host_disk_mb = 2048
reserved_host_memory_mb = 2048
#max_instances_per_host = -1
# 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:4ff02f35417de23ab4614738c7c5d5fc590e1@10.0.237.60:5671//nova?ssl=1&ssl_version=TLSv1_2&ssl_ca_file=
# Network
my_ip = 10.0.236.142
# Hypervisor
default_ephemeral_format = ext4
# Ceilometer notification configurations
# Notifications
[oslo_messaging_notifications]
topics =
driver = noop
transport_url = rabbit://nova:4ff02f35417de23ab4614738c7c5d5fc590e1@10.0.237.60:5671//nova?ssl=1&ssl_version=TLSv1_2&ssl_ca_file=
# Messaging
[oslo_messaging_rabbit]
heartbeat_in_pthread = False
# Image cache
[image_cache]
manager_interval = 0
# Cache
[cache]
enabled = true
backend = oslo_cache.memcache_pool
memcache_servers = 10.0.237.247:11211
# Cinder
[cinder]
catalog_info = volumev3:cinderv3:internalURL
os_region_name = RegionOne
[vnc]
enabled = True
novncproxy_base_url = https://openstack.celia:6080/vnc_lite.html
novncproxy_host = 10.0.236.142
novncproxy_port = 6080
server_listen = 10.0.236.142
server_proxyclient_address = 10.0.236.142
auth_schemes = vencrypt,none
vencrypt_client_key = /etc/pki/nova-novncproxy/client-key.pem
vencrypt_client_cert = /etc/pki/nova-novncproxy/client-cert.pem
vencrypt_ca_certs = /etc/pki/nova-novncproxy/ca-cert.pem
# Glance
[glance]
api_servers = http://10.0.236.141:9292
insecure = False
# Neutron
[neutron]
region_name = RegionOne
auth_type = password
default_floating_pool = public
username = nova
password = b38d3dfa00437b2c762961702f2997
project_name = service
user_domain_id = default
project_domain_id = default
auth_url = http://10.0.236.141:5000/v3
insecure = False
metadata_proxy_shared_secret = 6b5fcbdddbb89735f509d2e06a36b6f5c061
service_metadata_proxy = True
[placement]
region_name = RegionOne
auth_type = password
username = nova
password = b38d3dfa00437b2c762961702f2997
project_name = service
user_domain_id = default
project_domain_id = default
auth_url = http://10.0.236.141:5000/v3
insecure = False
[conductor]
workers = 16
[keystone_authtoken]
insecure = False
auth_type = password
auth_url = http://10.0.236.141:5000
www_authenticate_uri = http://10.0.236.141:5000
project_domain_id = default
user_domain_id = default
project_name = service
username = nova
password = b38d3dfa00437b2c762961702f2997
region_name = RegionOne
memcached_servers = 10.0.237.247: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 = 2f84ec0fa30ac8edcc541087de66dee1
[oslo_concurrency]
lock_path = /run/lock/nova
[libvirt]
inject_partition = -2
inject_password = False
inject_key = False
virt_type = kvm
live_migration_with_native_tls = true
live_migration_scheme = tls
live_migration_inbound_addr = 10.0.236.142
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
dhcp_domain = openstacklocal
[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
# Deshabilitamos el filtro: AggregateNumInstancesFilter
#enabled_filters = AvailabilityZoneFilter,ComputeFilter,AggregateNumInstancesFilter,AggregateIoOpsFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAf>
enabled_filters = AvailabilityZoneFilter,ComputeFilter,AggregateIoOpsFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffin>
host_subset_size = 1
tracks_instance_changes = True
[upgrade_levels]
compute = auto
@JuanMorenoMolina
Copy link

Muchas gracias por tus aportaciones,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment