This is not supported and we missed a comment in stackrc that still
said otherwise. Fix the comment and abort in the sanity check section
if 'swift' is detected in ENABLED_SERVICES.
Change-Id: I78222d7ee2ea8a281962129d5bcf06c118469510
| ... | ... |
@@ -149,6 +149,14 @@ if [[ ! ${DISTRO} =~ (precise|saucy|trusty|7.0|wheezy|sid|testing|jessie|f19|f20
|
| 149 | 149 |
fi |
| 150 | 150 |
fi |
| 151 | 151 |
|
| 152 |
+# Look for obsolete stuff |
|
| 153 |
+if [[ ,${ENABLED_SERVICES} =~ ,"swift" ]]; then
|
|
| 154 |
+ echo "FATAL: 'swift' is not supported as a service name" |
|
| 155 |
+ echo "FATAL: Use the actual swift service names to enable tham as required:" |
|
| 156 |
+ echo "FATAL: s-proxy s-object s-container s-account" |
|
| 157 |
+ exit 1 |
|
| 158 |
+fi |
|
| 159 |
+ |
|
| 152 | 160 |
# Make sure we only have one rpc backend enabled, |
| 153 | 161 |
# and the specified rpc backend is available on your platform. |
| 154 | 162 |
check_rpc_backend |
| ... | ... |
@@ -21,9 +21,9 @@ fi |
| 21 | 21 |
|
| 22 | 22 |
# Specify which services to launch. These generally correspond to |
| 23 | 23 |
# screen tabs. To change the default list, use the ``enable_service`` and |
| 24 |
-# ``disable_service`` functions in ``localrc``. |
|
| 25 |
-# For example, to enable Swift add this to ``localrc``: |
|
| 26 |
-# enable_service swift |
|
| 24 |
+# ``disable_service`` functions in ``local.conf``. |
|
| 25 |
+# For example, to enable Swift add this to ``local.conf``: |
|
| 26 |
+# enable_service s-proxy s-object s-container s-account |
|
| 27 | 27 |
# In order to enable Neutron (a single node setup) add the following |
| 28 | 28 |
# settings in `` localrc``: |
| 29 | 29 |
# disable_service n-net |
| ... | ... |
@@ -32,7 +32,6 @@ fi |
| 32 | 32 |
# enable_service q-dhcp |
| 33 | 33 |
# enable_service q-l3 |
| 34 | 34 |
# enable_service q-meta |
| 35 |
-# enable_service neutron |
|
| 36 | 35 |
# # Optional, to enable tempest configuration as part of devstack |
| 37 | 36 |
# enable_service tempest |
| 38 | 37 |
|