linstor-gateway icon indicating copy to clipboard operation
linstor-gateway copied to clipboard

How to delete Linstor resource In Use?

Open leiw324 opened this issue 2 years ago • 8 comments

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 avatar Dec 12 '23 18:12 leiw324

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 avatar Dec 13 '23 06:12 leiw324

Nobody home?

leiw324 avatar Dec 17 '23 14:12 leiw324

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.

chrboe avatar Dec 19 '23 11:12 chrboe

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 avatar Dec 20 '23 17:12 leiw324

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 avatar Dec 28 '23 04:12 leiw324

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 avatar Dec 28 '23 07:12 leiw324

@.***

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 avatar Dec 28 '23 10:12 leiw324

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

leiw324 avatar Jan 12 '24 13:01 leiw324