Bug 1492193 - [ceph-container] : containerized NFS support in ceph container builds
Summary: [ceph-container] : containerized NFS support in ceph container builds
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Container
Version: 3.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: rc
: 3.0
Assignee: Sébastien Han
QA Contact: Harish NV Rao
URL:
Whiteboard:
Depends On: 1493920
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-15 17:40 UTC by Vasishta
Modified: 2017-12-05 23:19 UTC (History)
8 users (show)

Fixed In Version: rhceph:ceph-3.0-rhel-7-docker-candidate-28691-20170928173236
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:19:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-docker pull 799 0 None None None 2017-09-28 17:02:17 UTC
Red Hat Product Errata RHEA-2017:3388 0 normal SHIPPED_LIVE new container image: rhceph-3-rhel7 2017-12-06 02:43:29 UTC

Description Vasishta 2017-09-15 17:40:59 UTC
Description of problem:
As ceph-ansible supports configuration for nfs, ceph container builds needs to support containerized NFS.
From BZ 1452762 it can be observed that ceph-ansible-3.0.0-0.1.rc8.1.el7cp supports configuring ceph-nfs. Attempt to configure containerized NFS failed with logs as pasted below.


Version-Release number of selected component (if applicable):
ceph-3.0-rhel-7-docker-candidate-66736-20170914183105

How reproducible:
Always

Steps to Reproduce:
1. Configure ceph-ansible to get a cluster up with at least one RGW and a nfs daemon
2. Run ansible-playbook site-docker


Actual results:
(journald log of ceph-nfs service)
+/entrypoint.sh:41: case "$CEPH_DAEMON" in
Sep 15 17:31:59 magna025 docker[30260]: +/entrypoint.sh:119: unsupported_scenario
docker[30260]: +common_functions.sh:160: unsupported_scenario(): echo 'ERROR: '\''nfs'\'' scenario or key/value store '\''none'\'' is not supported by this distribution.'
 docker[30260]: ERROR: 'nfs' scenario or key/value store 'none' is not supported by this distribution.
magna025 docker[30260]: ERROR: for the list of supported scenarios, please refer to your vendor.
docker[30260]: +common_functions.sh:161: unsupported_scenario(): echo 'ERROR: for the list of supported scenarios, please refer to your vendor.'
docker[30260]: +common_functions.sh:162: unsupported_scenario(): exit 1


Expected results:
Ceph container build needs to support containerized NFS

Additional info:
ansible-playbook run completed successful but nfs container was not created

Found this in entrypoint.sh inside a container - 
nfs)
    unsupported_scenario
    source start_nfs.sh
    start_nfs
    ;;

Comment 2 seb 2017-09-18 15:24:33 UTC
This is fixed with the last container: ceph-3.0-rhel-7-docker-candidate-32702-20170915121952

Please try again.

Comment 6 Vasishta 2017-09-28 13:03:25 UTC
Hi,

Still observing this issue both in ceph-3.0-rhel-7-docker-candidate-42468-20170919164130 and ceph-3.0-rhel-7-docker-candidate-19625-20170928024408.

Sep 28 12:53:23 magna069 docker[25428]: +/entrypoint.sh:41: case "$CEPH_DAEMON" in
Sep 28 12:53:23 magna069 docker[25428]: +/entrypoint.sh:119: unsupported_scenario
Sep 28 12:53:23 magna069 docker[25428]: +common_functions.sh:160: unsupported_scenario(): echo 'ERROR: '\''nfs'\'' scenario or key/value store '\''none'\'' is not supported by this distribution.'
Sep 28 12:53:23 magna069 docker[25428]: +common_functions.sh:161: unsupported_scenario(): echo 'ERROR: for the list of supported scenarios, please refer to your vendor.'
Sep 28 12:53:23 magna069 docker[25428]: +common_functions.sh:162: unsupported_scenario(): exit 1
Sep 28 12:53:23 magna069 docker[25428]: ERROR: 'nfs' scenario or key/value store 'none' is not supported by this distribution.
Sep 28 12:53:23 magna069 docker[25428]: ERROR: for the list of supported scenarios, please refer to your vendor.
Sep 28 12:53:25 magna069 systemd[1]: ceph-nfs: main process exited, code=exited, status=1/FAILURE

Moving back to ASSIGNED state. Please let me know if there are any concerns.

Regards,
Vasishta

Comment 8 Sébastien Han 2017-09-28 16:59:29 UTC
Oops sorry for the inconvenience, just pushed a fix.

Comment 11 Vasishta 2017-10-04 06:14:27 UTC
Tried using ceph-3.0-rhel-7-docker-candidate-25183-20171002161235, working fine, Thanks.
Moving BZ to VERIFIED state.

Comment 14 errata-xmlrpc 2017-12-05 23:19:04 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/RHEA-2017:3388


Note You need to log in before you can comment on or make changes to this bug.