Re: Error in add new ISCSI gateway

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

 



You might need to reset the target API service. You can compare what
the two REST APIs think the config is by running:

$ curl --insecure --user <username>:<password> -X GET
http://ceph-iscsi1:5000/api/sysinfo/checkconf
$ curl --insecure --user <username>:<password> -X GET
http://ceph-iscsi3:5000/api/sysinfo/checkconf

(tweak username, password, http/https, and port as appropriate as per
your configs)

On Tue, Dec 3, 2019 at 12:34 PM Gesiel Galvão Bernardes
<gesiel.bernardes@xxxxxxxxx> wrote:
>
> Are exactly the same:
>
> [root@ceph-iscsi1 ~]# sha256sum /etc/ceph/iscsi-gateway.cfg
> 33620867c9c3c5e6a666df2bb461150d4a885db2989cd3aea812a29555fdc45a  /etc/ceph/iscsi-gateway.cfg
>
> [root@ceph-iscsi3 ~]# sha256sum /etc/ceph/iscsi-gateway.cfg
> 33620867c9c3c5e6a666df2bb461150d4a885db2989cd3aea812a29555fdc45a  /etc/ceph/iscsi-gateway.cfg
>
> Em ter., 3 de dez. de 2019 às 14:28, Jason Dillaman <jdillama@xxxxxxxxxx> escreveu:
>>
>> The sha256sum between the "/etc/ceph/iscsi-gateway.cfg" where you are
>> running the 'gwcli' tool and `ceph-iscsi3` most likely mismatches.
>>
>> On Tue, Dec 3, 2019 at 12:19 PM Gesiel Galvão Bernardes
>> <gesiel.bernardes@xxxxxxxxx> wrote:
>> >
>> > Hi everyone,
>> >
>> > I have a problem trying to add an ISCSI gateway. The following error is generated when trying to add the new gateway:
>> >
>> > iscsi-target...-igw/gateways> create ceph-iscsi3 192.168.201.3
>> > Adding gateway, sync'ing 3 disk(s) and 2 client(s)
>> > Failed : /etc/ceph/iscsi-gateway.cfg on ceph-iscsi3 does not match the local version. Correct and retry request
>> >
>> > But the file iscsi-gateway.cfg is exactly the same in all gateways.
>> > Selinux is disabled, permissios are OK too.
>> >
>> > I using ceph 13.2.6. Can anyone help-me?
>> >
>> > Regards
>> > Gesiel
>> >
>> > _______________________________________________
>> > ceph-users mailing list -- ceph-users@xxxxxxx
>> > To unsubscribe send an email to ceph-users-leave@xxxxxxx
>>
>>
>>
>> --
>> Jason
>>


-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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