Advertisement
Guest User

Untitled

a guest
Feb 4th, 2014
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. # Sample ``local.conf`` for user-configurable variables in ``stack.sh``
  2.  
  3. # NOTE: Copy this file to the root ``devstack`` directory for it to
  4. # work properly.
  5.  
  6. # ``local.conf`` is a user-maintained setings file that is sourced from ``stackrc``.
  7. # This gives it the ability to override any variables set in ``stackrc``.
  8. # Also, most of the settings in ``stack.sh`` are written to only be set if no
  9. # value has already been set; this lets ``local.conf`` effectively override the
  10. # default values.
  11.  
  12. # This is a collection of some of the settings we have found to be useful
  13. # in our DevStack development environments. Additional settings are described
  14. # in http://devstack.org/local.conf.html
  15. # These should be considered as samples and are unsupported DevStack code.
  16.  
  17. # The ``localrc`` section replaces the old ``localrc`` configuration file.
  18. # Note that if ``localrc`` is present it will be used in favor of this section.
  19. [[local|localrc]]
  20.  
  21. # Minimal Contents
  22. # ----------------
  23.  
  24. # While ``stack.sh`` is happy to run without ``localrc``, devlife is better when
  25. # there are a few minimal variables set:
  26.  
  27. # If the ``*_PASSWORD`` variables are not set here you will be prompted to enter
  28. # values for them by ``stack.sh`` and they will be added to ``local.conf``.
  29. ADMIN_PASSWORD=pass
  30. DATABASE_PASSWORD=$ADMIN_PASSWORD
  31. RABBIT_PASSWORD=$ADMIN_PASSWORD
  32. SERVICE_PASSWORD=$ADMIN_PASSWORD
  33. SERVICE_TOKEN=tokentoken
  34. #OFFLINE=True
  35. # Enable the ceilometer metering services
  36. enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector
  37.  
  38. # Enable the ceilometer alarming services
  39. enable_service ceilometer-alarm-evaluator,ceilometer-alarm-notifier
  40.  
  41. # Enable the ceilometer api services
  42. enable_service ceilometer-api
  43.  
  44. # ``HOST_IP`` should be set manually for best results if the NIC configuration
  45. # of the host is unusual, i.e. ``eth1`` has the default route but ``eth0`` is the
  46. # public interface. It is auto-detected in ``stack.sh`` but often is indeterminate
  47. # on later runs due to the IP moving from an Ethernet interface to a bridge on
  48. # the host. Setting it here also makes it available for ``openrc`` to include
  49. # when setting ``OS_AUTH_URL``.
  50. # ``HOST_IP`` is not set by default.
  51. #HOST_IP=w.x.y.z
  52.  
  53.  
  54. # Logging
  55. # -------
  56.  
  57. # By default ``stack.sh`` output only goes to the terminal where it runs. It can
  58. # be configured to additionally log to a file by setting ``LOGFILE`` to the full
  59. # path of the destination log file. A timestamp will be appended to the given name.
  60. LOGFILE=$DEST/logs/stack.sh.log
  61. SCREEN_LOGDIR=$DEST/log
  62.  
  63. # Old log files are automatically removed after 7 days to keep things neat. Change
  64. # the number of days by setting ``LOGDAYS``.
  65. LOGDAYS=2
  66.  
  67. # Nova logs will be colorized if ``SYSLOG`` is not set; turn this off by setting
  68. # ``LOG_COLOR`` false.
  69. #LOG_COLOR=False
  70.  
  71.  
  72. # Using milestone-proposed branches
  73. # ---------------------------------
  74.  
  75. # Uncomment these to grab the milestone-proposed branches from the repos:
  76. #CINDER_BRANCH=milestone-proposed
  77. #GLANCE_BRANCH=milestone-proposed
  78. #HORIZON_BRANCH=milestone-proposed
  79. #KEYSTONE_BRANCH=milestone-proposed
  80. #KEYSTONECLIENT_BRANCH=milestone-proposed
  81. #NOVA_BRANCH=milestone-proposed
  82. #NOVACLIENT_BRANCH=milestone-proposed
  83. #NEUTRON_BRANCH=milestone-proposed
  84. #SWIFT_BRANCH=milestone-proposed
  85.  
  86.  
  87. # Swift
  88. # -----
  89.  
  90. # Swift is now used as the back-end for the S3-like object store. If Nova's
  91. # objectstore (``n-obj`` in ``ENABLED_SERVICES``) is enabled, it will NOT
  92. # run if Swift is enabled. Setting the hash value is required and you will
  93. # be prompted for it if Swift is enabled so just set it to something already:
  94. SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
  95.  
  96. # For development purposes the default of 3 replicas is usually not required.
  97. # Set this to 1 to save some resources:
  98. SWIFT_REPLICAS=1
  99.  
  100. # The data for Swift is stored by default in (``$DEST/data/swift``),
  101. # or (``$DATA_DIR/swift``) if ``DATA_DIR`` has been set, and can be
  102. # moved by setting ``SWIFT_DATA_DIR``. The directory will be created
  103. # if it does not exist.
  104. SWIFT_DATA_DIR=$DEST/data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement