LINBIT / linstor-gateway

Manages Highly-Available iSCSI targets, NVMe-oF targets, and NFS exports via LINSTOR
GNU General Public License v3.0
28 stars 6 forks source link

How to delete Linstor resource In Use? #27

Open leiw324 opened 9 months ago

leiw324 commented 9 months ago

Hello,

Version: image

VirtualBox version: 7.0

I created iscsi target from this guildeline: https://linbit.com/blog/create-a-highly-available-iscsi-target-using-linstor-gateway/

with three hosts Linstor01 Linstor02 Linstor03

I deleted Linstor01 Linstor03 iscsi target, and then deleted my-target resource (Linstor01 and Linstor03) but can't delete Linstor02 In Use, how to unmount In Use resource?

image

Thanks

leiw324 commented 9 months ago

Hello,

After reboot, the status is un use, I can delete the resource.

Now I have another question, I used linstor-gateway created iscsi, but the iscsi IP can't ping, so I cannot use iscsi initiator to connect it.

Thanks

leiw324 commented 9 months ago

Nobody home?

chrboe commented 9 months ago

If you use linstor-gateway to create the resource, it will continually try to start the iSCSI target, so the LINSTOR resource will be in use.

To delete the linstor-gateway resource, use the appropriate linstor-gateway iscsi delete command.

leiw324 commented 8 months ago

Hello Christoph,

I don’t know why after rebooted all nodes that can delete the iscsi target, no more iscsi in list: @.***

No more resource. @.***

Now the problem is I can’t create iscsi-target. @.***

Storage-pool is normal. @.***

Thanks

From: Christoph Böhmwalder @.> Sent: Tuesday, December 19, 2023 7:53 PM To: LINBIT/linstor-gateway @.> Cc: Wilson Kwok @.>; Author @.> Subject: Re: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

If you use linstor-gateway to create the resource, it will continually try to start the iSCSI target, so the LINSTOR resource will be in use.

To delete the linstor-gateway resource, use the appropriate linstor-gateway iscsi delete command.

— Reply to this email directly, view it on GitHubhttps://github.com/LINBIT/linstor-gateway/issues/27#issuecomment-1862619101, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIBZRUH7SP4SVFWPBNO2ZR3YKF5YXAVCNFSM6AAAAABA2V4IISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRSGYYTSMJQGE. You are receiving this because you authored the thread.Message ID: @.**@.>>

Wilson Kwok Marvelconnect Technology Ltd Unit 1701, 17/F, Enterprise Square Three, 39 Wang Chiu Road, Kowloon Bay, Kowloon, Hong Kong phone: 3116 7505 mobile: 6053 2013 @.*** marvelconnect.comhttp://marvelconnect.com

leiw324 commented 8 months ago

Hello Christoph,

Can you help?

From: Wilson Kwok Sent: Thursday, December 21, 2023 1:11 AM To: LINBIT/linstor-gateway @.>; LINBIT/linstor-gateway @.> Cc: Author @.***> Subject: RE: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

Hello Christoph,

I don’t know why after rebooted all nodes that can delete the iscsi target, no more iscsi in list: @.***

No more resource. @.***

Now the problem is I can’t create iscsi-target. @.***

Storage-pool is normal. @.***

Thanks

From: Christoph Böhmwalder @.**@.>> Sent: Tuesday, December 19, 2023 7:53 PM To: LINBIT/linstor-gateway @.**@.>> Cc: Wilson Kwok @.**@.>>; Author @.**@.>> Subject: Re: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

If you use linstor-gateway to create the resource, it will continually try to start the iSCSI target, so the LINSTOR resource will be in use.

To delete the linstor-gateway resource, use the appropriate linstor-gateway iscsi delete command.

— Reply to this email directly, view it on GitHubhttps://github.com/LINBIT/linstor-gateway/issues/27#issuecomment-1862619101, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIBZRUH7SP4SVFWPBNO2ZR3YKF5YXAVCNFSM6AAAAABA2V4IISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRSGYYTSMJQGE. You are receiving this because you authored the thread.Message ID: @.**@.>>

Wilson Kwok Marvelconnect Technology Ltd Unit 1701, 17/F, Enterprise Square Three, 39 Wang Chiu Road, Kowloon Bay, Kowloon, Hong Kong phone: 3116 7505 mobile: 6053 2013 @.*** marvelconnect.comhttp://marvelconnect.com

leiw324 commented 8 months ago

Hello Christoph,

I creating new testing env with three satellite and one controller, I found out the following command is no file in examples directory. @.***

So cannot pass linstor-gateway check-health, thanks. @.***

From: Wilson Kwok Sent: Thursday, December 28, 2023 12:05 PM To: 'LINBIT/linstor-gateway' @.>; 'LINBIT/linstor-gateway' @.> Cc: 'Author' @.***> Subject: RE: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

Hello Christoph,

Can you help?

From: Wilson Kwok Sent: Thursday, December 21, 2023 1:11 AM To: LINBIT/linstor-gateway @.**@.>>; LINBIT/linstor-gateway @.**@.>> Cc: Author @.**@.>> Subject: RE: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

Hello Christoph,

I don’t know why after rebooted all nodes that can delete the iscsi target, no more iscsi in list: @.***

No more resource. @.***

Now the problem is I can’t create iscsi-target. @.***

Storage-pool is normal. @.***

Thanks

From: Christoph Böhmwalder @.**@.>> Sent: Tuesday, December 19, 2023 7:53 PM To: LINBIT/linstor-gateway @.**@.>> Cc: Wilson Kwok @.**@.>>; Author @.**@.>> Subject: Re: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

If you use linstor-gateway to create the resource, it will continually try to start the iSCSI target, so the LINSTOR resource will be in use.

To delete the linstor-gateway resource, use the appropriate linstor-gateway iscsi delete command.

— Reply to this email directly, view it on GitHubhttps://github.com/LINBIT/linstor-gateway/issues/27#issuecomment-1862619101, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIBZRUH7SP4SVFWPBNO2ZR3YKF5YXAVCNFSM6AAAAABA2V4IISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRSGYYTSMJQGE. You are receiving this because you authored the thread.Message ID: @.**@.>>

Wilson Kwok Marvelconnect Technology Ltd Unit 1701, 17/F, Enterprise Square Three, 39 Wang Chiu Road, Kowloon Bay, Kowloon, Hong Kong phone: 3116 7505 mobile: 6053 2013 @.*** marvelconnect.comhttp://marvelconnect.com

leiw324 commented 8 months ago

@.***

From: Wilson Kwok Sent: Thursday, December 28, 2023 3:17 PM To: 'LINBIT/linstor-gateway' @.>; 'LINBIT/linstor-gateway' @.> Cc: 'Author' @.***> Subject: RE: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

Hello Christoph,

I creating new testing env with three satellite and one controller, I found out the following command is no file in examples directory. @.***

So cannot pass linstor-gateway check-health, thanks. @.***

From: Wilson Kwok Sent: Thursday, December 28, 2023 12:05 PM To: 'LINBIT/linstor-gateway' @.**@.>>; 'LINBIT/linstor-gateway' @.**@.>> Cc: 'Author' @.**@.>> Subject: RE: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

Hello Christoph,

Can you help?

From: Wilson Kwok Sent: Thursday, December 21, 2023 1:11 AM To: LINBIT/linstor-gateway @.**@.>>; LINBIT/linstor-gateway @.**@.>> Cc: Author @.**@.>> Subject: RE: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

Hello Christoph,

I don’t know why after rebooted all nodes that can delete the iscsi target, no more iscsi in list: @.***

No more resource. @.***

Now the problem is I can’t create iscsi-target. @.***

Storage-pool is normal. @.***

Thanks

From: Christoph Böhmwalder @.**@.>> Sent: Tuesday, December 19, 2023 7:53 PM To: LINBIT/linstor-gateway @.**@.>> Cc: Wilson Kwok @.**@.>>; Author @.**@.>> Subject: Re: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

If you use linstor-gateway to create the resource, it will continually try to start the iSCSI target, so the LINSTOR resource will be in use.

To delete the linstor-gateway resource, use the appropriate linstor-gateway iscsi delete command.

— Reply to this email directly, view it on GitHubhttps://github.com/LINBIT/linstor-gateway/issues/27#issuecomment-1862619101, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIBZRUH7SP4SVFWPBNO2ZR3YKF5YXAVCNFSM6AAAAABA2V4IISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRSGYYTSMJQGE. You are receiving this because you authored the thread.Message ID: @.**@.>>

Wilson Kwok Marvelconnect Technology Ltd Unit 1701, 17/F, Enterprise Square Three, 39 Wang Chiu Road, Kowloon Bay, Kowloon, Hong Kong phone: 3116 7505 mobile: 6053 2013 @.*** marvelconnect.comhttp://marvelconnect.com

leiw324 commented 8 months ago

Hello Christoph,

Are you here for help?

Thanks

From: Wilson Kwok Sent: Thursday, December 28, 2023 6:07 PM To: LINBIT/linstor-gateway @.>; LINBIT/linstor-gateway @.> Cc: Author @.***> Subject: RE: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

@.***

From: Wilson Kwok Sent: Thursday, December 28, 2023 3:17 PM To: 'LINBIT/linstor-gateway' @.**@.>>; 'LINBIT/linstor-gateway' @.**@.>> Cc: 'Author' @.**@.>> Subject: RE: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

Hello Christoph,

I creating new testing env with three satellite and one controller, I found out the following command is no file in examples directory. @.***

So cannot pass linstor-gateway check-health, thanks. @.***

From: Wilson Kwok Sent: Thursday, December 28, 2023 12:05 PM To: 'LINBIT/linstor-gateway' @.**@.>>; 'LINBIT/linstor-gateway' @.**@.>> Cc: 'Author' @.**@.>> Subject: RE: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

Hello Christoph,

Can you help?

From: Wilson Kwok Sent: Thursday, December 21, 2023 1:11 AM To: LINBIT/linstor-gateway @.**@.>>; LINBIT/linstor-gateway @.**@.>> Cc: Author @.**@.>> Subject: RE: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

Hello Christoph,

I don’t know why after rebooted all nodes that can delete the iscsi target, no more iscsi in list: @.***

No more resource. @.***

Now the problem is I can’t create iscsi-target. @.***

Storage-pool is normal. @.***

Thanks

From: Christoph Böhmwalder @.**@.>> Sent: Tuesday, December 19, 2023 7:53 PM To: LINBIT/linstor-gateway @.**@.>> Cc: Wilson Kwok @.**@.>>; Author @.**@.>> Subject: Re: [LINBIT/linstor-gateway] How to delete Linstor resource In Use? (Issue #27)

If you use linstor-gateway to create the resource, it will continually try to start the iSCSI target, so the LINSTOR resource will be in use.

To delete the linstor-gateway resource, use the appropriate linstor-gateway iscsi delete command.

— Reply to this email directly, view it on GitHubhttps://github.com/LINBIT/linstor-gateway/issues/27#issuecomment-1862619101, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIBZRUH7SP4SVFWPBNO2ZR3YKF5YXAVCNFSM6AAAAABA2V4IISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRSGYYTSMJQGE. You are receiving this because you authored the thread.Message ID: @.**@.>>

Wilson Kwok Marvelconnect Technology Ltd Unit 1701, 17/F, Enterprise Square Three, 39 Wang Chiu Road, Kowloon Bay, Kowloon, Hong Kong phone: 3116 7505 mobile: 6053 2013 @.*** marvelconnect.comhttp://marvelconnect.com