[ceph-users] Re: ceph-iscsi-cli: cannot remove duplicated gateways.

2023-02-19 Thread luckydog xf
> > Hi, > > [root@ceph-iscsi-gw-1 ~]# gwcli ls > o- / > . > [...] > o- cluster > ..

[ceph-users] Re: ceph-iscsi-cli: cannot remove duplicated gateways.

2023-02-19 Thread Xiubo Li
Hi So you are using the default 'rbd' pool to store 'gateway.conf' config object. And the 'gateway.conf' is corrupted. If you couldn't remove it by using force option, then you should dump the 'gateway.conf' object from 'rbd' pool and then delete the 'ceph-iscsi-gw-1.ipa.pthl.hklocalhost.lo

[ceph-users] Re: ceph-iscsi-cli: cannot remove duplicated gateways.

2023-02-19 Thread luckydog xf
Hi, Xiubo. I'm not clear about the commands that dump and restore an object. Could you give me an example? `rados ls -p rbd` shows tons of uuids. https://docs.ceph.com/en/latest/man/8/rados/ On Mon, Feb 20, 2023 at 9:30 AM Xiubo Li wrote: > Hi > > So you are using the default 'rbd' pool to stor

[ceph-users] Re: ceph-iscsi-cli: cannot remove duplicated gateways.

2023-02-19 Thread luckydog xf
Oh, please forgive my carelessness. -- sudo rados -p rbd get gateway.conf local-gw.conf --- get all the contents. I'll try to edit it. On Mon, Feb 20, 2023 at 9:50 AM luckydog xf wrote: > Hi, Xiubo. > I'm not clear about the commands that dump and restore an object. Could > you give me an examp

[ceph-users] Re: ceph-iscsi-cli: cannot remove duplicated gateways.

2023-02-19 Thread Xiubo Li
On 20/02/2023 10:11, luckydog xf wrote: Oh, please forgive my carelessness. -- sudo rados -p rbd get gateway.conf local-gw.conf --- get all the contents. I'll try to edit it. Correct. On Mon, Feb 20, 2023 at 9:50 AM luckydog xf wrote: Hi, Xiubo. I'm not clear about the commands th

[ceph-users] Re: ceph-iscsi-cli: cannot remove duplicated gateways.

2023-02-19 Thread luckydog xf
okay, I restored the correct configuration by 'sudo rados put gateway.conf local-gw -p rbd Now problems resolved. Thanks and have a nice day. On Mon, Feb 20, 2023 at 10:13 AM Xiubo Li wrote: > > On 20/02/2023 10:11, luckydog xf wrote: > > Oh, please forgive my carelessness. > -- > sudo rados -p

[ceph-users] Re: ceph-iscsi-cli: cannot remove duplicated gateways.

2023-02-19 Thread Xiubo Li
Cool :-) On 20/02/2023 10:19, luckydog xf wrote: okay, I restored the correct configuration by 'sudo rados put gateway.conf local-gw -p rbd Now problems resolved. Thanks and haveĀ a nice day. On Mon, Feb 20, 2023 at 10:13 AM Xiubo Li wrote: On 20/02/2023 10:11, luckydog xf wrote: O