~ubuntu-branches/ubuntu/quantal/cinder/quantal-proposed

« back to all changes in this revision

Viewing changes to etc/cinder/cinder.conf.sample

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Chuck Short
  • Date: 2012-09-18 14:24:45 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120918142445-6hig7h461n8t5lyd
Tags: 2012.2~rc1-0ubuntu1
[ Adam Gandelman ]
* debian/control: Add lvm2 + tgt as a Dependency of cinder-volume.
* debian/cinder-volume.{dirs, postinst}:
      - Create /var/lib/cinder/volumes (LP: #1047059)
      - chmod 0600, not chown.
* debain/cinder-scheduler.postinst: Drop.
* debian/cinder.conf: Fix defaults.
* debian/*.upstart: Specify --log-file.
* debian/*.logrotate: Update.
* Only rootwrap filters with the packages that need them (cinder-volume).
* Ensure /etc/cinder/rootwrap.d/ is only writable by root, ensure
  those permissions on /etc/cinder/rootwrap.conf and individual filter
  configurations.

[ Chuck Short ]
* New upstream version.
* debian/control: Add python-ceph as a suggests

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
#### (IntOpt) the maximum number of items returned in a single response
110
110
####          from a collection resource
111
111
 
112
 
# null_kernel=nokernel
113
 
#### (StrOpt) kernel image that indicates not to use a kernel, but to use
114
 
####          a raw disk image instead
115
 
 
116
112
# sqlite_db=cinder.sqlite
117
113
#### (StrOpt) the filename to use with sqlite
118
114
 
175
171
#### (StrOpt) The strategy to use for auth. Supports noauth, keystone, and
176
172
####          deprecated.
177
173
 
 
174
# control_exchange=cinder
 
175
#### (StrOpt) AMQP exchange to connect to if using RabbitMQ or Qpid
 
176
 
178
177
 
179
178
######## defined in cinder.policy ########
180
179
 
226
225
#### (IntOpt) port for os volume api to listen
227
226
 
228
227
 
 
228
######## defined in cinder.test ########
 
229
 
 
230
# sqlite_clean_db=clean.sqlite
 
231
#### (StrOpt) File name of clean sqlite db
 
232
 
 
233
# fake_tests=true
 
234
#### (BoolOpt) should we use everything for testing
 
235
 
 
236
 
229
237
######## defined in cinder.api.auth ########
230
238
 
231
239
# use_forwarded_for=false
236
244
######## defined in cinder.api.sizelimit ########
237
245
 
238
246
# osapi_max_request_body_size=114688
239
 
#### (IntOpt) 
 
247
#### (IntOpt) Max size for body of a request
240
248
 
241
249
 
242
250
######## defined in cinder.common.deprecated ########
283
291
# logging_context_format_string=%(asctime)s %(levelname)s %(name)s [%(request_id)s %(user_id)s %(project_id)s] %(instance)s%(message)s
284
292
#### (StrOpt) format string to use for log messages with context
285
293
 
286
 
# logging_default_format_string=%(asctime)s %(levelname)s %(name)s [-] %(instance)s%(message)s
 
294
# logging_default_format_string=%(asctime)s %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
287
295
#### (StrOpt) format string to use for log messages without context
288
296
 
289
 
# logging_debug_format_suffix=from (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d
 
297
# logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d
290
298
#### (StrOpt) data to append to log format when level is DEBUG
291
299
 
292
 
# logging_exception_prefix=%(asctime)s TRACE %(name)s %(instance)s
 
300
# logging_exception_prefix=%(asctime)s %(process)d TRACE %(name)s %(instance)s
293
301
#### (StrOpt) prefix each line of exception output with this format
294
302
 
295
303
# default_log_levels=amqplib=WARN,sqlalchemy=WARN,boto=WARN,suds=INFO,keystone=INFO,eventlet.wsgi.server=WARN
343
351
#### (IntOpt) Seconds to wait before a cast expires (TTL). Only supported
344
352
####          by impl_zmq.
345
353
 
346
 
# allowed_rpc_exception_modules=cinder.openstack.common.exception,nova.exception
 
354
# allowed_rpc_exception_modules=cinder.openstack.common.exception,nova.exception,cinder.exception
347
355
#### (ListOpt) Modules of exceptions that are permitted to be recreatedupon
348
356
####           receiving exception data from an rpc call.
349
357
 
350
 
# control_exchange=nova
351
 
#### (StrOpt) AMQP exchange to connect to if using RabbitMQ or Qpid
352
 
 
353
358
# fake_rabbit=false
354
359
#### (BoolOpt) If passed, use a fake RabbitMQ provider
355
360
 
494
499
#### (IntOpt) maximum number of volume gigabytes to allow per host
495
500
 
496
501
 
497
 
# Total option count: 131
 
502
######## defined in cinder.volume.api ########
 
503
 
 
504
# snapshot_same_host=true
 
505
#### (BoolOpt) Create volume from snapshot at the host where snapshot
 
506
####           resides
 
507
 
 
508
 
 
509
######## defined in cinder.volume.driver ########
 
510
 
 
511
# volume_group=cinder-volumes
 
512
#### (StrOpt) Name for the VG that will contain exported volumes
 
513
 
 
514
# num_shell_tries=3
 
515
#### (IntOpt) number of times to attempt to run flakey shell commands
 
516
 
 
517
# num_iscsi_scan_tries=3
 
518
#### (IntOpt) number of times to rescan iSCSI target to find volume
 
519
 
 
520
# iscsi_num_targets=100
 
521
#### (IntOpt) Number of iscsi target ids per host
 
522
 
 
523
# iscsi_target_prefix=iqn.2010-10.org.openstack:
 
524
#### (StrOpt) prefix for iscsi volumes
 
525
 
 
526
# iscsi_ip_address=$my_ip
 
527
#### (StrOpt) use this ip for iscsi
 
528
 
 
529
# iscsi_port=3260
 
530
#### (IntOpt) The port that the iSCSI daemon is listening on
 
531
 
 
532
# rbd_pool=rbd
 
533
#### (StrOpt) the RADOS pool in which rbd volumes are stored
 
534
 
 
535
# rbd_user=<None>
 
536
#### (StrOpt) the RADOS client name for accessing rbd volumes
 
537
 
 
538
# rbd_secret_uuid=<None>
 
539
#### (StrOpt) the libvirt uuid of the secret for the rbd_uservolumes
 
540
 
 
541
# volume_tmp_dir=<None>
 
542
#### (StrOpt) where to store temporary image files if the volume driver
 
543
####          does not write them directly to the volume
 
544
 
 
545
 
 
546
######## defined in cinder.volume.iscsi ########
 
547
 
 
548
# iscsi_helper=tgtadm
 
549
#### (StrOpt) iscsi target user-land tool to use
 
550
 
 
551
# volumes_dir=$state_path/volumes
 
552
#### (StrOpt) Volume configfuration file storage directory
 
553
 
 
554
 
 
555
######## defined in cinder.volume.manager ########
 
556
 
 
557
# volume_driver=cinder.volume.driver.ISCSIDriver
 
558
#### (StrOpt) Driver to use for volume creation
 
559
 
 
560
# use_local_volumes=true
 
561
#### (BoolOpt) if True, will not discover local volumes
 
562
 
 
563
# volume_force_update_capabilities=false
 
564
#### (BoolOpt) if True will force update capabilities on each check
 
565
 
 
566
 
 
567
######## defined in cinder.volume.netapp ########
 
568
 
 
569
# netapp_wsdl_url=<None>
 
570
#### (StrOpt) URL of the WSDL file for the DFM server
 
571
 
 
572
# netapp_login=<None>
 
573
#### (StrOpt) User name for the DFM server
 
574
 
 
575
# netapp_password=<None>
 
576
#### (StrOpt) Password for the DFM server
 
577
 
 
578
# netapp_server_hostname=<None>
 
579
#### (StrOpt) Hostname for the DFM server
 
580
 
 
581
# netapp_server_port=8088
 
582
#### (IntOpt) Port number for the DFM server
 
583
 
 
584
# netapp_storage_service=<None>
 
585
#### (StrOpt) Storage service to use for provisioning (when
 
586
####          volume_type=None)
 
587
 
 
588
# netapp_storage_service_prefix=<None>
 
589
#### (StrOpt) Prefix of storage service name to use for provisioning
 
590
####          (volume_type name will be appended)
 
591
 
 
592
# netapp_vfiler=<None>
 
593
#### (StrOpt) Vfiler to use for provisioning
 
594
 
 
595
 
 
596
######## defined in cinder.volume.netapp_nfs ########
 
597
 
 
598
# synchronous_snapshot_create=0
 
599
#### (IntOpt) Does snapshot creation call returns immediately
 
600
 
 
601
# netapp_wsdl_url=<None>
 
602
#### (StrOpt) URL of the WSDL file for the DFM server
 
603
 
 
604
# netapp_login=<None>
 
605
#### (StrOpt) User name for the DFM server
 
606
 
 
607
# netapp_password=<None>
 
608
#### (StrOpt) Password for the DFM server
 
609
 
 
610
# netapp_server_hostname=<None>
 
611
#### (StrOpt) Hostname for the DFM server
 
612
 
 
613
# netapp_server_port=8088
 
614
#### (IntOpt) Port number for the DFM server
 
615
 
 
616
# netapp_storage_service=<None>
 
617
#### (StrOpt) Storage service to use for provisioning (when
 
618
####          volume_type=None)
 
619
 
 
620
# netapp_storage_service_prefix=<None>
 
621
#### (StrOpt) Prefix of storage service name to use for provisioning
 
622
####          (volume_type name will be appended)
 
623
 
 
624
# netapp_vfiler=<None>
 
625
#### (StrOpt) Vfiler to use for provisioning
 
626
 
 
627
 
 
628
######## defined in cinder.volume.nexenta.volume ########
 
629
 
 
630
# nexenta_host=
 
631
#### (StrOpt) IP address of Nexenta SA
 
632
 
 
633
# nexenta_rest_port=2000
 
634
#### (IntOpt) HTTP port to connect to Nexenta REST API server
 
635
 
 
636
# nexenta_rest_protocol=auto
 
637
#### (StrOpt) Use http or https for REST connection (default auto)
 
638
 
 
639
# nexenta_user=admin
 
640
#### (StrOpt) User name to connect to Nexenta SA
 
641
 
 
642
# nexenta_password=nexenta
 
643
#### (StrOpt) Password to connect to Nexenta SA
 
644
 
 
645
# nexenta_iscsi_target_portal_port=3260
 
646
#### (IntOpt) Nexenta target portal port
 
647
 
 
648
# nexenta_volume=cinder
 
649
#### (StrOpt) pool on SA that will hold all volumes
 
650
 
 
651
# nexenta_target_prefix=iqn.1986-03.com.sun:02:cinder-
 
652
#### (StrOpt) IQN prefix for iSCSI targets
 
653
 
 
654
# nexenta_target_group_prefix=cinder/
 
655
#### (StrOpt) prefix for iSCSI target groups on SA
 
656
 
 
657
# nexenta_blocksize=
 
658
#### (StrOpt) block size for volumes (blank=default,8KB)
 
659
 
 
660
# nexenta_sparse=false
 
661
#### (BoolOpt) flag to create sparse volumes
 
662
 
 
663
 
 
664
######## defined in cinder.volume.nfs ########
 
665
 
 
666
# nfs_shares_config=<None>
 
667
#### (StrOpt) File with the list of available nfs shares
 
668
 
 
669
# nfs_mount_point_base=$state_path/mnt
 
670
#### (StrOpt) Base dir where nfs expected to be mounted
 
671
 
 
672
# nfs_disk_util=df
 
673
#### (StrOpt) Use du or df for free space calculation
 
674
 
 
675
# nfs_sparsed_volumes=true
 
676
#### (BoolOpt) Create volumes as sparsed files which take no space.If set
 
677
####           to False volume is created as regular file.In such case
 
678
####           volume creation takes a lot of time.
 
679
 
 
680
 
 
681
######## defined in cinder.volume.san ########
 
682
 
 
683
# san_thin_provision=true
 
684
#### (BoolOpt) Use thin provisioning for SAN volumes?
 
685
 
 
686
# san_ip=
 
687
#### (StrOpt) IP address of SAN controller
 
688
 
 
689
# san_login=admin
 
690
#### (StrOpt) Username for SAN controller
 
691
 
 
692
# san_password=
 
693
#### (StrOpt) Password for SAN controller
 
694
 
 
695
# san_private_key=
 
696
#### (StrOpt) Filename of private key to use for SSH authentication
 
697
 
 
698
# san_clustername=
 
699
#### (StrOpt) Cluster name to use for creating volumes
 
700
 
 
701
# san_ssh_port=22
 
702
#### (IntOpt) SSH port to use with SAN
 
703
 
 
704
# san_is_local=false
 
705
#### (BoolOpt) Execute commands locally instead of over SSH; use if the
 
706
####           volume service is running on the SAN device
 
707
 
 
708
# san_zfs_volume_base=rpool/
 
709
#### (StrOpt) The ZFS path under which to create zvols for volumes.
 
710
 
 
711
 
 
712
######## defined in cinder.volume.solidfire ########
 
713
 
 
714
# sf_emulate_512=true
 
715
#### (BoolOpt) Set 512 byte emulation on volume creation;
 
716
 
 
717
# sf_mvip=
 
718
#### (StrOpt) IP address of SolidFire MVIP
 
719
 
 
720
# sf_login=admin
 
721
#### (StrOpt) Username for SF Cluster Admin
 
722
 
 
723
# sf_password=
 
724
#### (StrOpt) Password for SF Cluster Admin
 
725
 
 
726
# sf_allow_tenant_qos=true
 
727
#### (BoolOpt) Allow tenants to specify QOS on create
 
728
 
 
729
 
 
730
######## defined in cinder.volume.storwize_svc ########
 
731
 
 
732
# storwize_svc_volpool_name=volpool
 
733
#### (StrOpt) Storage system storage pool for volumes
 
734
 
 
735
# storwize_svc_vol_rsize=2%
 
736
#### (StrOpt) Storage system space-efficiency parameter for volumes
 
737
 
 
738
# storwize_svc_vol_warning=0
 
739
#### (StrOpt) Storage system threshold for volume capacity warnings
 
740
 
 
741
# storwize_svc_vol_autoexpand=true
 
742
#### (BoolOpt) Storage system autoexpand parameter for volumes (True/False)
 
743
 
 
744
# storwize_svc_vol_grainsize=256
 
745
#### (StrOpt) Storage system grain size parameter for volumes
 
746
####          (32/64/128/256)
 
747
 
 
748
# storwize_svc_vol_compression=false
 
749
#### (BoolOpt) Storage system compression option for volumes
 
750
 
 
751
# storwize_svc_vol_easytier=true
 
752
#### (BoolOpt) Enable Easy Tier for volumes
 
753
 
 
754
# storwize_svc_flashcopy_timeout=120
 
755
#### (StrOpt) Maximum number of seconds to wait for FlashCopy to
 
756
####          beprepared. Maximum value is 600 seconds (10 minutes).
 
757
 
 
758
 
 
759
######## defined in cinder.volume.xiv ########
 
760
 
 
761
# xiv_proxy=xiv_openstack.nova_proxy.XIVNovaProxy
 
762
#### (StrOpt) Proxy driver
 
763
 
 
764
 
 
765
######## defined in cinder.volume.zadara ########
 
766
 
 
767
# zadara_vpsa_ip=<None>
 
768
#### (StrOpt) Management IP of Zadara VPSA
 
769
 
 
770
# zadara_vpsa_port=<None>
 
771
#### (StrOpt) Zadara VPSA port number
 
772
 
 
773
# zadara_vpsa_use_ssl=false
 
774
#### (BoolOpt) Use SSL connection
 
775
 
 
776
# zadara_user=<None>
 
777
#### (StrOpt) User name for the VPSA
 
778
 
 
779
# zadara_password=<None>
 
780
#### (StrOpt) Password for the VPSA
 
781
 
 
782
# zadara_vpsa_poolname=<None>
 
783
#### (StrOpt) Name of VPSA storage pool for volumes
 
784
 
 
785
# zadara_default_cache_policy=write-through
 
786
#### (StrOpt) Default cache policy for volumes
 
787
 
 
788
# zadara_default_encryption=NO
 
789
#### (StrOpt) Default encryption policy for volumes
 
790
 
 
791
# zadara_default_striping_mode=simple
 
792
#### (StrOpt) Default striping mode for volumes
 
793
 
 
794
# zadara_default_stripesize=64
 
795
#### (StrOpt) Default stripe size for volumes
 
796
 
 
797
# zadara_vol_name_template=OS_%s
 
798
#### (StrOpt) Default template for VPSA volume names
 
799
 
 
800
# zadara_vpsa_auto_detach_on_delete=true
 
801
#### (BoolOpt) Automatically detach from servers on volume delete
 
802
 
 
803
# zadara_vpsa_allow_nonexistent_delete=true
 
804
#### (BoolOpt) Don't halt on deletion of non-existing volumes
 
805
 
 
806
 
 
807
# Total option count: 217