powervc-driver/common-powervc/etc/powervc.conf

189 lines
6.9 KiB
Plaintext

# This file contains configuration properties that affects how the powervc driver functions and how it
# communicates with the PowerVC server. Most properties have default values based on a default
# PowerVC configuration. However, some connection properties, such as PowerVC host name
# do not have default values and must be configured prior to running the powervc driver. These
# properties are marked with the text INPUT REQUIRED. Also you may have to change other
# properties depending on your environment and how your PowerVC sever is configured. For
# more information, see the Smart Cloud Entry Administration Guide.
[DEFAULT]
# The following group of properties needs to be configured
# in order for the PowerVC Driver to be able to authenticate with keystone
# and obtain information from it, that might be required to run background
# tasks (such as discovering a new image), or simply to connect to a
# secured Glance.
# When running secured Glance, make sure the 'auth_strategy' property in
# nova.conf is set to 'keystone'.
# Log info messages
verbose = true
[openstack]
# Authentication url to authenticate with keystone (string value)
auth_url = http://localhost:5000/v2.0
# v2.0 or v3
keystone_version = v2.0
# Tenant name for connecting to keystone in admin context (string value)
admin_tenant_name = demo
# Username for connecting to keystone in admin context (string value)
admin_user = demo
# Password for connecting to keystone in admin context (string value)
admin_password = openstack
# For local SSL connections, specify the path and filename of the cacert file
#connection_cacert =
http_insecure = True
# Region name for the local Openstack. Must be set to correct name when local
# Openstack is configured for working in multiple regions environment.
#region_name =
# The times to check whether keystone service is available or not
keystone_max_try_times = 30
# The interval in seconds to retry the keystone service
keystone_retry_interval = 2
[powervc]
# Full class name for the manager for PowerVC Manager Service (string value)
powervc_manager = powervc.nova.driver.compute.manager.PowerVCCloudManager
# Full class name for the driver for PowerVC Driver Service (string value)
powervc_driver = powervc.nova.driver.virt.powervc.driver.PowerVCDriver
#
# Connection information for PowerVC.
#
# Authentication url of the PowerVC to connect to
# INPUT REQUIRED
# Provide 'host' portion by updating it to the hostname of the PowerVC system
auth_url = https://host/powervc/openstack/identity/v3
# v2.0 or v3
keystone_version = v3
# Username for PowerVC connection (string value)
admin_user = root
# Password for PowerVC connection (string value)
admin_password = passw0rd
# Tenant name for PowerVC connection (string value)
admin_tenant_name = ibm-default
# For PowerVC SSL connections, specify the path and filename of the cacert file
# INPUT REQUIRED
# Provide the cacert file by copying it from its install location on the
# PowerVC host (e.g. /etc/pki/tls/certs/powervc.crt) to the local hosting
# Openstack system.
#connection_cacert =
# Value of insecure option for PowerVC connections (Default=True)
# INPUT REQUIRED
# Change to False when using a secure connection and providing a cacert file.
http_insecure = True
# Value of authorization token expiration stale duration (Default=3600)
# INPUT REQUIRED
# Due to PowerVC requirement, all the REST API customers need to pre-refresh
# authorization token at least 1 hour before expiration
expiration_stale_duration = 3600
# The names of the storage connectivity groups supported by our driver
# INPUT REQUIRED
# Provide the PowerVC storage connectivity group (SCG) names by getting the name
# from the PowerVC system, or using the PowerVC default SCG of "Any host, all VIOS".
# If there are more than one SCG you want to specify, just add more SCG values with
# more storage_connectivity_group
# Note: The value of this property must exactly match the value as specified on the
# PowerVC server, including case, punctuation, and spaces.
storage_connectivity_group = Any host, all VIOS
#storage_connectivity_group =
#
# Sync variables
#
# The name of the staging project (string value)
# If not set defaults to 'Public'. If set the named project should exist and
# be accessible by the staging_user.
staging_project_name = Public
# The name of the staging user (string value)
# If not set defaults to 'admin'. If set the user should exist and
# have access to the project identified by staging_project_name.
staging_user = admin
# The prefix that will be added to the flavor name from PowerVC
# and stored (string value). This should be unique for every
# connection to help distinguish the flavors
flavor_prefix = PVC-
# This is a list of PowerVC flavor names that should be synced.
# If no flavor name is specified, then all flavors are synced.
flavor_white_list =
# This is a list of PowerVC flavor names that should not be synced.
flavor_black_list =
# The periodic flavor sync interval in seconds.
flavor_sync_interval = 300
# Instance periodic sync interval specified in seconds
instance_sync_interval = 20
# How many instance sync intervals between full instance syncs. Only instances
# known to be out of sync are synced on the interval except after this many
# intervals when all instances are synced.
full_instance_sync_frequency = 30
# Image periodic sync interval specified in seconds. This is the time from the end
# of one successful image periodic sync operation to the start of the next.
image_periodic_sync_interval_in_seconds = 300
# The time in seconds between image sync retry attempts if an error was
# encountered during an image sync operation
image_sync_retry_interval_time_in_seconds = 60
# The maximum number of images to return. The default is 500 images. If your PowerVC
# has more than 500 images, this limit should be increased to include all images.
image_limit = 500
# Volume periodic sync interval specified in seconds
volume_sync_interval = 20
# How many volume sync intervals between full volume syncs.
# Only volumes known to be out of sync are synced on the interval
# except after this many intervals when all volumes are synced.
full_volume_sync_frequency = 30
# Volume type periodic sync interval specified in seconds
volume_type_sync_interval = 20
# How many volume type sync intervals between full volume type syncs.
# Only volumes known to be out of sync are synced on the interval
# except after this many intervals when all volumes are synced.
full_volume_type_sync_frequency = 30
# Ignore delete errors so an exception is not thrown during a
# delete. When set to true, this allows the volume to be deleted
# on the hosting OS even if an exception occurs. When set to false,
# exceptions during delete prevent the volume from being deleted
# on the hosting OS.
volume_driver_ignore_delete_error = False
# The times to check whether attaching/detaching the volume succeed
volume_max_try_times = 12
# Minimum delay interval and initial delay seconds for long run tasks.
longrun_loop_interval = 7
longrun_initial_delay = 10