Disable systemd-networkd & systemd-resolved
authorEmilien Macchi <emilien@redhat.com>
Fri, 14 Jul 2017 04:09:38 +0000 (21:09 -0700)
committerEmilien Macchi <emilien@redhat.com>
Fri, 14 Jul 2017 04:10:55 +0000 (04:10 +0000)
Latest commits in puppet-systemd enabled by default systemd-networkd and
systemd-resolved but we don't want to manage them for now in TripleO.
MySQL and MongoDB services were managing some systemd resources so now
we ensure that these 2 systemd services are disabled. In the future, we
might want and activate these services and revert that patch but for now
we want to disable them.

Change-Id: I42c6c9b643a71a0fbb1768bbae91e8bfa916ea00
Closes-Bug: #1704145

puppet/services/database/mongodb-base.yaml
puppet/services/database/mysql.yaml
releasenotes/notes/systemd-d9a41bb3709d0653.yaml [new file with mode: 0644]

index b5fced4..b1ec248 100644 (file)
@@ -52,3 +52,7 @@ outputs:
         mongodb::server::journal: false
         mongodb::server::ipv6: {get_param: MongoDbIPv6}
         mongodb::server::replset: {get_param: MongoDbReplset}
+        # for now, we don't want to manage these services which are enabled
+        # by default with recent changes in puppet-systemd.
+        systemd::manage_networkd: false
+        systemd::manage_resolved: false
index 882ba29..919b66c 100644 (file)
@@ -92,6 +92,10 @@ outputs:
                     - {get_param: [DefaultPasswords, mysql_root_password]}
             mysql_clustercheck_password: {get_param: MysqlClustercheckPassword}
             enable_galera: {get_param: EnableGalera}
+            # for now, we don't want to manage these services which are enabled
+            # by default with recent changes in puppet-systemd.
+            systemd::manage_networkd: false
+            systemd::manage_resolved: false
             # NOTE: bind IP is found in Heat replacing the network name with the
             # local node IP for the given network; replacement examples
             # (eg. for internal_api):
diff --git a/releasenotes/notes/systemd-d9a41bb3709d0653.yaml b/releasenotes/notes/systemd-d9a41bb3709d0653.yaml
new file mode 100644 (file)
index 0000000..af66f89
--- /dev/null
@@ -0,0 +1,9 @@
+---
+fixes:
+  - |
+    Latest commits in puppet-systemd enabled by default systemd-networkd and
+    systemd-resolved but we don't want to manage them for now in TripleO.
+    MySQL and MongoDB services were managing some systemd resources so now
+    we ensure that these 2 systemd services are disabled. In the future, we
+    might want and activate these services and revert that patch but for now
+    we want to disable them.