resource-agents icon indicating copy to clipboard operation
resource-agents copied to clipboard

Iscsi target stop in failed resource state

Open jiri-lunacek opened this issue 6 years ago • 4 comments

When the LUN resource is in failed state e.g. the backing store file or device is not available, this prevented targetcli cleanup.

When the backing store file or device comes back online and admin issues resource cleanup this resulted in targetcli config being partially present and start operation failing.

I'm not sure why this block is there in the first place because subsequent code is prepared for partial targetcli config status.

Is there a reason for stop operation to return success every time the resource is not-running?

jiri-lunacek avatar Apr 09 '19 15:04 jiri-lunacek

Can one of the admins verify this patch?

knet-ci-bot avatar Apr 09 '19 15:04 knet-ci-bot

This pull request is only for commit f2f551c6. The previous commits are discussed in another pull request.

jiri-lunacek avatar Apr 09 '19 15:04 jiri-lunacek

ok to test

krig avatar Apr 16 '19 18:04 krig

ok to test

oalbrigt avatar Apr 29 '19 11:04 oalbrigt