diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder')
3 files changed, 1322 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/api-paste.ini b/meta-openstack/recipes-devtools/python/python-cinder/api-paste.ini new file mode 100644 index 0000000..69cf346 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cinder/api-paste.ini | |||
| @@ -0,0 +1,62 @@ | |||
| 1 | ############# | ||
| 2 | # OpenStack # | ||
| 3 | ############# | ||
| 4 | |||
| 5 | [composite:osapi_volume] | ||
| 6 | use = call:cinder.api:root_app_factory | ||
| 7 | /: apiversions | ||
| 8 | /v1: openstack_volume_api_v1 | ||
| 9 | /v2: openstack_volume_api_v2 | ||
| 10 | |||
| 11 | [composite:openstack_volume_api_v1] | ||
| 12 | use = call:cinder.api.middleware.auth:pipeline_factory | ||
| 13 | noauth = faultwrap sizelimit noauth apiv1 | ||
| 14 | keystone = faultwrap sizelimit authtoken keystonecontext apiv1 | ||
| 15 | keystone_nolimit = faultwrap sizelimit authtoken keystonecontext apiv1 | ||
| 16 | |||
| 17 | [composite:openstack_volume_api_v2] | ||
| 18 | use = call:cinder.api.middleware.auth:pipeline_factory | ||
| 19 | noauth = faultwrap sizelimit noauth apiv2 | ||
| 20 | keystone = faultwrap sizelimit authtoken keystonecontext apiv2 | ||
| 21 | keystone_nolimit = faultwrap sizelimit authtoken keystonecontext apiv2 | ||
| 22 | |||
| 23 | [filter:faultwrap] | ||
| 24 | paste.filter_factory = cinder.api.middleware.fault:FaultWrapper.factory | ||
| 25 | |||
| 26 | [filter:noauth] | ||
| 27 | paste.filter_factory = cinder.api.middleware.auth:NoAuthMiddleware.factory | ||
| 28 | |||
| 29 | [filter:sizelimit] | ||
| 30 | paste.filter_factory = cinder.api.middleware.sizelimit:RequestBodySizeLimiter.factory | ||
| 31 | |||
| 32 | [app:apiv1] | ||
| 33 | paste.app_factory = cinder.api.v1.router:APIRouter.factory | ||
| 34 | |||
| 35 | [app:apiv2] | ||
| 36 | paste.app_factory = cinder.api.v2.router:APIRouter.factory | ||
| 37 | |||
| 38 | [pipeline:apiversions] | ||
| 39 | pipeline = faultwrap osvolumeversionapp | ||
| 40 | |||
| 41 | [app:osvolumeversionapp] | ||
| 42 | paste.app_factory = cinder.api.versions:Versions.factory | ||
| 43 | |||
| 44 | ########## | ||
| 45 | # Shared # | ||
| 46 | ########## | ||
| 47 | |||
| 48 | [filter:keystonecontext] | ||
| 49 | paste.filter_factory = cinder.api.middleware.auth:CinderKeystoneContext.factory | ||
| 50 | |||
| 51 | [filter:authtoken] | ||
| 52 | paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory | ||
| 53 | service_protocol = http | ||
| 54 | service_host = 127.0.0.1 | ||
| 55 | service_port = 5000 | ||
| 56 | auth_host = 127.0.0.1 | ||
| 57 | auth_port = 35357 | ||
| 58 | auth_protocol = http | ||
| 59 | admin_tenant_name = service | ||
| 60 | admin_user = cinder | ||
| 61 | admin_password = password | ||
| 62 | signing_dir = /var/lib/cinder | ||
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf b/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf new file mode 100644 index 0000000..1e1c007 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf | |||
| @@ -0,0 +1,1186 @@ | |||
| 1 | #################### | ||
| 2 | # cinder.conf sample # | ||
| 3 | #################### | ||
| 4 | |||
| 5 | [DEFAULT] | ||
| 6 | sql_connection = postgresql://nova:nova@localhost/cinder | ||
| 7 | api_paste_confg = /etc/cinder/api-paste.ini | ||
| 8 | state_path = /etc/cinder/data/ | ||
| 9 | |||
| 10 | iscsi_helper=tgtadm | ||
| 11 | volume_name_template = volume-%s | ||
| 12 | volume_group = cinder-volumes | ||
| 13 | verbose = True | ||
| 14 | auth_strategy = keystone | ||
| 15 | |||
| 16 | rpc_backend = cinder.openstack.common.rpc.impl_qpid | ||
| 17 | qpid_hostname=localhost | ||
| 18 | qpid_port=5672 | ||
| 19 | |||
| 20 | # | ||
| 21 | # Options defined in cinder.openstack.common.cfg:CommonConfigOpts | ||
| 22 | # | ||
| 23 | |||
| 24 | # Print debugging output (boolean value) | ||
| 25 | #debug=false | ||
| 26 | |||
| 27 | # Print more verbose output (boolean value) | ||
| 28 | #verbose=false | ||
| 29 | |||
| 30 | # If this option is specified, the logging configuration file | ||
| 31 | # specified is used and overrides any other logging options | ||
| 32 | # specified. Please see the Python logging module | ||
| 33 | # documentation for details on logging configuration files. | ||
| 34 | # (string value) | ||
| 35 | #log_config=<None> | ||
| 36 | |||
| 37 | # A logging.Formatter log message format string which may use | ||
| 38 | # any of the available logging.LogRecord attributes. Default: | ||
| 39 | # %(default)s (string value) | ||
| 40 | #log_format=%(asctime)s %(levelname)8s [%(name)s] %(message)s | ||
| 41 | |||
| 42 | # Format string for %%(asctime)s in log records. Default: | ||
| 43 | # %(default)s (string value) | ||
| 44 | #log_date_format=%Y-%m-%d %H:%M:%S | ||
| 45 | |||
| 46 | # (Optional) Name of log file to output to. If not set, | ||
| 47 | # logging will go to stdout. (string value) | ||
| 48 | #log_file=<None> | ||
| 49 | |||
| 50 | # (Optional) The directory to keep log files in (will be | ||
| 51 | # prepended to --log-file) (string value) | ||
| 52 | #log_dir=<None> | ||
| 53 | |||
| 54 | # Use syslog for logging. (boolean value) | ||
| 55 | #use_syslog=false | ||
| 56 | |||
| 57 | # syslog facility to receive log lines (string value) | ||
| 58 | #syslog_log_facility=LOG_USER | ||
| 59 | |||
| 60 | # Do not count snapshots against gigabytes quota (bool value) | ||
| 61 | #no_snapshot_gb_quota=False | ||
| 62 | |||
| 63 | # | ||
| 64 | # Options defined in cinder.exception | ||
| 65 | # | ||
| 66 | |||
| 67 | # make exception message format errors fatal (boolean value) | ||
| 68 | #fatal_exception_format_errors=false | ||
| 69 | |||
| 70 | |||
| 71 | # | ||
| 72 | # Options defined in cinder.flags | ||
| 73 | # | ||
| 74 | |||
| 75 | # Virtualization api connection type : libvirt, xenapi, or | ||
| 76 | # fake (string value) | ||
| 77 | #connection_type=<None> | ||
| 78 | |||
| 79 | # The SQLAlchemy connection string used to connect to the | ||
| 80 | # database (string value) | ||
| 81 | #sql_connection=sqlite:///$state_path/$sqlite_db | ||
| 82 | |||
| 83 | # Verbosity of SQL debugging information. 0=None, | ||
| 84 | # 100=Everything (integer value) | ||
| 85 | #sql_connection_debug=0 | ||
| 86 | |||
| 87 | # File name for the paste.deploy config for cinder-api (string | ||
| 88 | # value) | ||
| 89 | #api_paste_config=api-paste.ini | ||
| 90 | |||
| 91 | # Directory where the cinder python module is installed | ||
| 92 | # (string value) | ||
| 93 | #pybasedir=/usr/lib/python/site-packages | ||
| 94 | |||
| 95 | # Directory where cinder binaries are installed (string value) | ||
| 96 | #bindir=$pybasedir/bin | ||
| 97 | |||
| 98 | # Top-level directory for maintaining cinder's state (string | ||
| 99 | # value) | ||
| 100 | #state_path=$pybasedir | ||
| 101 | |||
| 102 | # ip address of this host (string value) | ||
| 103 | #my_ip=10.0.0.1 | ||
| 104 | |||
| 105 | # default glance hostname or ip (string value) | ||
| 106 | #glance_host=$my_ip | ||
| 107 | |||
| 108 | # default glance port (integer value) | ||
| 109 | #glance_port=9292 | ||
| 110 | |||
| 111 | # A list of the glance api servers available to cinder | ||
| 112 | # ([hostname|ip]:port) (list value) | ||
| 113 | #glance_api_servers=$glance_host:$glance_port | ||
| 114 | |||
| 115 | # default version of the glance api to use | ||
| 116 | #glance_api_version=1 | ||
| 117 | |||
| 118 | # Number retries when downloading an image from glance | ||
| 119 | # (integer value) | ||
| 120 | #glance_num_retries=0 | ||
| 121 | |||
| 122 | # Allow to perform insecure SSL (https) requests to glance | ||
| 123 | # (boolean value) | ||
| 124 | #glance_api_insecure=false | ||
| 125 | |||
| 126 | # the topic scheduler nodes listen on (string value) | ||
| 127 | #scheduler_topic=cinder-scheduler | ||
| 128 | |||
| 129 | # the topic volume nodes listen on (string value) | ||
| 130 | #volume_topic=cinder-volume | ||
| 131 | |||
| 132 | # Deploy v1 of the Cinder API. (boolean value) | ||
| 133 | #enable_v1_api=true | ||
| 134 | |||
| 135 | # Deploy v2 of the Cinder API. (boolean value) | ||
| 136 | #enable_v2_api=true | ||
| 137 | |||
| 138 | # whether to rate limit the api (boolean value) | ||
| 139 | #api_rate_limit=true | ||
| 140 | |||
| 141 | # Specify list of extensions to load when using | ||
| 142 | # osapi_volume_extension option with | ||
| 143 | # cinder.api.contrib.select_extensions (list value) | ||
| 144 | #osapi_volume_ext_list= | ||
| 145 | |||
| 146 | # osapi volume extension to load (multi valued) | ||
| 147 | #osapi_volume_extension=cinder.api.contrib.standard_extensions | ||
| 148 | |||
| 149 | # Base URL that will be presented to users in links to the | ||
| 150 | # OpenStack Volume API (string value) | ||
| 151 | #osapi_volume_base_URL=<None> | ||
| 152 | |||
| 153 | # the maximum number of items returned in a single response | ||
| 154 | # from a collection resource (integer value) | ||
| 155 | #osapi_max_limit=1000 | ||
| 156 | |||
| 157 | # the filename to use with sqlite (string value) | ||
| 158 | #sqlite_db=cinder.sqlite | ||
| 159 | |||
| 160 | # If passed, use synchronous mode for sqlite (boolean value) | ||
| 161 | #sqlite_synchronous=true | ||
| 162 | |||
| 163 | # timeout before idle sql connections are reaped (integer | ||
| 164 | # value) | ||
| 165 | #sql_idle_timeout=3600 | ||
| 166 | |||
| 167 | # maximum db connection retries during startup. (setting -1 | ||
| 168 | # implies an infinite retry count) (integer value) | ||
| 169 | #sql_max_retries=10 | ||
| 170 | |||
| 171 | # interval between retries of opening a sql connection | ||
| 172 | # (integer value) | ||
| 173 | #sql_retry_interval=10 | ||
| 174 | |||
| 175 | # full class name for the Manager for volume (string value) | ||
| 176 | #volume_manager=cinder.volume.manager.VolumeManager | ||
| 177 | |||
| 178 | # full class name for the Manager for scheduler (string value) | ||
| 179 | #scheduler_manager=cinder.scheduler.manager.SchedulerManager | ||
| 180 | |||
| 181 | # Name of this node. This can be an opaque identifier. It is | ||
| 182 | # not necessarily a hostname, FQDN, or IP address. (string | ||
| 183 | # value) | ||
| 184 | #host=cinder | ||
| 185 | |||
| 186 | # availability zone of this node (string value) | ||
| 187 | #storage_availability_zone=nova | ||
| 188 | |||
| 189 | # Memcached servers or None for in process cache. (list value) | ||
| 190 | #memcached_servers=<None> | ||
| 191 | |||
| 192 | # default volume type to use (string value) | ||
| 193 | #default_volume_type=<None> | ||
| 194 | |||
| 195 | # time period to generate volume usages for. Time period must | ||
| 196 | # be hour, day, month or year (string value) | ||
| 197 | #volume_usage_audit_period=month | ||
| 198 | |||
| 199 | # Path to the rootwrap configuration file to use for running | ||
| 200 | # commands as root (string value) | ||
| 201 | #rootwrap_config=/etc/cinder/rootwrap.conf | ||
| 202 | |||
| 203 | # Whether to log monkey patching (boolean value) | ||
| 204 | #monkey_patch=false | ||
| 205 | |||
| 206 | # List of modules/decorators to monkey patch (list value) | ||
| 207 | #monkey_patch_modules= | ||
| 208 | |||
| 209 | # maximum time since last check-in for up service (integer | ||
| 210 | # value) | ||
| 211 | #service_down_time=60 | ||
| 212 | |||
| 213 | # The full class name of the volume API class to use (string | ||
| 214 | # value) | ||
| 215 | #volume_api_class=cinder.volume.api.API | ||
| 216 | |||
| 217 | # The strategy to use for auth. Supports noauth, keystone, and | ||
| 218 | # deprecated. (string value) | ||
| 219 | #auth_strategy=noauth | ||
| 220 | |||
| 221 | # AMQP exchange to connect to if using RabbitMQ or Qpid | ||
| 222 | # (string value) | ||
| 223 | #control_exchange=cinder | ||
| 224 | |||
| 225 | |||
| 226 | # | ||
| 227 | # Options defined in cinder.policy | ||
| 228 | # | ||
| 229 | |||
| 230 | # JSON file representing policy (string value) | ||
| 231 | #policy_file=policy.json | ||
| 232 | |||
| 233 | # Rule checked when requested rule is not found (string value) | ||
| 234 | #policy_default_rule=default | ||
| 235 | |||
| 236 | |||
| 237 | # | ||
| 238 | # Options defined in cinder.quota | ||
| 239 | # | ||
| 240 | |||
| 241 | # number of volumes allowed per project (integer value) | ||
| 242 | #quota_volumes=10 | ||
| 243 | |||
| 244 | # number of volume snapshots allowed per project (integer value) | ||
| 245 | #quota_snapshots=10 | ||
| 246 | |||
| 247 | # number of volume and snapshot gigabytes allowed per project (integer | ||
| 248 | # value) | ||
| 249 | #quota_gigabytes=1000 | ||
| 250 | |||
| 251 | # number of seconds until a reservation expires (integer | ||
| 252 | # value) | ||
| 253 | #reservation_expire=86400 | ||
| 254 | |||
| 255 | # count of reservations until usage is refreshed (integer | ||
| 256 | # value) | ||
| 257 | #until_refresh=0 | ||
| 258 | |||
| 259 | # number of seconds between subsequent usage refreshes | ||
| 260 | # (integer value) | ||
| 261 | #max_age=0 | ||
| 262 | |||
| 263 | # default driver to use for quota checks (string value) | ||
| 264 | #quota_driver=cinder.quota.DbQuotaDriver | ||
| 265 | |||
| 266 | |||
| 267 | # | ||
| 268 | # Options defined in cinder.service | ||
| 269 | # | ||
| 270 | |||
| 271 | # seconds between nodes reporting state to datastore (integer | ||
| 272 | # value) | ||
| 273 | #report_interval=10 | ||
| 274 | |||
| 275 | # seconds between running periodic tasks (integer value) | ||
| 276 | #periodic_interval=60 | ||
| 277 | |||
| 278 | # range of seconds to randomly delay when starting the | ||
| 279 | # periodic task scheduler to reduce stampeding. (Disable by | ||
| 280 | # setting to 0) (integer value) | ||
| 281 | #periodic_fuzzy_delay=60 | ||
| 282 | |||
| 283 | # IP address for OpenStack Volume API to listen (string value) | ||
| 284 | #osapi_volume_listen=0.0.0.0 | ||
| 285 | |||
| 286 | # port for os volume api to listen (integer value) | ||
| 287 | #osapi_volume_listen_port=8776 | ||
| 288 | |||
| 289 | |||
| 290 | # | ||
| 291 | # Options defined in cinder.test | ||
| 292 | # | ||
| 293 | |||
| 294 | # File name of clean sqlite db (string value) | ||
| 295 | #sqlite_clean_db=clean.sqlite | ||
| 296 | |||
| 297 | # should we use everything for testing (boolean value) | ||
| 298 | #fake_tests=true | ||
| 299 | |||
| 300 | |||
| 301 | # | ||
| 302 | # Options defined in cinder.wsgi | ||
| 303 | # | ||
| 304 | |||
| 305 | # Number of backlog requests to configure the socket with | ||
| 306 | # (integer value) | ||
| 307 | #backlog=4096 | ||
| 308 | |||
| 309 | # Sets the value of TCP_KEEPIDLE in seconds for each server | ||
| 310 | # socket. Not supported on OS X. (integer value) | ||
| 311 | #tcp_keepidle=600 | ||
| 312 | |||
| 313 | # CA certificate file to use to verify connecting clients | ||
| 314 | # (string value) | ||
| 315 | #ssl_ca_file=<None> | ||
| 316 | |||
| 317 | # Certificate file to use when starting the server securely | ||
| 318 | # (string value) | ||
| 319 | #ssl_cert_file=<None> | ||
| 320 | |||
| 321 | # Private key file to use when starting the server securely | ||
| 322 | # (string value) | ||
| 323 | #ssl_key_file=<None> | ||
| 324 | |||
| 325 | |||
| 326 | # | ||
| 327 | # Options defined in cinder.api.middleware.auth | ||
| 328 | # | ||
| 329 | |||
| 330 | # Treat X-Forwarded-For as the canonical remote address. Only | ||
| 331 | # enable this if you have a sanitizing proxy. (boolean value) | ||
| 332 | #use_forwarded_for=false | ||
| 333 | |||
| 334 | |||
| 335 | # | ||
| 336 | # Options defined in cinder.api.middleware.sizelimit | ||
| 337 | # | ||
| 338 | |||
| 339 | # Max size for body of a request (integer value) | ||
| 340 | #osapi_max_request_body_size=114688 | ||
| 341 | |||
| 342 | |||
| 343 | # | ||
| 344 | # Options defined in cinder.common.deprecated | ||
| 345 | # | ||
| 346 | |||
| 347 | # make deprecations fatal (boolean value) | ||
| 348 | #fatal_deprecations=false | ||
| 349 | |||
| 350 | |||
| 351 | # | ||
| 352 | # Options defined in cinder.db.api | ||
| 353 | # | ||
| 354 | |||
| 355 | # The backend to use for db (string value) | ||
| 356 | #db_backend=sqlalchemy | ||
| 357 | |||
| 358 | # Services to be added to the available pool on create | ||
| 359 | # (boolean value) | ||
| 360 | #enable_new_services=true | ||
| 361 | |||
| 362 | # Template string to be used to generate volume names (string | ||
| 363 | # value) | ||
| 364 | #volume_name_template=volume-%s | ||
| 365 | |||
| 366 | # Template string to be used to generate snapshot names | ||
| 367 | # (string value) | ||
| 368 | #snapshot_name_template=snapshot-%s | ||
| 369 | |||
| 370 | # Template string to be used to generate backup names (string | ||
| 371 | # value) | ||
| 372 | #backup_name_template=backup-%s | ||
| 373 | |||
| 374 | # | ||
| 375 | # Options defined in cinder.db.base | ||
| 376 | # | ||
| 377 | |||
| 378 | # driver to use for database access (string value) | ||
| 379 | #db_driver=cinder.db | ||
| 380 | |||
| 381 | |||
| 382 | # | ||
| 383 | # Options defined in cinder.image.image_utils | ||
| 384 | # | ||
| 385 | |||
| 386 | # parent dir for tempdir used for image conversion (string | ||
| 387 | # value) | ||
| 388 | #image_conversion_dir=/tmp | ||
| 389 | |||
| 390 | |||
| 391 | # | ||
| 392 | # Options defined in cinder.openstack.common.lockutils | ||
| 393 | # | ||
| 394 | |||
| 395 | # Whether to disable inter-process locks (boolean value) | ||
| 396 | #disable_process_locking=false | ||
| 397 | |||
| 398 | # Directory to use for lock files (string value) | ||
| 399 | #lock_path=<None> | ||
| 400 | |||
| 401 | |||
| 402 | # | ||
| 403 | # Options defined in cinder.openstack.common.log | ||
| 404 | # | ||
| 405 | |||
| 406 | # Log output to a per-service log file in named directory | ||
| 407 | # (string value) | ||
| 408 | #logdir=<None> | ||
| 409 | |||
| 410 | # Log output to a named file (string value) | ||
| 411 | #logfile=<None> | ||
| 412 | |||
| 413 | # Log output to standard error (boolean value) | ||
| 414 | #use_stderr=true | ||
| 415 | |||
| 416 | # Default file mode used when creating log files (string | ||
| 417 | # value) | ||
| 418 | #logfile_mode=0644 | ||
| 419 | |||
| 420 | # format string to use for log messages with context (string | ||
| 421 | # value) | ||
| 422 | #logging_context_format_string=%(asctime)s %(levelname)s %(name)s [%(request_id)s %(user_id)s %(project_id)s] %(instance)s%(message)s | ||
| 423 | |||
| 424 | # format string to use for log messages without context | ||
| 425 | # (string value) | ||
| 426 | #logging_default_format_string=%(asctime)s %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s | ||
| 427 | |||
| 428 | # data to append to log format when level is DEBUG (string | ||
| 429 | # value) | ||
| 430 | #logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d | ||
| 431 | |||
| 432 | # prefix each line of exception output with this format | ||
| 433 | # (string value) | ||
| 434 | #logging_exception_prefix=%(asctime)s %(process)d TRACE %(name)s %(instance)s | ||
| 435 | |||
| 436 | # list of logger=LEVEL pairs (list value) | ||
| 437 | #default_log_levels=amqplib=WARN,sqlalchemy=WARN,boto=WARN,suds=INFO,keystone=INFO,eventlet.wsgi.server=WARN | ||
| 438 | |||
| 439 | # publish error events (boolean value) | ||
| 440 | #publish_errors=false | ||
| 441 | |||
| 442 | # If an instance is passed with the log message, format it | ||
| 443 | # like this (string value) | ||
| 444 | #instance_format="[instance: %(uuid)s] " | ||
| 445 | |||
| 446 | # If an instance UUID is passed with the log message, format | ||
| 447 | # it like this (string value) | ||
| 448 | #instance_uuid_format="[instance: %(uuid)s] " | ||
| 449 | |||
| 450 | |||
| 451 | # | ||
| 452 | # Options defined in cinder.openstack.common.notifier.api | ||
| 453 | # | ||
| 454 | |||
| 455 | # Driver or drivers to handle sending notifications (multi | ||
| 456 | # valued) | ||
| 457 | |||
| 458 | # Default notification level for outgoing notifications | ||
| 459 | # (string value) | ||
| 460 | #default_notification_level=INFO | ||
| 461 | |||
| 462 | # Default publisher_id for outgoing notifications (string | ||
| 463 | # value) | ||
| 464 | #default_publisher_id=$host | ||
| 465 | |||
| 466 | |||
| 467 | # | ||
| 468 | # Options defined in cinder.openstack.common.notifier.rabbit_notifier | ||
| 469 | # | ||
| 470 | |||
| 471 | # AMQP topic used for openstack notifications (list value) | ||
| 472 | #notification_topics=notifications | ||
| 473 | |||
| 474 | |||
| 475 | # | ||
| 476 | # Options defined in cinder.openstack.common.rpc | ||
| 477 | # | ||
| 478 | |||
| 479 | # The messaging module to use, defaults to kombu. (string | ||
| 480 | # value) | ||
| 481 | #rpc_backend=cinder.openstack.common.rpc.impl_kombu | ||
| 482 | |||
| 483 | # Size of RPC thread pool (integer value) | ||
| 484 | #rpc_thread_pool_size=64 | ||
| 485 | |||
| 486 | # Size of RPC connection pool (integer value) | ||
| 487 | #rpc_conn_pool_size=30 | ||
| 488 | |||
| 489 | # Seconds to wait for a response from call or multicall | ||
| 490 | # (integer value) | ||
| 491 | #rpc_response_timeout=60 | ||
| 492 | |||
| 493 | # Seconds to wait before a cast expires (TTL). Only supported | ||
| 494 | # by impl_zmq. (integer value) | ||
| 495 | #rpc_cast_timeout=30 | ||
| 496 | |||
| 497 | # Modules of exceptions that are permitted to be recreatedupon | ||
| 498 | # receiving exception data from an rpc call. (list value) | ||
| 499 | #allowed_rpc_exception_modules=cinder.openstack.common.exception,nova.exception,cinder.exception | ||
| 500 | |||
| 501 | # If passed, use a fake RabbitMQ provider (boolean value) | ||
| 502 | #fake_rabbit=false | ||
| 503 | |||
| 504 | |||
| 505 | # | ||
| 506 | # Options defined in cinder.openstack.common.rpc.impl_kombu | ||
| 507 | # | ||
| 508 | |||
| 509 | # SSL version to use (valid only if SSL enabled) (string | ||
| 510 | # value) | ||
| 511 | #kombu_ssl_version= | ||
| 512 | |||
| 513 | # SSL key file (valid only if SSL enabled) (string value) | ||
| 514 | #kombu_ssl_keyfile= | ||
| 515 | |||
| 516 | # SSL cert file (valid only if SSL enabled) (string value) | ||
| 517 | #kombu_ssl_certfile= | ||
| 518 | |||
| 519 | # SSL certification authority file (valid only if SSL enabled) | ||
| 520 | # (string value) | ||
| 521 | #kombu_ssl_ca_certs= | ||
| 522 | |||
| 523 | # The RabbitMQ broker address where a single node is used | ||
| 524 | # (string value) | ||
| 525 | #rabbit_host=localhost | ||
| 526 | |||
| 527 | # The RabbitMQ broker port where a single node is used | ||
| 528 | # (integer value) | ||
| 529 | #rabbit_port=5672 | ||
| 530 | |||
| 531 | # RabbitMQ HA cluster host:port pairs (list value) | ||
| 532 | #rabbit_hosts=$rabbit_host:$rabbit_port | ||
| 533 | |||
| 534 | # connect over SSL for RabbitMQ (boolean value) | ||
| 535 | #rabbit_use_ssl=false | ||
| 536 | |||
| 537 | # the RabbitMQ userid (string value) | ||
| 538 | #rabbit_userid=guest | ||
| 539 | |||
| 540 | # the RabbitMQ password (string value) | ||
| 541 | #rabbit_password=guest | ||
| 542 | |||
| 543 | # the RabbitMQ virtual host (string value) | ||
| 544 | #rabbit_virtual_host=/ | ||
| 545 | |||
| 546 | # how frequently to retry connecting with RabbitMQ (integer | ||
| 547 | # value) | ||
| 548 | #rabbit_retry_interval=1 | ||
| 549 | |||
| 550 | # how long to backoff for between retries when connecting to | ||
| 551 | # RabbitMQ (integer value) | ||
| 552 | #rabbit_retry_backoff=2 | ||
| 553 | |||
| 554 | # maximum retries with trying to connect to RabbitMQ (the | ||
| 555 | # default of 0 implies an infinite retry count) (integer | ||
| 556 | # value) | ||
| 557 | #rabbit_max_retries=0 | ||
| 558 | |||
| 559 | # use durable queues in RabbitMQ (boolean value) | ||
| 560 | #rabbit_durable_queues=false | ||
| 561 | |||
| 562 | # use H/A queues in RabbitMQ (x-ha-policy: all).You need to | ||
| 563 | # wipe RabbitMQ database when changing this option. (boolean | ||
| 564 | # value) | ||
| 565 | #rabbit_ha_queues=false | ||
| 566 | |||
| 567 | |||
| 568 | # | ||
| 569 | # Options defined in cinder.openstack.common.rpc.impl_qpid | ||
| 570 | # | ||
| 571 | |||
| 572 | # Qpid broker hostname (string value) | ||
| 573 | #qpid_hostname=localhost | ||
| 574 | |||
| 575 | # Qpid broker port (string value) | ||
| 576 | #qpid_port=5672 | ||
| 577 | |||
| 578 | # Username for qpid connection (string value) | ||
| 579 | #qpid_username= | ||
| 580 | |||
| 581 | # Password for qpid connection (string value) | ||
| 582 | #qpid_password= | ||
| 583 | |||
| 584 | # Space separated list of SASL mechanisms to use for auth | ||
| 585 | # (string value) | ||
| 586 | #qpid_sasl_mechanisms= | ||
| 587 | |||
| 588 | # Automatically reconnect (boolean value) | ||
| 589 | #qpid_reconnect=true | ||
| 590 | |||
| 591 | # Reconnection timeout in seconds (integer value) | ||
| 592 | #qpid_reconnect_timeout=0 | ||
| 593 | |||
| 594 | # Max reconnections before giving up (integer value) | ||
| 595 | #qpid_reconnect_limit=0 | ||
| 596 | |||
| 597 | # Minimum seconds between reconnection attempts (integer | ||
| 598 | # value) | ||
| 599 | #qpid_reconnect_interval_min=0 | ||
| 600 | |||
| 601 | # Maximum seconds between reconnection attempts (integer | ||
| 602 | # value) | ||
| 603 | #qpid_reconnect_interval_max=0 | ||
| 604 | |||
| 605 | # Equivalent to setting max and min to the same value (integer | ||
| 606 | # value) | ||
| 607 | #qpid_reconnect_interval=0 | ||
| 608 | |||
| 609 | # Seconds between connection keepalive heartbeats (integer | ||
| 610 | # value) | ||
| 611 | #qpid_heartbeat=60 | ||
| 612 | |||
| 613 | # Transport to use, either 'tcp' or 'ssl' (string value) | ||
| 614 | #qpid_protocol=tcp | ||
| 615 | |||
| 616 | # Disable Nagle algorithm (boolean value) | ||
| 617 | #qpid_tcp_nodelay=true | ||
| 618 | |||
| 619 | |||
| 620 | # | ||
| 621 | # Options defined in cinder.openstack.common.rpc.impl_zmq | ||
| 622 | # | ||
| 623 | |||
| 624 | # ZeroMQ bind address. Should be a wildcard (*), an ethernet | ||
| 625 | # interface, or IP. The "host" option should point or resolve | ||
| 626 | # to this address. (string value) | ||
| 627 | #rpc_zmq_bind_address=* | ||
| 628 | |||
| 629 | # MatchMaker driver (string value) | ||
| 630 | #rpc_zmq_matchmaker=cinder.openstack.common.rpc.matchmaker.MatchMakerLocalhost | ||
| 631 | |||
| 632 | # ZeroMQ receiver listening port (integer value) | ||
| 633 | #rpc_zmq_port=9501 | ||
| 634 | |||
| 635 | # Number of ZeroMQ contexts, defaults to 1 (integer value) | ||
| 636 | #rpc_zmq_contexts=1 | ||
| 637 | |||
| 638 | # Directory for holding IPC sockets (string value) | ||
| 639 | #rpc_zmq_ipc_dir=/var/run/openstack | ||
| 640 | |||
| 641 | # Name of this node. Must be a valid hostname, FQDN, or IP | ||
| 642 | # address. Must match "host" option, if running Nova. (string | ||
| 643 | # value) | ||
| 644 | #rpc_zmq_host=cinder | ||
| 645 | |||
| 646 | |||
| 647 | # | ||
| 648 | # Options defined in cinder.openstack.common.rpc.matchmaker | ||
| 649 | # | ||
| 650 | |||
| 651 | # Matchmaker ring file (JSON) (string value) | ||
| 652 | #matchmaker_ringfile=/etc/nova/matchmaker_ring.json | ||
| 653 | |||
| 654 | |||
| 655 | # | ||
| 656 | # Options defined in cinder.scheduler.driver | ||
| 657 | # | ||
| 658 | |||
| 659 | # The scheduler host manager class to use (string value) | ||
| 660 | #scheduler_host_manager=cinder.scheduler.host_manager.HostManager | ||
| 661 | |||
| 662 | |||
| 663 | # | ||
| 664 | # Options defined in cinder.scheduler.host_manager | ||
| 665 | # | ||
| 666 | |||
| 667 | # Which filter class names to use for filtering hosts when not | ||
| 668 | # specified in the request. (list value) | ||
| 669 | #scheduler_default_filters=AvailabilityZoneFilter,CapacityFilter,CapabilitiesFilter | ||
| 670 | |||
| 671 | # Which weigher class names to use for weighing hosts. (list | ||
| 672 | # value) | ||
| 673 | #scheduler_default_weighers=CapacityWeigher | ||
| 674 | |||
| 675 | |||
| 676 | # | ||
| 677 | # Options defined in cinder.scheduler.manager | ||
| 678 | # | ||
| 679 | |||
| 680 | # Default scheduler driver to use (string value) | ||
| 681 | #scheduler_driver=cinder.scheduler.simple.SimpleScheduler | ||
| 682 | |||
| 683 | |||
| 684 | # | ||
| 685 | # Options defined in cinder.scheduler.scheduler_options | ||
| 686 | # | ||
| 687 | |||
| 688 | # Absolute path to scheduler configuration JSON file. (string | ||
| 689 | # value) | ||
| 690 | #scheduler_json_config_location= | ||
| 691 | |||
| 692 | |||
| 693 | # | ||
| 694 | # Options defined in cinder.scheduler.simple | ||
| 695 | # | ||
| 696 | |||
| 697 | # maximum number of volume gigabytes to allow per host | ||
| 698 | # (integer value) | ||
| 699 | #max_gigabytes=10000 | ||
| 700 | |||
| 701 | |||
| 702 | # | ||
| 703 | # Options defined in cinder.scheduler.weights.capacity | ||
| 704 | # | ||
| 705 | |||
| 706 | # Multiplier used for weighing volume capacity. Negative | ||
| 707 | # numbers mean to stack vs spread. (floating point value) | ||
| 708 | #capacity_weight_multiplier=1.0 | ||
| 709 | |||
| 710 | |||
| 711 | # | ||
| 712 | # Options defined in cinder.volume.api | ||
| 713 | # | ||
| 714 | |||
| 715 | # Create volume from snapshot at the host where snapshot | ||
| 716 | # resides (boolean value) | ||
| 717 | #snapshot_same_host=true | ||
| 718 | |||
| 719 | |||
| 720 | # | ||
| 721 | # Options defined in cinder.volume.driver | ||
| 722 | # | ||
| 723 | |||
| 724 | # number of times to attempt to run flakey shell commands | ||
| 725 | # (integer value) | ||
| 726 | #num_shell_tries=3 | ||
| 727 | |||
| 728 | # The percentage of backend capacity is reserved (integer | ||
| 729 | # value) | ||
| 730 | #reserved_percentage=0 | ||
| 731 | |||
| 732 | # number of times to rescan iSCSI target to find volume | ||
| 733 | # (integer value) | ||
| 734 | #num_iscsi_scan_tries=3 | ||
| 735 | |||
| 736 | # Number of iscsi target ids per host (integer value) | ||
| 737 | #iscsi_num_targets=100 | ||
| 738 | |||
| 739 | # prefix for iscsi volumes (string value) | ||
| 740 | #iscsi_target_prefix=iqn.2010-10.org.openstack: | ||
| 741 | |||
| 742 | # The port that the iSCSI daemon is listening on (string | ||
| 743 | # value) | ||
| 744 | #iscsi_ip_address=$my_ip | ||
| 745 | |||
| 746 | # The port that the iSCSI daemon is listening on (integer | ||
| 747 | # value) | ||
| 748 | #iscsi_port=3260 | ||
| 749 | |||
| 750 | # Optional override to the capacity based volume backend name | ||
| 751 | # | ||
| 752 | #volume_backend_name=LVM_iSCSI_unique1 | ||
| 753 | |||
| 754 | # | ||
| 755 | # Options defined in cinder.volume.drivers.glusterfs | ||
| 756 | # | ||
| 757 | |||
| 758 | # File with the list of available gluster shares (string | ||
| 759 | # value) | ||
| 760 | #glusterfs_shares_config=<None> | ||
| 761 | |||
| 762 | # Base dir where gluster expected to be mounted (string value) | ||
| 763 | #glusterfs_mount_point_base=$state_path/mnt | ||
| 764 | |||
| 765 | # Use du or df for free space calculation (string value) | ||
| 766 | #glusterfs_disk_util=df | ||
| 767 | |||
| 768 | # Create volumes as sparsed files which take no space.If set | ||
| 769 | # to False volume is created as regular file.In such case | ||
| 770 | # volume creation takes a lot of time. (boolean value) | ||
| 771 | #glusterfs_sparsed_volumes=true | ||
| 772 | |||
| 773 | |||
| 774 | # | ||
| 775 | # Options defined in cinder.volume.drivers.lvm | ||
| 776 | # | ||
| 777 | |||
| 778 | # Name for the VG that will contain exported volumes (string | ||
| 779 | # value) | ||
| 780 | #volume_group=cinder-volumes | ||
| 781 | |||
| 782 | # Method used to wipe old volumes (valid options are: none, | ||
| 783 | # zero, shred) (string value) | ||
| 784 | #volume_clear=zero | ||
| 785 | |||
| 786 | # Size in MiB to wipe at start of old volumes. 0 => all | ||
| 787 | # (integer value) | ||
| 788 | #volume_clear_size=0 | ||
| 789 | |||
| 790 | # Size of thin provisioning pool (None uses entire cinder VG) | ||
| 791 | # (string value) | ||
| 792 | #pool_size=<None> | ||
| 793 | |||
| 794 | # If set, create lvms with multiple mirrors. Note that this | ||
| 795 | # requires lvm_mirrors + 2 pvs with available space (integer | ||
| 796 | # value) | ||
| 797 | #lvm_mirrors=0 | ||
| 798 | |||
| 799 | |||
| 800 | # | ||
| 801 | # Options defined in cinder.volume.drivers.netapp | ||
| 802 | # | ||
| 803 | |||
| 804 | # URL of the WSDL file for the DFM server (string value) | ||
| 805 | #netapp_wsdl_url=<None> | ||
| 806 | |||
| 807 | # User name for the DFM server (string value) | ||
| 808 | #netapp_login=<None> | ||
| 809 | |||
| 810 | # Password for the DFM server (string value) | ||
| 811 | #netapp_password=<None> | ||
| 812 | |||
| 813 | # Hostname for the DFM server (string value) | ||
| 814 | #netapp_server_hostname=<None> | ||
| 815 | |||
| 816 | # Port number for the DFM server (integer value) | ||
| 817 | #netapp_server_port=8088 | ||
| 818 | |||
| 819 | # Storage service to use for provisioning (when | ||
| 820 | # volume_type=None) (string value) | ||
| 821 | #netapp_storage_service=<None> | ||
| 822 | |||
| 823 | # Prefix of storage service name to use for provisioning | ||
| 824 | # (volume_type name will be appended) (string value) | ||
| 825 | #netapp_storage_service_prefix=<None> | ||
| 826 | |||
| 827 | # Vfiler to use for provisioning (string value) | ||
| 828 | #netapp_vfiler=<None> | ||
| 829 | |||
| 830 | |||
| 831 | # | ||
| 832 | # Options defined in cinder.volume.drivers.netapp_nfs | ||
| 833 | # | ||
| 834 | |||
| 835 | # Does snapshot creation call returns immediately (integer | ||
| 836 | # value) | ||
| 837 | #synchronous_snapshot_create=0 | ||
| 838 | |||
| 839 | # URL of the WSDL file for the DFM server (string value) | ||
| 840 | #netapp_wsdl_url=<None> | ||
| 841 | |||
| 842 | # User name for the DFM server (string value) | ||
| 843 | #netapp_login=<None> | ||
| 844 | |||
| 845 | # Password for the DFM server (string value) | ||
| 846 | #netapp_password=<None> | ||
| 847 | |||
| 848 | # Hostname for the DFM server (string value) | ||
| 849 | #netapp_server_hostname=<None> | ||
| 850 | |||
| 851 | # Port number for the DFM server (integer value) | ||
| 852 | #netapp_server_port=8088 | ||
| 853 | |||
| 854 | # Storage service to use for provisioning (when | ||
| 855 | # volume_type=None) (string value) | ||
| 856 | #netapp_storage_service=<None> | ||
| 857 | |||
| 858 | # Prefix of storage service name to use for provisioning | ||
| 859 | # (volume_type name will be appended) (string value) | ||
| 860 | #netapp_storage_service_prefix=<None> | ||
| 861 | |||
| 862 | # Vfiler to use for provisioning (string value) | ||
| 863 | #netapp_vfiler=<None> | ||
| 864 | |||
| 865 | |||
| 866 | # | ||
| 867 | # Options defined in cinder.volume.drivers.nexenta.volume | ||
| 868 | # | ||
| 869 | |||
| 870 | # IP address of Nexenta SA (string value) | ||
| 871 | #nexenta_host= | ||
| 872 | |||
| 873 | # HTTP port to connect to Nexenta REST API server (integer | ||
| 874 | # value) | ||
| 875 | #nexenta_rest_port=2000 | ||
| 876 | |||
| 877 | # Use http or https for REST connection (default auto) (string | ||
| 878 | # value) | ||
| 879 | #nexenta_rest_protocol=auto | ||
| 880 | |||
| 881 | # User name to connect to Nexenta SA (string value) | ||
| 882 | #nexenta_user=admin | ||
| 883 | |||
| 884 | # Password to connect to Nexenta SA (string value) | ||
| 885 | #nexenta_password=nexenta | ||
| 886 | |||
| 887 | # Nexenta target portal port (integer value) | ||
| 888 | #nexenta_iscsi_target_portal_port=3260 | ||
| 889 | |||
| 890 | # pool on SA that will hold all volumes (string value) | ||
| 891 | #nexenta_volume=cinder | ||
| 892 | |||
| 893 | # IQN prefix for iSCSI targets (string value) | ||
| 894 | #nexenta_target_prefix=iqn.1986-03.com.sun:02:cinder- | ||
| 895 | |||
| 896 | # prefix for iSCSI target groups on SA (string value) | ||
| 897 | #nexenta_target_group_prefix=cinder/ | ||
| 898 | |||
| 899 | # block size for volumes (blank=default,8KB) (string value) | ||
| 900 | #nexenta_blocksize= | ||
| 901 | |||
| 902 | # flag to create sparse volumes (boolean value) | ||
| 903 | #nexenta_sparse=false | ||
| 904 | |||
| 905 | |||
| 906 | # | ||
| 907 | # Options defined in cinder.volume.drivers.nfs | ||
| 908 | # | ||
| 909 | |||
| 910 | # File with the list of available nfs shares (string value) | ||
| 911 | #nfs_shares_config=<None> | ||
| 912 | |||
| 913 | # Base dir where nfs expected to be mounted (string value) | ||
| 914 | #nfs_mount_point_base=$state_path/mnt | ||
| 915 | |||
| 916 | # Use du or df for free space calculation (string value) | ||
| 917 | #nfs_disk_util=df | ||
| 918 | |||
| 919 | # Create volumes as sparsed files which take no space.If set | ||
| 920 | # to False volume is created as regular file.In such case | ||
| 921 | # volume creation takes a lot of time. (boolean value) | ||
| 922 | #nfs_sparsed_volumes=true | ||
| 923 | |||
| 924 | # Mount options passed to the nfs client (string value) | ||
| 925 | # The value set here is passed directly to the -o flag | ||
| 926 | # of the mount command. See the nfs man page for details. | ||
| 927 | #nfs_mount_options=None | ||
| 928 | |||
| 929 | |||
| 930 | # | ||
| 931 | # Options defined in cinder.volume.drivers.rbd | ||
| 932 | # | ||
| 933 | |||
| 934 | # the RADOS pool in which rbd volumes are stored (string | ||
| 935 | # value) | ||
| 936 | #rbd_pool=rbd | ||
| 937 | |||
| 938 | # the RADOS client name for accessing rbd volumes (string | ||
| 939 | # value) | ||
| 940 | #rbd_user=<None> | ||
| 941 | |||
| 942 | # the libvirt uuid of the secret for the rbd_uservolumes | ||
| 943 | # (string value) | ||
| 944 | #rbd_secret_uuid=<None> | ||
| 945 | |||
| 946 | # where to store temporary image files if the volume driver | ||
| 947 | # does not write them directly to the volume (string value) | ||
| 948 | #volume_tmp_dir=<None> | ||
| 949 | |||
| 950 | |||
| 951 | # | ||
| 952 | # Options defined in cinder.volume.drivers.san.san | ||
| 953 | # | ||
| 954 | |||
| 955 | # Use thin provisioning for SAN volumes? (boolean value) | ||
| 956 | #san_thin_provision=true | ||
| 957 | |||
| 958 | # IP address of SAN controller (string value) | ||
| 959 | #san_ip= | ||
| 960 | |||
| 961 | # Username for SAN controller (string value) | ||
| 962 | #san_login=admin | ||
| 963 | |||
| 964 | # Password for SAN controller (string value) | ||
| 965 | #san_password= | ||
| 966 | |||
| 967 | # Filename of private key to use for SSH authentication | ||
| 968 | # (string value) | ||
| 969 | #san_private_key= | ||
| 970 | |||
| 971 | # Cluster name to use for creating volumes (string value) | ||
| 972 | #san_clustername= | ||
| 973 | |||
| 974 | # SSH port to use with SAN (integer value) | ||
| 975 | #san_ssh_port=22 | ||
| 976 | |||
| 977 | # Execute commands locally instead of over SSH; use if the | ||
| 978 | # volume service is running on the SAN device (boolean value) | ||
| 979 | #san_is_local=false | ||
| 980 | |||
| 981 | # SSH connection timeout in seconds (integer value) | ||
| 982 | #ssh_conn_timeout=30 | ||
| 983 | |||
| 984 | # Minimum ssh connections in the pool (integer value) | ||
| 985 | #ssh_min_pool_conn=1 | ||
| 986 | |||
| 987 | # Maximum ssh connections in the pool (integer value) | ||
| 988 | #ssh_max_pool_conn=5 | ||
| 989 | |||
| 990 | |||
| 991 | # | ||
| 992 | # Options defined in cinder.volume.drivers.san.solaris | ||
| 993 | # | ||
| 994 | |||
| 995 | # The ZFS path under which to create zvols for volumes. | ||
| 996 | # (string value) | ||
| 997 | #san_zfs_volume_base=rpool/ | ||
| 998 | |||
| 999 | |||
| 1000 | # | ||
| 1001 | # Options defined in cinder.volume.drivers.scality | ||
| 1002 | # | ||
| 1003 | |||
| 1004 | # Path or URL to Scality SOFS configuration file (string | ||
| 1005 | # value) | ||
| 1006 | #scality_sofs_config=<None> | ||
| 1007 | |||
| 1008 | # Base dir where Scality SOFS shall be mounted (string value) | ||
| 1009 | #scality_sofs_mount_point=$state_path/scality | ||
| 1010 | |||
| 1011 | # Path from Scality SOFS root to volume dir (string value) | ||
| 1012 | #scality_sofs_volume_dir=cinder/volumes | ||
| 1013 | |||
| 1014 | |||
| 1015 | # | ||
| 1016 | # Options defined in cinder.volume.drivers.solidfire | ||
| 1017 | # | ||
| 1018 | |||
| 1019 | # Set 512 byte emulation on volume creation; (boolean value) | ||
| 1020 | #sf_emulate_512=true | ||
| 1021 | |||
| 1022 | # Allow tenants to specify QOS on create (boolean value) | ||
| 1023 | #sf_allow_tenant_qos=false | ||
| 1024 | |||
| 1025 | |||
| 1026 | # | ||
| 1027 | # Options defined in cinder.volume.drivers.storwize_svc | ||
| 1028 | # | ||
| 1029 | |||
| 1030 | # Storage system storage pool for volumes (string value) | ||
| 1031 | #storwize_svc_volpool_name=volpool | ||
| 1032 | |||
| 1033 | # Storage system space-efficiency parameter for volumes | ||
| 1034 | # (string value) | ||
| 1035 | #storwize_svc_vol_rsize=2% | ||
| 1036 | |||
| 1037 | # Storage system threshold for volume capacity warnings | ||
| 1038 | # (string value) | ||
| 1039 | #storwize_svc_vol_warning=0 | ||
| 1040 | |||
| 1041 | # Storage system autoexpand parameter for volumes (True/False) | ||
| 1042 | # (boolean value) | ||
| 1043 | #storwize_svc_vol_autoexpand=true | ||
| 1044 | |||
| 1045 | # Storage system grain size parameter for volumes | ||
| 1046 | # (32/64/128/256) (string value) | ||
| 1047 | #storwize_svc_vol_grainsize=256 | ||
| 1048 | |||
| 1049 | # Storage system compression option for volumes (boolean | ||
| 1050 | # value) | ||
| 1051 | #storwize_svc_vol_compression=false | ||
| 1052 | |||
| 1053 | # Enable Easy Tier for volumes (boolean value) | ||
| 1054 | #storwize_svc_vol_easytier=true | ||
| 1055 | |||
| 1056 | # Maximum number of seconds to wait for FlashCopy to be | ||
| 1057 | # prepared. Maximum value is 600 seconds (10 minutes). (string | ||
| 1058 | # value) | ||
| 1059 | #storwize_svc_flashcopy_timeout=120 | ||
| 1060 | |||
| 1061 | |||
| 1062 | # | ||
| 1063 | # Options defined in cinder.volume.drivers.windows | ||
| 1064 | # | ||
| 1065 | |||
| 1066 | # Path to store VHD backed volumes (string value) | ||
| 1067 | #windows_iscsi_lun_path=C:\iSCSIVirtualDisks | ||
| 1068 | |||
| 1069 | |||
| 1070 | # | ||
| 1071 | # Options defined in cinder.volume.drivers.xenapi.sm | ||
| 1072 | # | ||
| 1073 | |||
| 1074 | # NFS server to be used by XenAPINFSDriver (string value) | ||
| 1075 | #xenapi_nfs_server=<None> | ||
| 1076 | |||
| 1077 | # Path of exported NFS, used by XenAPINFSDriver (string value) | ||
| 1078 | #xenapi_nfs_serverpath=<None> | ||
| 1079 | |||
| 1080 | # URL for XenAPI connection (string value) | ||
| 1081 | #xenapi_connection_url=<None> | ||
| 1082 | |||
| 1083 | # Username for XenAPI connection (string value) | ||
| 1084 | #xenapi_connection_username=root | ||
| 1085 | |||
| 1086 | # Password for XenAPI connection (string value) | ||
| 1087 | #xenapi_connection_password=<None> | ||
| 1088 | |||
| 1089 | |||
| 1090 | # | ||
| 1091 | # Options defined in cinder.volume.drivers.xiv | ||
| 1092 | # | ||
| 1093 | |||
| 1094 | # Proxy driver (string value) | ||
| 1095 | #xiv_proxy=xiv_openstack.nova_proxy.XIVNovaProxy | ||
| 1096 | |||
| 1097 | |||
| 1098 | # | ||
| 1099 | # Options defined in cinder.volume.drivers.zadara | ||
| 1100 | # | ||
| 1101 | |||
| 1102 | # Management IP of Zadara VPSA (string value) | ||
| 1103 | #zadara_vpsa_ip=<None> | ||
| 1104 | |||
| 1105 | # Zadara VPSA port number (string value) | ||
| 1106 | #zadara_vpsa_port=<None> | ||
| 1107 | |||
| 1108 | # Use SSL connection (boolean value) | ||
| 1109 | #zadara_vpsa_use_ssl=false | ||
| 1110 | |||
| 1111 | # User name for the VPSA (string value) | ||
| 1112 | #zadara_user=<None> | ||
| 1113 | |||
| 1114 | # Password for the VPSA (string value) | ||
| 1115 | #zadara_password=<None> | ||
| 1116 | |||
| 1117 | # Name of VPSA storage pool for volumes (string value) | ||
| 1118 | #zadara_vpsa_poolname=<None> | ||
| 1119 | |||
| 1120 | # Default cache policy for volumes (string value) | ||
| 1121 | #zadara_default_cache_policy=write-through | ||
| 1122 | |||
| 1123 | # Default encryption policy for volumes (string value) | ||
| 1124 | #zadara_default_encryption=NO | ||
| 1125 | |||
| 1126 | # Default striping mode for volumes (string value) | ||
| 1127 | #zadara_default_striping_mode=simple | ||
| 1128 | |||
| 1129 | # Default stripe size for volumes (string value) | ||
| 1130 | #zadara_default_stripesize=64 | ||
| 1131 | |||
| 1132 | # Default template for VPSA volume names (string value) | ||
| 1133 | #zadara_vol_name_template=OS_%s | ||
| 1134 | |||
| 1135 | # Automatically detach from servers on volume delete (boolean | ||
| 1136 | # value) | ||
| 1137 | #zadara_vpsa_auto_detach_on_delete=true | ||
| 1138 | |||
| 1139 | # Don't halt on deletion of non-existing volumes (boolean | ||
| 1140 | # value) | ||
| 1141 | #zadara_vpsa_allow_nonexistent_delete=true | ||
| 1142 | |||
| 1143 | |||
| 1144 | # | ||
| 1145 | # Options defined in cinder.volume.iscsi | ||
| 1146 | # | ||
| 1147 | |||
| 1148 | # iscsi target user-land tool to use (string value) | ||
| 1149 | #iscsi_helper=tgtadm | ||
| 1150 | |||
| 1151 | # Volume configuration file storage directory (string value) | ||
| 1152 | #volumes_dir=$state_path/volumes | ||
| 1153 | |||
| 1154 | # IET configuration file (string value) | ||
| 1155 | #iet_conf=/etc/iet/ietd.conf | ||
| 1156 | |||
| 1157 | # Comma-separatd list of initiator IQNs allowed to connect to | ||
| 1158 | # the iSCSI target. (From Nova compute nodes.) (string value) | ||
| 1159 | #lio_initiator_iqns= | ||
| 1160 | |||
| 1161 | |||
| 1162 | # | ||
| 1163 | # Options defined in cinder.volume.manager | ||
| 1164 | # | ||
| 1165 | |||
| 1166 | # Driver to use for volume creation (string value) | ||
| 1167 | #volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver | ||
| 1168 | |||
| 1169 | |||
| 1170 | # | ||
| 1171 | # Multi backend options | ||
| 1172 | # | ||
| 1173 | |||
| 1174 | # Define the names of the groups for multiple volume backends | ||
| 1175 | #enabled_backends=fakedriver,lvmdriver | ||
| 1176 | |||
| 1177 | # Define the groups as above | ||
| 1178 | #[lvmdriver] | ||
| 1179 | #volume_group=lvm-group-1 | ||
| 1180 | #volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver | ||
| 1181 | #volume_backend_name=LVM_iSCSI_unique1 | ||
| 1182 | #[fakedriver] | ||
| 1183 | #volume_driver=cinder.volume.driver.FakeISCSIDriver | ||
| 1184 | |||
| 1185 | |||
| 1186 | # Total option count: 255 | ||
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder.init b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init new file mode 100644 index 0000000..7ae3dbf --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder.init | |||
| @@ -0,0 +1,74 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | ### BEGIN INIT INFO | ||
| 4 | # Provides: cinder-api | ||
| 5 | # Required-Start: $remote_fs $syslog | ||
| 6 | # Required-Stop: $remote_fs $syslog | ||
| 7 | # Should-Start: postgresql rabbitmq-server | ||
| 8 | # Should-Stop: postgresql rabbitmq-server | ||
| 9 | # Default-Start: 3 5 | ||
| 10 | # Default-Stop: 0 1 2 6 | ||
| 11 | # Short-Description: OpenStack Block Storage (Cinder) - API | ||
| 12 | # Description: OpenStack Block Storage (Cinder) - API | ||
| 13 | ### END INIT INFO | ||
| 14 | |||
| 15 | SUFFIX=@suffix@ | ||
| 16 | DESC="cinder-$SUFFIX" | ||
| 17 | DAEMON="/usr/bin/cinder-$SUFFIX" | ||
| 18 | PIDFILE="/var/run/cinder-$SUFFIX.pid" | ||
| 19 | |||
| 20 | start() | ||
| 21 | { | ||
| 22 | if [ -e $PIDFILE ]; then | ||
| 23 | PIDDIR=/proc/$(cat $PIDFILE) | ||
| 24 | if [ -d ${PIDDIR} ]; then | ||
| 25 | echo "$DESC already running." | ||
| 26 | exit 1 | ||
| 27 | else | ||
| 28 | echo "Removing stale PID file $PIDFILE" | ||
| 29 | rm -f $PIDFILE | ||
| 30 | fi | ||
| 31 | fi | ||
| 32 | |||
| 33 | echo -n "Starting $DESC..." | ||
| 34 | |||
| 35 | start-stop-daemon --start --quiet --background \ | ||
| 36 | --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} | ||
| 37 | |||
| 38 | if [ $? -eq 0 ]; then | ||
| 39 | echo "done." | ||
| 40 | else | ||
| 41 | echo "failed." | ||
| 42 | fi | ||
| 43 | } | ||
| 44 | |||
| 45 | stop() | ||
| 46 | { | ||
| 47 | echo -n "Stopping $DESC..." | ||
| 48 | start-stop-daemon --stop --quiet --pidfile $PIDFILE | ||
| 49 | if [ $? -eq 0 ]; then | ||
| 50 | echo "done." | ||
| 51 | else | ||
| 52 | echo "failed." | ||
| 53 | fi | ||
| 54 | rm -f $PIDFILE | ||
| 55 | } | ||
| 56 | |||
| 57 | case "$1" in | ||
| 58 | start) | ||
| 59 | start | ||
| 60 | ;; | ||
| 61 | stop) | ||
| 62 | stop | ||
| 63 | ;; | ||
| 64 | restart|force-reload) | ||
| 65 | stop | ||
| 66 | start | ||
| 67 | ;; | ||
| 68 | *) | ||
| 69 | echo "Usage: $0 {start|stop|force-reload|restart}" | ||
| 70 | exit 1 | ||
| 71 | ;; | ||
| 72 | esac | ||
| 73 | |||
| 74 | exit 0 | ||
