Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1489690

Summary: [ceph-container] - ceph-mgr - container getting exited saying /usr/bin/ceph-mgr: No such file or directory
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-Mgr PluginsAssignee: John Spray <john.spray>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.0CC: ceph-eng-bugs, ceph-qe-bugs, kdreyer, tserlin
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhceph:ceph-3.0-rhel-7-docker-candidate-39024-20170908191338 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:42:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File contains contents of ansible-playbook log, mgr service log snippet none

Description Vasishta 2017-09-08 07:11:31 UTC
Created attachment 1323587 [details]
File contains contents of ansible-playbook log, mgr service log snippet

Description of problem:
Ceph-mgr daemon not coming up, with container getting exited saying /usr/bin/ceph-mgr: No such file or directory.

Version-Release number of selected component (if applicable):
ceph-3.0-rhel-7-docker-candidate-71465-20170804220045
ceph-ansible-3.0.0-0.1.rc6.el7cp.noarch

How reproducible:
Always (2/2)

Steps to Reproduce:
1. Configure ceph-ansible to have atleast one ceph-mgr node.
2. run ansible-playbook site-docker.yml
3.

Actual results:
mgr daemon not coming up

Expected results:
mgr damon needs to get started and be active

Additional info:
1) ceph-ansible hadn't and failed tasks

2) Log snippet of mgr service (Please refer attachment for larger log-snippet)
start_mgr.sh: line 33: /usr/bin/ceph-mgr: No such file or directory
magna019 systemd[1]: ceph-mgr: main process exited, code=exited, status=1/FAILURE
magna019 docker[17930]: Error response from daemon: No such container: ceph-mgr-magna019
magna019 systemd[1]: Unit ceph-mgr entered failed state.
magna019 systemd[1]: ceph-mgr failed.

3) Please let me know if anything has been missed in mgrs.yml

$ cat group_vars/mgrs.yml | egrep -v ^# | grep -v ^$
---
dummy:

Comment 2 John Spray 2017-09-08 09:57:48 UTC
Based on "/usr/bin/ceph-mgr" I would wonder if the container images were just built without ceph-mgr installed?  I don't know who builds those.

Comment 3 Harish NV Rao 2017-09-08 10:55:16 UTC
(In reply to John Spray from comment #2)
> Based on "/usr/bin/ceph-mgr" I would wonder if the container images were
> just built without ceph-mgr installed?  I don't know who builds those.

@Ken @Thomas can you please check and clarify?

Comment 8 Vasishta 2017-09-11 01:47:25 UTC
Hi Thomas,

Yes, it worked, Thanks.
I just replaced the old image with new image and restarted daemon, working well.
Moving to VERIFIED state now.

Regards,
Vasishta

Comment 9 Ken Dreyer (Red Hat) 2017-09-11 16:56:01 UTC
Thomas, is this fixed in https://github.com/ceph/ceph-docker upstream as well?

Comment 11 Ken Dreyer (Red Hat) 2017-09-11 19:26:50 UTC
Thanks, great!

Comment 14 errata-xmlrpc 2017-12-05 23:42:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:3387