Browse code

Allow disabling etcd3

Etcd3 was enabled recently as new service in devstack [1]. But there's
no way to disable etcd3. This is required on architectures where no etcd
binaries are available (e.g. s390x). The long term goal of course should
be to have those binaries available. The short term circumvention is to
allow disabling the service in local.conf:

disable_service etcd3

[1] https://github.com/openstack-dev/devstack/commit/546656fc0543ec2bc5b422fd9eee17f1b8122758
Change-Id: I6184ed193482dad9643ccb2b97133d4957485408
Partial-Bug: #1693192

Andreas Scheuring authored on 2017/05/24 20:31:13
Showing 1 changed files
... ...
@@ -1048,7 +1048,9 @@ start_dstat
1048 1048
 # -----
1049 1049
 
1050 1050
 # etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines
1051
-start_etcd3
1051
+if is_service_enabled etcd3; then
1052
+    start_etcd3
1053
+fi
1052 1054
 
1053 1055
 # Keystone
1054 1056
 # --------