summaryrefslogtreecommitdiffstats
path: root/tests/utils/devstack/local.conf
blob: 0acde3c9e5b6af0aa10990c1c91e465e115f4b62 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[[local|localrc]]
# Use eth1 for stacking (host-only network)
#HOST_IP_IFACE=ens3

# While ``stack.sh`` is happy to run without ``localrc``, devlife is better when
# there are a few minimal variables set:

# If the ``*_PASSWORD`` variables are not set here you will be prompted to enter
# values for them by ``stack.sh``and they will be added to ``local.conf``.
ADMIN_PASSWORD=opnfv
DATABASE_PASSWORD=opnfvdb
RABBIT_PASSWORD=hopper
SERVICE_PASSWORD=$ADMIN_PASSWORD

# ``HOST_IP`` and ``HOST_IPV6`` should be set manually for best results if
# the NIC configuration of the host is unusual, i.e. ``eth1`` has the default
# route but ``eth0`` is the public interface.  They are auto-detected in
# ``stack.sh`` but often is indeterminate on later runs due to the IP moving
# from an Ethernet interface to a bridge on the host. Setting it here also
# makes it available for ``openrc`` to include when setting ``OS_AUTH_URL``.
# Neither is set by default.
HOST_IP=192.168.122.34
#HOST_IPV6=2001:db8::7

# By default stack.sh only installs Python packages if no version is currently
# installed or the current version does not match a specified requirement.
# If PIP_UPGRADE is set to True then existing required Python packages will
# be upgraded to the most recent version that matches requirements.
PIP_UGRADE=True

# Logging
# -------

# By default ``stack.sh`` output only goes to the terminal where it runs.  It can
# be configured to additionally log to a file by setting ``LOGFILE`` to the full
# path of the destination log file.  A timestamp will be appended to the given name.
LOGFILE=$DEST/logs/stack.sh.log

# Old log files are automatically removed after 7 days to keep things neat.  Change
# the number of days by setting ``LOGDAYS``.
LOGDAYS=2

# Nova logs will be colorized if ``SYSLOG`` is not set; turn this off by setting
# ``LOG_COLOR`` false.
#LOG_COLOR=False


# Using milestone-proposed branches
# ---------------------------------

# Uncomment these to grab the milestone-proposed branches from the
# repos:
#CINDER_BRANCH=milestone-proposed
#GLANCE_BRANCH=milestone-proposed
#HORIZON_BRANCH=milestone-proposed
#KEYSTONE_BRANCH=milestone-proposed
#KEYSTONECLIENT_BRANCH=milestone-proposed
#NOVA_BRANCH=milestone-proposed
#NOVACLIENT_BRANCH=milestone-proposed
#NEUTRON_BRANCH=milestone-proposed
#SWIFT_BRANCH=milestone-proposed

# Using git versions of clients
# -----------------------------
# By default clients are installed from pip.  See LIBS_FROM_GIT in
# stackrc for details on getting clients from specific branches or
# revisions.  e.g.
# LIBS_FROM_GIT="python-ironicclient"
# IRONICCLIENT_BRANCH=refs/changes/44/2.../1

# Disable Identity API v2
# The Identity API v2 is deprecated as of Mitaka and it is recommended to only use the v3 API.
# It is possible to setup keystone without v2 API, by doing:
#ENABLE_IDENTITY_V2=False -- this is causing an issue with Congress

# Turn on Neutron
disable_service n-net
enable_service neutron
enable_service q-svc q-agt q-dhcp q-l3 q-meta
Q_ML2_PLUGIN_EXT_DRIVERS=port_security

# Turn on Swift (Object Store) without replication
enable_service s-proxy s-object s-container s-account
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data/swift

# Since Newton release, Heat is available as a devstack plugin
enable_plugin heat https://git.openstack.org/openstack/heat stable/newton
# Download and register a VM image that Heat can launch
IMAGE_URL_SITE="https://cloud-images.ubuntu.com"
IMAGE_URL_PATH="/xenial/current/"
IMAGE_URL_FILE="xenial-server-cloudimg-amd64-disk1.img"
IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE

#Enable Tacker
# Disabled for now, as Models tests assume Tacker is installed in a docker
# container. Tests will be reworked to support pre-installed Tacker service.
#enable_plugin tacker https://git.openstack.org/openstack/tacker stable/newton

# Enable Congress
enable_plugin congress http://git.openstack.org/openstack/congress stable/newton
enable_plugin ceilometer http://git.openstack.org/openstack/ceilometer stable/newton

# Enable Nova placement service (prevents strange delays in Nova scheduling)
enable_service placement-api