Bug 1508144 - [RFE] support iSCSI gateway container
Summary: [RFE] support iSCSI gateway container
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
high
Target Milestone: rc
: 3.2
Assignee: Sébastien Han
QA Contact: Manohar Murthy
Bara Ancincova
URL:
Whiteboard:
Depends On:
Blocks: 1629656
TreeView+ depends on / blocked
 
Reported: 2017-10-31 21:05 UTC by Jason Dillaman
Modified: 2019-01-03 20:19 UTC (History)
20 users (show)

Fixed In Version: RHEL: ceph-ansible-3.2.0-0.1.beta2.el7cp Ubuntu: ceph-ansible_3.2.0~beta2-2redhat1 Container: ceph-3.2-rhel-7-containers-candidate-68663-20181025144338
Doc Type: Enhancement
Doc Text:
.Support the iSCSI gateway in containers Previously, the iSCSI gateway could not be run in a container. With this update to Red Hat Ceph Storage, a containerized version of the Ceph iSCSI gateway can be deployed with a containerized Ceph cluster.
Clone Of:
Environment:
Last Closed: 2019-01-03 20:19:30 UTC
Embargoed:


Attachments (Terms of Use)
ansible.log (14.62 MB, text/plain)
2018-10-29 13:11 UTC, Vidushi Mishra
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 2466 0 None closed Add support for containerized iscsi deployment 2020-11-30 13:47:53 UTC
Github ceph ceph-container pull 1220 0 None closed iscsi: fix mount configfs 2020-11-30 13:48:19 UTC
Red Hat Product Errata RHBA-2019:0021 0 None None None 2019-01-03 20:19:34 UTC

Description Jason Dillaman 2017-10-31 21:05:43 UTC
Description of problem:
The Ceph iSCSI gateway should be able to be deployed within a container (tcmu-runner, ceph-iscsi-gw, ceph-iscsi-api).

Version-Release number of selected component (if applicable):
RHCS 3.0

Comment 4 Jason Dillaman 2018-02-20 21:32:03 UTC
Thought: since we are directly tied to the kernel, it seems that putting the user-space portions into a container is only a partial story. For a longer term solution, we could use kata containers (which is a light-weight VM) to truly isolate iSCSI from the host kernel.

Comment 6 Christina Meno 2018-05-10 21:56:49 UTC
We don't have the bandwidth to support this in 3.1

Comment 7 Sébastien Han 2018-06-08 08:25:20 UTC
Patch merged upstream, so it'll be in 3.1, although I don't think QE has the bandwidth.

Comment 8 Ken Dreyer (Red Hat) 2018-06-27 16:20:13 UTC
PR 2466 is in master but not stable-3.1, so it's not in any tagged version of ceph-ansible.

We need a v3.2.0beta1 tag on master to get this through CentOS.org/RDO and QE testing.

Comment 9 Sébastien Han 2018-06-28 15:13:34 UTC
You got it: https://github.com/ceph/ceph-ansible/releases/tag/v3.2.0beta1

Comment 13 Sébastien Han 2018-10-25 10:52:36 UTC
I updated the downstream repo so we are waiting for a new container image.
Ken, please tell us when the new container image will be ready as nothing is showing up in the BZ.

Moving this to POST and will be ready for testing soon with the new container build.
Thanks

Comment 18 Vidushi Mishra 2018-10-29 13:11:10 UTC
Created attachment 1498553 [details]
ansible.log

Comment 29 Sébastien Han 2018-11-07 11:38:45 UTC
The gateways configuration through Ansible is not possible at the moment in a containerized scenario. The reason is simple the Ansible module cannot access the iscsi* libs since it runs on the host and libs are packaged in the container. Presently, we don't have a way to deal with that.

Comment 32 Sébastien Han 2018-11-26 14:24:54 UTC
Purge is not a blocker, the BZ is about deploying iSCSI gws in containers, not purging them.

Comment 33 Mike Christie 2018-11-26 18:47:56 UTC
(In reply to leseb from comment #32)
> Purge is not a blocker, the BZ is about deploying iSCSI gws in containers,
> not purging them.

@leseb, so you mean we should just document around this for 3.2 right? If so, I will work with Aron to add some info about this.

Comment 34 seb 2018-11-27 10:12:28 UTC
Just to clarify, are we talking about purging the whole setup or removing some gateways?

Comment 39 seb 2018-12-10 14:08:26 UTC
John, this will be in 3.2. Added the doc text.

Comment 40 John Brier 2018-12-11 14:43:47 UTC
Thanks. Can you review my updated Doc Text?

For my reference here is the old one:

Feature – describes the enhancement from the user's point of view

No enhancements noticeable, it's just a change on how daemons are being executed (in containers). This is not adding any particular functionality.

Reason – why was the enhancement implemented

This allows users to deploy a containerized version of their Ceph iSCSI gateways as part of their already containerized Ceph cluster.
    
Result – what is the current user experience (may also be compared to the previous user experience)

No difference.

Comment 42 seb 2018-12-12 08:24:12 UTC
Yes it can go ON_QA

Comment 45 errata-xmlrpc 2019-01-03 20:19:30 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-2019:0021


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