Advertisement
Guest User

localrc

a guest
Oct 15th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. evans at ~/v2-devstack ❯ cat localrc
  2. ########
  3. # MISC #
  4. ########
  5. DATABASE_PASSWORD=password
  6. ADMIN_PASSWORD=password
  7. SERVICE_PASSWORD=password
  8. SERVICE_TOKEN=password
  9. RABBIT_PASSWORD=password
  10.  
  11. # Reclone each time
  12. #RECLONE=yes
  13.  
  14. # Enable Logging
  15. LOGFILE=/opt/stack/logs/stack.sh.log
  16. VERBOSE=True
  17. LOG_COLOR=True
  18. SCREEN_LOGDIR=/opt/stack/logs
  19.  
  20.  
  21. #################
  22. # PRE-REQUISITE #
  23. #################
  24. ENABLED_SERVICES=rabbit,mysql,key
  25.  
  26.  
  27. ########
  28. # CEPH #
  29. ########
  30. enable_plugin ceph https://github.com/openstack/devstack-plugin-ceph
  31.  
  32. # DevStack will create a loop-back disk formatted as XFS to store the
  33. # Ceph data.
  34. CEPH_LOOPBACK_DISK_SIZE=10G
  35.  
  36. # Ceph cluster fsid
  37. CEPH_FSID=$(uuidgen)
  38.  
  39. # Glance pool, pgs and user
  40. GLANCE_CEPH_USER=glance
  41. GLANCE_CEPH_POOL=images
  42. GLANCE_CEPH_POOL_PG=8
  43. GLANCE_CEPH_POOL_PGP=8
  44.  
  45. # Nova pool and pgs
  46. NOVA_CEPH_POOL=vms
  47. NOVA_CEPH_POOL_PG=8
  48. NOVA_CEPH_POOL_PGP=8
  49.  
  50. # Cinder pool, pgs and user
  51. CINDER_CEPH_POOL=volumes
  52. CINDER_CEPH_POOL_PG=8
  53. CINDER_CEPH_POOL_PGP=8
  54. CINDER_CEPH_USER=cinder
  55. CINDER_CEPH_UUID=$(uuidgen)
  56.  
  57. # Cinder backup pool, pgs and user
  58. CINDER_BAK_CEPH_POOL=backup
  59. CINDER_BAK_CEPH_POOL_PG=8
  60. CINDER_BAKCEPH_POOL_PGP=8
  61. CINDER_BAK_CEPH_USER=cinder-bak
  62.  
  63. # How many replicas are to be configured for your Ceph cluster
  64. CEPH_REPLICAS=${CEPH_REPLICAS:-1}
  65.  
  66. # Connect DevStack to an existing Ceph cluster
  67. REMOTE_CEPH=False
  68. REMOTE_CEPH_ADMIN_KEY_PATH=/etc/ceph/ceph.client.admin.keyring
  69.  
  70.  
  71. ##########################
  72. # GLANCE - IMAGE SERVICE #
  73. ##########################
  74. ENABLED_SERVICES+=,g-api,g-reg
  75.  
  76.  
  77. #################################
  78. # CINDER - BLOCK DEVICE SERVICE #
  79. #################################
  80. ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak
  81. CINDER_DRIVER=ceph
  82. CINDER_ENABLED_BACKENDS=ceph
  83.  
  84.  
  85. ##########################
  86. # NOVA - COMPUTE SERVICE #
  87. ##########################
  88. ENABLED_SERVICES+=,n-api,n-crt,n-cpu,n-cond,n-sch,n-net
  89. DEFAULT_INSTANCE_TYPE=m1.micro
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement