Project

General

Profile

Actions

Bug #5686

closed

ceph-deploy: install command should not restart the daemons when used for upgrade purpose

Added by Tamilarasi muthamizhan almost 11 years ago. Updated almost 11 years ago.

Status:
Rejected
Priority:
Urgent
Assignee:
Category:
ceph-deploy
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

right now, we use install command to upgrade to a different ceph branch[ex: dumpling branch] on a running cluster[ex: cuttlefish branch] and the problem we see is,

when install command is used for upgrade purpose, all the daemons running on the given node, where the packages are upgraded, restarts by default, which should not be the case for upgrade.

We may need to avoid this by adding an additional parameter to install command [ex: --upgrade] , which when mentioned, the daemons should not be restarted by default.

Actions #1

Updated by Tamilarasi muthamizhan almost 11 years ago

  • Priority changed from High to Urgent
Actions #2

Updated by Alfredo Deza almost 11 years ago

  • Assignee set to Alfredo Deza
Actions #3

Updated by Tamilarasi muthamizhan almost 11 years ago

  • Status changed from New to Rejected

ceph-deploy install doesnt actually restart the daemons when used for upgrade purpose. Upgrade takes effect on the daemons only when they are manually restarted.


Pasting below the sequence of steps for restarting daemons after upgrade.

ubuntu@mira016:~$ sudo ceph -v
ceph version 0.66-722-g8574b3c (8574b3cdcfa9874dae471efacbb24c3ed0d48bfc)

ubuntu@mira016:~$ sudo ceph-osd -v
ceph version 0.66-722-g8574b3c (8574b3cdcfa9874dae471efacbb24c3ed0d48bfc)

ubuntu@mira016:~$ sudo ceph --admin-daemon /var/run/ceph/ceph-osd.0.asok version
{"version":"0.61.4"}

ubuntu@mira016:/var/log/ceph$ sudo sudo stop ceph-osd id=0
ceph-osd stop/waiting

ubuntu@mira016:/var/log/ceph$ sudo sudo start ceph-osd id=0
ceph-osd (ceph/0) start/running, process 25541

ubuntu@mira016:/var/log/ceph$ sudo ceph --admin-daemon /var/run/ceph/ceph-osd.0.asok version
{"version":"0.66-722-g8574b3c"}

Actions

Also available in: Atom PDF