summaryrefslogtreecommitdiff
path: root/doc/source/ref/local_conf.rst
blob: 3061c9cbd7dbf5f02d3e8470df9d2a83329ec41c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
==========
local.conf
==========

Configuring DevStack for Horizon
================================

Place the following content into `devstack/local.conf` to start the services
that Horizon supports in DevStack when `stack.sh` is run.
::

    [[local|localrc]]

    ADMIN_PASSWORD=pass
    MYSQL_PASSWORD=pass
    RABBIT_PASSWORD=pass
    SERVICE_PASSWORD=pass
    SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50

    # Recloning will insure that your stack is up to date. The downside
    # is overhead on restarts and potentially losing a stable environment.
    # If set to yes, will reclone all repos every time stack.sh is run.
    # The default is no.
    #RECLONE=yes

    # Note: there are several network setting changes that may be
    # required to get networking properly configured in your environment.
    # This file is just using the defaults set up by devstack.
    # For a more detailed treatment of devstack network configuration
    # options, please see: http://devstack.org/guides/single-machine.html

    # Enable Swift (object-store) Service without replication
    enable_service s-proxy s-object s-container s-account
    SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
    SWIFT_REPLICAS=1
    SWIFT_DATA_DIR=$DEST/data/swift

    # enabling Neutron (network) Service
    # to use nova net rather than neutron, comment out the following group
    disable_service n-net
    enable_service q-svc
    enable_service q-agt
    enable_service q-dhcp
    enable_service q-13
    enable_service q-meta
    enable_service q-metering
    enable_service neutron
    enable_service q-lbaas
    enable_service q-fwaas
    enable_service q-vpn
    # end group

    # enable Heat (orchestration) Service
    enable_service heat h-api h-api-cfn h-api-cw h-eng

    # enable Sahara (data_processing) Service
    enable_service sahara

    # enable Trove (database) Service
    enable_service trove tr-api tr-tmgr tr-cond

    # enable Ceilometer (metering) Service
    enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector ceilometer-api


    # Set ``OFFLINE`` to ``True`` to configure ``stack.sh`` to run cleanly without
    # Internet access. ``stack.sh`` must have been previously run with Internet
    # access to install prerequisites and fetch repositories.
    # OFFLINE=True

    [[post-config|$GLANCE_API_CONF]]
    [DEFAULT]
    default_store=file