Guest User

Untitled

a guest
Apr 11th, 2014
2,972
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  30.  
  31. # ``HOST_IP`` should be set manually for best results if the NIC configuration
  32. # of the host is unusual, i.e. ``eth1`` has the default route but ``eth0`` is the
  33. # public interface. It is auto-detected in ``stack.sh`` but often is indeterminate
  34. # on later runs due to the IP moving from an Ethernet interface to a bridge on
  35. # the host. Setting it here also makes it available for ``openrc`` to include
  36. # when setting ``OS_AUTH_URL``.
  37. # ``HOST_IP`` is not set by default.
  38. HOST_IP=192.168.171.131
  39. ADMIN_PASSWORD=nomoresecrete
  40. MYSQL_PASSWORD=stackdb
  41. RABBIT_PASSWORD=stackqueue
  42. SERVICE_PASSWORD=$ADMIN_PASSWORD
  43.  
  44.  
  45. enable_service s-proxy s-object s-container s-account
  46. enable_service swift
  47. [[post-config|$GLANCE_API_CONF]]
  48. [DEFAULT]
  49. default_store=file
  50.  
  51. # Logging
  52. # -------
  53.  
  54. # By default ``stack.sh`` output only goes to the terminal where it runs. It can
  55. # be configured to additionally log to a file by setting ``LOGFILE`` to the full
  56. # path of the destination log file. A timestamp will be appended to the given name.
  57. LOGFILE=$DEST/logs/stack.sh.log
  58.  
  59. # Old log files are automatically removed after 7 days to keep things neat. Change
  60. # the number of days by setting ``LOGDAYS``.
  61. LOGDAYS=2
  62.  
  63. # Nova logs will be colorized if ``SYSLOG`` is not set; turn this off by setting
  64. # ``LOG_COLOR`` false.
  65. #LOG_COLOR=False
  66.  
  67.  
  68. # Enable Sahara
  69. ENABLED_SERVICES+=,sahara
  70.  
  71. # Using milestone-proposed branches
  72. # ---------------------------------
  73.  
  74. # Uncomment these to grab the milestone-proposed branches from the repos:
  75. #CINDER_BRANCH=milestone-proposed
  76. #GLANCE_BRANCH=milestone-proposed
  77. #HORIZON_BRANCH=milestone-proposed
  78. #KEYSTONE_BRANCH=milestone-proposed
  79. #KEYSTONECLIENT_BRANCH=milestone-proposed
  80. #NOVA_BRANCH=milestone-proposed
  81. #NOVACLIENT_BRANCH=milestone-proposed
  82. #NEUTRON_BRANCH=milestone-proposed
  83. #SWIFT_BRANCH=milestone-proposed
  84.  
  85.  
  86. # Swift
  87. # -----
  88.  
  89. # Swift is now used as the back-end for the S3-like object store. If Nova's
  90. # objectstore (``n-obj`` in ``ENABLED_SERVICES``) is enabled, it will NOT
  91. # run if Swift is enabled. Setting the hash value is required and you will
  92. # be prompted for it if Swift is enabled so just set it to something already:
  93. SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
  94.  
  95. # For development purposes the default of 3 replicas is usually not required.
  96. # Set this to 1 to save some resources:
  97. SWIFT_REPLICAS=1
  98.  
  99. # The data for Swift is stored by default in (``$DEST/data/swift``),
  100. # or (``$DATA_DIR/swift``) if ``DATA_DIR`` has been set, and can be
  101. # moved by setting ``SWIFT_DATA_DIR``. The directory will be created
  102. # if it does not exist.
  103. SWIFT_DATA_DIR=$DEST/data
RAW Paste Data