From: Vasu Kulkarni Date: Tue, 1 Aug 2017 23:32:42 +0000 (-0700) Subject: Restart services after upgrade X-Git-Tag: v13.0.1~999^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2116f76a1f1fbb32ca5844c1d051e22b1b657e0f;p=ceph.git Restart services after upgrade 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 --- diff --git a/qa/tasks/ceph_deploy.py b/qa/tasks/ceph_deploy.py index fc17892a27ca9..189fd32e8f226 100644 --- a/qa/tasks/ceph_deploy.py +++ b/qa/tasks/ceph_deploy.py @@ -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')