From: Scott Sullivan <ssullivan@liquidweb.com>
To: ceph-devel@vger.kernel.org
Subject: Authentication question with RBD+STGT
Date: Mon, 22 Apr 2013 14:09:22 -0400 [thread overview]
Message-ID: <51757CD2.2070404@liquidweb.com> (raw)
Referring to this: http://ceph.com/dev-notes/adding-support-for-rbd-to-stgt/
I compiled the latest tgt with RBD support. My question is when using
this method to access RBD volumes, where do you tell it what user to
authenticate to the cluster with? I do see the above linked page
mentions it will read a local ceph.conf.
Say I want to use cephx for authentication; how do I tell this:
tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 1
--backing-store pool0/test-image --bstype rbd
to authenticate to pool0/test-image as user testuser? My local ceph.conf
(that I run the tgtadm command on) contains:
[global]
log_max_recent = 500
[mon.a]
host = c01-m01
mon addr = XX.XX.XX.XX:6789
[mon.b]
host = c01-m02
mon addr = XX.XX.XX.XX:6789
[mon.c]
host = c01-m03
mon addr = XX.XX.XX.XX:6789
next reply other threads:[~2013-04-22 18:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-22 18:09 Scott Sullivan [this message]
2013-04-22 19:02 ` Authentication question with RBD+STGT Wido den Hollander
2013-04-22 23:42 ` Dan Mick
2013-04-23 3:49 ` Sage Weil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51757CD2.2070404@liquidweb.com \
--to=ssullivan@liquidweb.com \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.