components/openstack/glance/files/glance-cache.conf
branchs11-update
changeset 4072 db0cec748ec0
parent 3324 a725bbd5dea1
child 5405 66fd59fecd68
equal deleted inserted replaced
4067:4be1f488dda8 4072:db0cec748ec0
     3 #verbose = False
     3 #verbose = False
     4 
     4 
     5 # Show debugging output in logs (sets DEBUG log level output)
     5 # Show debugging output in logs (sets DEBUG log level output)
     6 #debug = False
     6 #debug = False
     7 
     7 
       
     8 # Log to this file. Make sure you do not set the same log file for both the API
       
     9 # and registry servers!
       
    10 #
       
    11 # If `log_file` is omitted and `use_syslog` is false, then log messages are
       
    12 # sent to stdout as a fallback.
     8 log_file = /var/log/glance/image-cache.log
    13 log_file = /var/log/glance/image-cache.log
     9 
    14 
    10 # Send logs to syslog (/dev/log) instead of to file specified by `log_file`
    15 # Send logs to syslog (/dev/log) instead of to file specified by `log_file`
    11 #use_syslog = False
    16 #use_syslog = False
    12 
    17 
    14 image_cache_dir = /var/lib/glance/image-cache/
    19 image_cache_dir = /var/lib/glance/image-cache/
    15 
    20 
    16 # Number of seconds after which we should consider an incomplete image to be
    21 # Number of seconds after which we should consider an incomplete image to be
    17 # stalled and eligible for reaping
    22 # stalled and eligible for reaping
    18 image_cache_stall_time = 86400
    23 image_cache_stall_time = 86400
    19 
       
    20 # image_cache_invalid_entry_grace_period - seconds
       
    21 #
       
    22 # If an exception is raised as we're writing to the cache, the cache-entry is
       
    23 # deemed invalid and moved to <image_cache_datadir>/invalid so that it can be
       
    24 # inspected for debugging purposes.
       
    25 #
       
    26 # This is number of seconds to leave these invalid images around before they
       
    27 # are elibible to be reaped.
       
    28 image_cache_invalid_entry_grace_period = 3600
       
    29 
    24 
    30 # Max cache size in bytes
    25 # Max cache size in bytes
    31 image_cache_max_size = 10737418240
    26 image_cache_max_size = 10737418240
    32 
    27 
    33 # Address to find the registry server
    28 # Address to find the registry server
    49 #                glance.store.rbd.Store,
    44 #                glance.store.rbd.Store,
    50 #                glance.store.s3.Store,
    45 #                glance.store.s3.Store,
    51 #                glance.store.swift.Store,
    46 #                glance.store.swift.Store,
    52 #                glance.store.sheepdog.Store,
    47 #                glance.store.sheepdog.Store,
    53 #                glance.store.cinder.Store,
    48 #                glance.store.cinder.Store,
       
    49 #                glance.store.vmware_datastore.Store,
    54 
    50 
    55 # ============ Filesystem Store Options ========================
    51 # ============ Filesystem Store Options ========================
    56 
    52 
    57 # Directory that the Filesystem backend store
    53 # Directory that the Filesystem backend store
    58 # writes image data to
    54 # writes image data to
   158 #cinder_http_retries = 3
   154 #cinder_http_retries = 3
   159 
   155 
   160 # Allow to perform insecure SSL requests to cinder (boolean value)
   156 # Allow to perform insecure SSL requests to cinder (boolean value)
   161 #cinder_api_insecure = False
   157 #cinder_api_insecure = False
   162 
   158 
       
   159 # ============ VMware Datastore Store Options =====================
       
   160 
       
   161 # ESX/ESXi or vCenter Server target system.
       
   162 # The server value can be an IP address or a DNS name
       
   163 # e.g. 127.0.0.1, 127.0.0.1:443, www.vmware-infra.com
       
   164 #vmware_server_host = <None>
       
   165 
       
   166 # Server username (string value)
       
   167 #vmware_server_username = <None>
       
   168 
       
   169 # Server password (string value)
       
   170 #vmware_server_password = <None>
       
   171 
       
   172 # Inventory path to a datacenter (string value)
       
   173 # Value optional when vmware_server_ip is an ESX/ESXi host: if specified
       
   174 # should be `ha-datacenter`.
       
   175 #vmware_datacenter_path = <None>
       
   176 
       
   177 # Datastore associated with the datacenter (string value)
       
   178 #vmware_datastore_name = <None>
       
   179 
       
   180 # The number of times we retry on failures
       
   181 # e.g., socket error, etc (integer value)
       
   182 #vmware_api_retry_count = 10
       
   183 
       
   184 # The interval used for polling remote tasks
       
   185 # invoked on VMware ESX/VC server in seconds (integer value)
       
   186 #vmware_task_poll_interval = 5
       
   187 
       
   188 # Absolute path of the folder containing the images in the datastore
       
   189 # (string value)
       
   190 #vmware_store_image_dir = /openstack_glance
       
   191 
       
   192 # Allow to perform insecure SSL requests to the target system (boolean value)
       
   193 #vmware_api_insecure = False
       
   194 
   163 # ================= Security Options ==========================
   195 # ================= Security Options ==========================
   164 
   196 
   165 # AES key for encrypting store 'location' metadata, including
   197 # AES key for encrypting store 'location' metadata, including
   166 # -- if used -- Swift or S3 credentials
   198 # -- if used -- Swift or S3 credentials
   167 # Should be set to a random string of length 16, 24 or 32 bytes
   199 # Should be set to a random string of length 16, 24 or 32 bytes