|
| 1 | +[DEFAULT] |
| 2 | +# Make direct deploy faster, transfer sparse qcow2 images |
| 3 | +force_raw_images = False |
| 4 | +# Avoid some rpc timeouts |
| 5 | +rpc_response_timeout = 360 |
| 6 | + |
| 7 | +[agent] |
| 8 | +# Use iPXE server for direct deploy source |
| 9 | +image_download_source = http |
| 10 | +# Reduce load by only collecting logs on failure |
| 11 | +deploy_logs_collect = on_failure |
| 12 | + |
| 13 | +[console] |
| 14 | +socat_address = {% raw %}{{ api_interface_address }}{% endraw %} |
| 15 | + |
| 16 | +[conductor] |
| 17 | +automated_clean=true |
| 18 | +# We have busy conductors failing to heartbeat |
| 19 | +# Default is 10 secs |
| 20 | +heartbeat_interval = 30 |
| 21 | +# Default is 60 seconds |
| 22 | +heartbeat_timeout = 360 |
| 23 | +sync_local_state_interval = 360 |
| 24 | + |
| 25 | +[agent] |
| 26 | +# Use iPXE server for direct deploy source |
| 27 | +image_download_source = http |
| 28 | +# Reduce load by only collecting logs on failure |
| 29 | +deploy_logs_collect = on_failure |
| 30 | + |
| 31 | +[console] |
| 32 | +socat_address = {% raw %}{{ api_interface_address }}{% endraw %} |
| 33 | + |
| 34 | +[conductor] |
| 35 | +automated_clean=true |
| 36 | +# We have busy conductors failing to heartbeat |
| 37 | +# Default is 10 secs |
| 38 | +heartbeat_interval = 30 |
| 39 | +# Default is 60 seconds |
| 40 | +heartbeat_timeout = 360 |
| 41 | +sync_local_state_interval = 360 |
| 42 | + |
| 43 | +# Normally this is 100. We see eventlet threads |
| 44 | +# not making much progress, to for saftey reduce |
| 45 | +# this by half, should leave work on rabbit queu |
| 46 | +workers_pool_size = 50 |
| 47 | +# Normally this is 8, keep it same |
| 48 | +period_max_workers = 8 |
| 49 | + |
| 50 | +# Stop power state sync |
| 51 | +sync_power_state_interval = 0 |
| 52 | +power_failure_recovery_interval = 0 |
| 53 | +# Stop checking for orphan allocations for now |
| 54 | +check_allocations_interval = 0 |
| 55 | + |
| 56 | +# Wait much longer before provision timeout check, to reduce background load |
| 57 | +# The default is 60 seconds |
| 58 | +check_provision_state_interval = 120 |
| 59 | +check_rescue_state_interval = 120 |
| 60 | + |
| 61 | +[database] |
| 62 | +# Usually this is 50, reduce to stop DB connection timeouts |
| 63 | +# and instead just make eventlet threads wait a bit longer |
| 64 | +max_overflow = 5 |
| 65 | +# Usually this is 5 |
| 66 | +max_pool_size = 5 |
| 67 | +# Usually this is 3600, reduce this to make it less likely |
| 68 | +# to get a connection out the pool that has already timed out |
| 69 | +connection_recycle_time = 1800 |
| 70 | +# By default this is 30 seconds, but as we reduce |
| 71 | +# the pool overflow, some people will need to wait longer |
| 72 | +pool_timeout = 60 |
| 73 | + |
| 74 | +[deploy] |
| 75 | +shred_random_overwrite_iterations = 0 |
| 76 | +shred_final_overwrite_with_zeros = false |
| 77 | +continue_if_disk_secure_erase_fails = true |
| 78 | + |
| 79 | +[pxe] |
| 80 | +# Increase cache size to 120GB and TTL to 28 hours |
| 81 | +image_cache_size = 122880 |
| 82 | +image_cache_ttl = 100800 |
| 83 | + |
| 84 | +[neutron] |
| 85 | +# Increase the neutron client timeout to allow for the slow management |
| 86 | +# switches. |
| 87 | +timeout = 300 |
| 88 | +request_timeout = 300 |
| 89 | + |
| 90 | +[glance] |
| 91 | +# Retry image download at least once if failure |
| 92 | +num_retries = 1 |
0 commit comments