ceph / ceph/ceph-iscsi-cli

rollback of snapshot:LUN deactivate failure - in-use

Open
#149 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
26
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I have a question about the rollback of snapshot.
Here is the current situation, a failed message called 'LUN deactivate failure - in-use ' returned when I try to send a rollback request to the iscsi-gw .and a successful message returned only if I logout all the hosts under the current iscsi-target.
Since there is no need to logout all the hosts under the current iscsi-target, we should be able to rollback the snapshot when we have logout the host to which the image that needs rollback belongs.
Here is my solution . your opinions are greatly welcomed.

[rbd-target-api.py.txt](https://github.com/ceph/ceph-iscsi-cli/files/2801845/rbd-target-api.py.txt)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.