From 2116f76a1f1fbb32ca5844c1d051e22b1b657e0f Mon Sep 17 00:00:00 2001 From: Vasu Kulkarni Date: Tue, 1 Aug 2017 16:32:42 -0700 Subject: [PATCH] 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 --- qa/tasks/ceph_deploy.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qa/tasks/ceph_deploy.py b/qa/tasks/ceph_deploy.py index fc17892a27c..189fd32e8f2 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') -- 2.39.5