[DEFAULT] # Show debugging output in logs (sets DEBUG log level output) debug = True # Address to bind the API server bind_host = 0.0.0.0 # Port the bind the API server to bind_port = 9595 #worker number workers = 3 # Log to this file. Make sure you do not set the same log file for both the API # and registry servers! # # If `log_file` is omitted and `use_syslog` is false, then log messages are # sent to stdout as a fallback. log_file = /var/log/glance/sync.log # Backlog requests when creating socket backlog = 4096 #How to sync the image, the value can be ["None", "ALL", "USER"] #When "ALL" choosen, means to sync to all the cascaded glances; #When "USER" choosen, means according to user's role, project, etc. sync_strategy = All #What the cascading glance endpoint is . cascading_endpoint_url = http://127.0.0.1:9292/ #when snapshot sync, set the timeout time(second) of snapshot 's status #changing into 'active'. snapshot_timeout = 300 #when snapshot sync, set the polling interval time(second) to check the #snapshot's status. snapshot_sleep_interval = 10 #When sync task fails, set the retry times. task_retry_times = 0 #When copy image data using 'scp' between filesystmes, set the timeout #time of the copy. scp_copy_timeout = 3600 #When snapshot, one can set the specific regions in which the snapshot #will sync to. snapshot_region_names = CascadedOne, CascadedTwo [keystone_authtoken] auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http admin_tenant_name = admin admin_user = glance admin_password = openstack [paste_deploy] config_file = /etc/glance/glance-sync-paste.ini flavor=keystone