Skip to content

ceph-iscsi-cli: fix bug about the command "clearconfig confirm=true" … - #83

Open
umuzhaohui wants to merge 1 commit into
ceph:masterfrom
umuzhaohui:wip-fix-1
Open

umuzhaohui wants to merge 1 commit into
ceph:masterfrom
umuzhaohui:wip-fix-1

Conversation

@umuzhaohui

Copy link
Copy Markdown

…in directory "/iscsi-target"

when execute command "clearconfig confirm=true" in directory "/iscsi-target",
the gwcli will send DELETE message to http://node0:5000/api/gateway/node0 and
http://node1:5000/api/gateway/node1 ****, http://node0:5000/api/gateway/node0
and http://node1:5000/api/gateway/node1 should define the function to process
the DELETE message

Signed-off-by: Zhaohui Yang yangzhaohui@umcloud.com

…in directory "/iscsi-target"

when execute command "clearconfig confirm=true" in directory "/iscsi-target",
the gwcli will send DELETE message to http://node0:5000/api/gateway/node0 and
http://node1:5000/api/gateway/node1 ****, http://node0:5000/api/gateway/node0
and http://node1:5000/api/gateway/node1 should define the function to process
the DELETE message

Signed-off-by: Zhaohui Yang <yangzhaohui@umcloud.com>
@dillaman

Copy link
Copy Markdown

@umuzhaohui I might be missing something, but it looks like the DELETE call from gwcli is sent to api/_gateway/<name> [1]

[1] https://github.com/umuzhaohui/ceph-iscsi-cli/blob/53424cca747d9ef51fe3da21ca8ccfa808ca3431/gwcli/gateway.py#L329

@umuzhaohui

Copy link
Copy Markdown
Author

OK,add this code to the project, the DELETE call also from gwcli is sent to api/gateway/,It's up to you,thank you for your review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants