]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Restart services after upgrade
authorVasu Kulkarni <vasu@redhat.com>
Tue, 1 Aug 2017 23:32:42 +0000 (16:32 -0700)
committerVasu Kulkarni <vasu@redhat.com>
Thu, 7 Sep 2017 19:22:57 +0000 (12:22 -0700)
This seems to be an issue and should be fixed in our systemd scripts,
need to discuss more on this.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
qa/tasks/ceph_deploy.py

index fc17892a27ca99b2901acb6d348d3f66055a6fd8..189fd32e8f226f354e67ce4b1e023168de0661e3 100644 (file)
@@ -742,6 +742,12 @@ def upgrade(ctx, config):
                     run.Raw(cmd),
                 ],
             )
+            # restart all ceph services, ideally upgrade should but it does not
+            remote.run(
+                args=[
+                    'sudo', 'systemctl', 'restart', 'ceph.target'
+                ]
+            )
             ceph_admin.run(args=['sudo', 'ceph', '-s'])
     if config.get('setup-mgr-node', None):
         mgr_nodes = get_nodes_using_role(ctx, 'mgr')