Open dazhi509 opened 5 years ago
I used restapi to create a image as below, but failed and feedback as bellow:
[root@node11 ~]# curl --insecure --user admin:admin -d mode=create -d size=10g -d pool=rbd -X PUT http://10.10.10.10:5001/api/disk/rbd/new3 { "message": "Image rbd/new3 does not exist" }
all functions are normal in old version,:
old version
ceph-iscsi-cli.noarch=2.6-1.el7.centos ceph-iscsi-config.noarch=2.5-1.el7.centos python-rtslib.noarch= 2.1.67-1 targetcli-fb.noarch=2.1.fb48-1 tcmu-runner=1.3.0
I updated tools recently and now they are:
ceph-iscsi=3.0 rtslib-fb=-2.1.fb69 targetcli-fb=2.1.fb49
What error are you seeing? You also need to pass create_image=true as well if the image doesn't already exist.
create_image=true
I used restapi to create a image as below, but failed and feedback as bellow:
all functions are normal in
old version
,:I updated tools recently and now they are: