Re: Iscsi in the nautilus Dashboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The devs came through and added a 3.0.1 ceph-iscsi release that works with 14.2.2 ( detects as version 9 ).  I then went into the dashboard to add a target and then hit a wall.  I used the auto generated target IQN, then selected the two gateways as the “add portal” option and hit “create target” ( not selecting any other options as they were not marked as required ).  I then get an error message:  “Failed to execut iscsi:  Gateway creation failed on iscsi1.  Could not create target on gateway: Error initializing iSCSI target: gateway IP addresses provided do not match any ip on this host”. 

 

I tried adding the iqn with the local domain I am using ( via host files on each node ), but that didn’t change the error message.  Oddly enough, its adding the targets, but I cant edit any of them.  When I try to save them, it says I cannot delete any targets that don’t have any portals assigned ( I was trying to edit to add the portal, wasn’t even trying to delete ).

 

I was doing all of this in Chrome and then tried again in firefox but no change.  The dashboard is looking pretty fly, but it seems some things are not functional yet L

 

I confirmed that none of the targets that show up in the dashboard show up with gwcli ls on the iscsi1 gateway.

 

I was able to create the same target directly via gwcli though ( no errors ) and it shows up in the dashboard.

 

-Brent

 

From: ceph-users <ceph-users-bounces@xxxxxxxxxxxxxx> On Behalf Of Brent Kennedy
Sent: Tuesday, July 23, 2019 10:30 AM
To: 'Kaspar Bosma' <kaspar.bosma@xxxxxxx>; 'Paul Emmerich' <paul.emmerich@xxxxxxxx>
Cc: 'ceph-users' <ceph-users@xxxxxxxxxxxxxx>
Subject: Re: Iscsi in the nautilus Dashboard

 

I had installed 3.0 and its detected by the dashboard as version 8.  I checked the common.py in the source from the ceph-iscsi site and it shows as version 8 on line 59(meaning I confirmed what the dashboard is saying).  From what I can tell, there is no version 9 posted to the ceph-iscsi github.  I looked at version 3.1 and version 3.2(newly posted) and they both show as version 10 on line 59.  Of course the dashboard wants 9…    I was really hoping to see the dashboard in action L

 

Maybe I can adjust the version detection to make it work….  Wonder why they don’t support version “X and newer” ( probably a programming thing ).

 

-Brent

 

From: Kaspar Bosma <kaspar.bosma@xxxxxxx>
Sent: Tuesday, July 23, 2019 1:21 AM
To: Brent Kennedy <bkennedy@xxxxxxxxxx>; Paul Emmerich <paul.emmerich@xxxxxxxx>
Cc: ceph-users <ceph-users@xxxxxxxxxxxxxx>
Subject: RE: Iscsi in the nautilus Dashboard

 

Hi Brent,

As far as I know version 3.0 (which I assume is version 9) is the minimum required for the dashboard.

I would go with the latest from Shaman; it won't break the actual iSCSI part of the setup, only maybe the iSCSI support in the dashboard. I haven't tried it myself, I'm still at version 2.7 (which is version 8 I would gather...)

Kaspar

Op 23 juli 2019 om 4:49 schreef Brent Kennedy <bkennedy@xxxxxxxxxx>:

I posted to the ceph-iscsi github but Dillaman noted that 3.2 was version 10.  Which means that wouldn’t solve the issue with the version 9 requirement of the current 14.2.2 nautilus.   Paul noted 3.1 is “pretty broken”, soo which version is version 9?  Or should I hack/patch the dashboard in 14.2.2 to accept version 10 or 8?

 

-Brent

 

From: Kaspar Bosma <kaspar.bosma@xxxxxxx>
Sent: Monday, July 22, 2019 8:11 AM
To: Paul Emmerich <paul.emmerich@xxxxxxxx>; Brent Kennedy <bkennedy@xxxxxxxxxx>
Cc: ceph-users <ceph-users@xxxxxxxxxxxxxx>
Subject: Re: Iscsi in the nautilus Dashboard

 

Hi all,

That was not the most recent. This is it (3.2.4): https://2.chacra.ceph.com/r/ceph-iscsi/master/8a3967698257e1b49a9d554847b84418c15da902/centos/7/flavors/default/

Kaspar

Op 22 juli 2019 om 14:01 schreef Kaspar Bosma <kaspar.bosma@xxxxxxx>:

Hi Brent,

You may want to have a look at the repos at shaman.ceph.com.

The latest (3.2.2) packaged version of Ceph iSCSI is located here:

https://4.chacra.ceph.com/r/ceph-iscsi/master/ff5e6873c43ab6828d3f7264526100b95a7e3954/centos/7/flavors/default/noarch/

You can also find related package repos for the tcmu-runner and ceph-iscsi-cli projects.

Regards, Kaspar

Op 22 juli 2019 om 12:52 schreef Paul Emmerich <paul.emmerich@xxxxxxxx>:

Version 9 is the fqdn stuff which was introduced in 3.1.

Use 3.2 as 3.1 is pretty broken.

 

Paul

 

--
Paul Emmerich

Looking for help with your Ceph cluster? Contact us at https://croit.io

croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90

 

 

On Mon, Jul 22, 2019 at 3:24 AM Brent Kennedy < bkennedy@xxxxxxxxxx> wrote:

I have a test cluster running centos 7.6 setup with two iscsi gateways ( per the requirement ).  I have the dashboard setup in nautilus ( 14.2.2 ) and I added the iscsi gateways via the command.  Both show down and when I go to the dashboard it states:

 

“ Unsupported `ceph-iscsi` config version. Expected 9 but found 8.  “

 

Both iscsi gateways were setup from scratch since the latest and greatest packages required for ceph iscsi install are not available in the centos repositories.  Is 3.0 not considered version 9?  ( did I do something wrong? ) Why is it called/detected as version 8 when its version 3?

 

I also wondering, the package versions listed as required in the nautilus docs(http://docs.ceph.com/docs/nautilus/rbd/iscsi-target-cli/)  state x.x.x or NEWER package, but when I try to add a gateway gwcli complains about the tcmu-runner and targetcli versions and I have to use the

Skipchecks=true option when adding them. 

 

Another thing came up, might be doing it wrong as well: 

Added a disk, then added the client, then tried to add the auth using the auth command and it states: “Failed to update the client's auth: Invalid password”

 

Actual output:

/iscsi-target...erpix:backup1> auth username=test password=test

CMD: ../hosts/<client_iqn> auth *

username=test, password=test, mutual_username=None, mutual_password=None

CMD: ../hosts/<client_iqn> auth *

auth to be set to username='test', password='test', mutual_username='None', mutual_password='None' for 'iqn.2019-07.com.somgthing:backup1'

Failed to update the client's auth: Invalid username

 

Did I miss something in the setup doc?

 

Installed packages:

rtslib:  wget https://github.com/open-iscsi/rtslib-fb/archive/v2.1.fb69.tar.gz

target-cli: wget https://github.com/open-iscsi/targetcli-fb/archive/v2.1.fb49.tar.gz

tcmu-runner: wget https://github.com/open-iscsi/tcmu-runner/archive/v1.4.1.tar.gz

ceph-iscsi: wget https://github.com/ceph/ceph-iscsi/archive/3.0.tar.gz

configshell: wget https://github.com/open-iscsi/configshell-fb/archive/v1.1.fb25.tar.gz

 

Other bits I installed as part of this:

yum install epel-release python-pip python-devel -y

yum groupinstall "Development Tools" -y

python -m pip install --upgrade pip setuptools wheel

pip install netifaces cryptography flask

 

 

Any helps or pointer would be greatly appreciated!

 

-Brent

 

Existing Clusters:

Test: Nautilus 14.2.2 with 3 osd servers, 1 mon/man, 1 gateway, 2 iscsi gateways ( all virtual on nvme )

US Production(HDD): Nautilus 14.2.1 with 11 osd servers, 3 mons, 4 gateways behind haproxy LB

UK Production(HDD): Luminous 12.2.11 with 25 osd servers, 3 mons/man, 3 gateways behind haproxy LB

US Production(SSD): Luminous 12.2.11 with 6 osd servers, 3 mons/man, 3 gateways behind haproxy LB

 

 

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


 

_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


 


 

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux