Project

General

Profile

Bug #19994

ceph-mgr upstart issue on trusy - HEALTH_ERR no active mgr

Added by Vasu Kulkarni over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Immediate
Assignee:
-
Category:
-
Target version:
-
Start date:
05/20/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

on trusty the ceph-deploy tests fails, there is nothing special we currently do to enable/start ceph-mgr
the same steps work for centos 7.3 and ubuntu 16.04

on 14.04, I tried to see if i can start manually to fix the tests but the daemons dont come up

ubuntu@ubu14:~/cd$ sudo start ceph-mon id=ubu14
ceph-mon (ceph/ubu14) start/running, process 11121

ubuntu@ubu14:~/cd$ ps -eaf | grep ceph
ceph     11121     1  1 00:31 ?        00:00:00 /usr/bin/ceph-mon --cluster=ceph -i ubu14 -f --setuser ceph --setgroup ceph
ubuntu   11159  1326  0 00:31 pts/0    00:00:00 grep --color=auto ceph

ubuntu@ubu14:~/cd$ sudo start ceph-mgr id=ubu14
ceph-mgr stop/waiting

ubuntu@ubu14:~/cd$ ps -eaf | grep ceph
ceph     11121     1  0 00:31 ?        00:00:00 /usr/bin/ceph-mon --cluster=ceph -i ubu14 -f --setuser ceph --setgroup ceph
ubuntu   11166  1326  0 00:39 pts/0    00:00:00 grep --color=auto ceph

http://qa-proxy.ceph.com/teuthology/teuthology-2017-05-15_03:59:02-ceph-deploy-master-distro-basic-vps/1178544/teuthology.log

History

#1 Updated by Greg Farnum over 1 year ago

  • Category set to 110

#2 Updated by Greg Farnum over 1 year ago

  • Priority changed from Normal to Urgent

#3 Updated by Greg Farnum over 1 year ago

  • Project changed from Ceph to mgr
  • Category deleted (110)

#4 Updated by Sage Weil over 1 year ago

  • Status changed from New to Verified
  • Priority changed from Urgent to Immediate

need to confirm this works on trusty before luminous release

#5 Updated by Sage Weil over 1 year ago

  • Status changed from Verified to Feedback

The automatic mgr-creation-from-mon upgrade magic is not implemented for upstart (trusty). we could either

1. mention that explicitly in the upgrade notes
2. remove that behavior from systemd too
3. implement it for upstart.

I'm not sure how painful (3) is, but pretty sure it'll be at least as ugly as the systemd version.

#6 Updated by Vasu Kulkarni over 1 year ago

I think mentioning that in upgrade notes is sufficient, but it will also need steps to start it, in my case the steps i tried above to start ceph-mgr didn't work, probably i am missing something.

If the steps work, I can fix the ceph-deploy test and check on luminous build.

#7 Updated by Sage Weil over 1 year ago

  • Status changed from Feedback to Need Review

#8 Updated by Sage Weil over 1 year ago

  • Status changed from Need Review to Resolved

#9 Updated by Vasu Kulkarni over 1 year ago

Tested here and its fixed for trusty.

Also available in: Atom PDF