Comments (7)
There is no API document because there is no supported API yet.
from ceph-iscsi-cli.
Oh, thank you for your answer
from ceph-iscsi-cli.
As Mike said, no 'supported/stable' API yet. But the api is used by the cli, so if you want a list of what is currently available you can just hit the /api endpoint once you have rbd-target-api daemon started. eg. curl --insecure --user admin:admin -X GET http://192.168.122.69:5000/api or use your favourite rest api interface......
from ceph-iscsi-cli.
@pcuzner,thinks,Your answer is very helpful to me , I just want to try to control the gateway through Web UI,
from ceph-iscsi-cli.
Hi I verified all the API in the list( from curl --insecure --user admin:admin -X GET http://192.168.122.69:5000/api ),I find that most of them are available and all gateways are synchronized with api change.But when I used "curl --insecure --user admin:admin -X PUT http://192.168.122.69:5000/api/target/iqn.2003-01.com.redhat.iscsi-gw0", I made a mistake, It is found that local and other gateways are not effective through gwcli ,the targetcli finds that only the local is effective, so, Is that why Mike says not support API ?
from ceph-iscsi-cli.
I think that specific issue was just fixed the other day in this commit:
The general reason we said we do not have a supported API yet, is because the only tool using it is gwcli, and we might have made some mistakes in the design and we also do not want to make the API gwcli specific.
We are open to making a supported API though.
from ceph-iscsi-cli.
Yes, I can successfully create target after updating the code and I'm not confused anymore. Thank you for your help.
from ceph-iscsi-cli.
Related Issues (20)
- Create disk in Erasure Pool (--data-pool)
- create disk is too slow HOT 16
- ceph mimic iscsi issue HOT 4
- create Failed : 500 INTERNAL SERVER ERROR HOT 4
- cannot remove client iqn when name it in capital letters, but can be created HOT 4
- error on rbd-target-gw restart affects second gateway HOT 1
- rollback of snapshot:LUN deactivate failure - in-use HOT 1
- gwcli fails on creating disk HOT 4
- About multipath gateway down someone
- API with authentication response is very slow HOT 1
- gwcli KeyError: 'groups' HOT 4
- gwcli: KeyError rbd_name.split HOT 1
- gwcli: Gateway status UNKNOWN HOT 2
- AttributeError: 'module' object has no attribute 'WriteOpCtx' HOT 2
- Unable to access the configuration object : REST API failure, code : 500 HOT 1
- " KeyError: 'targets' " when adding second gateway on ceph-iscsi on ubuntu - BUG
- Trouble: gwcli.utils.GatewayAPIError: Unknown error connecting to http://localhost:5001/api/config
- Help! The rbd-target-api service of iSCSI gw cannot be started HOT 1
- rbd-target-gw.service: Failed with result 'exit-code'.
- Cannot remove a non-existent gatway by confirm=true HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ceph-iscsi-cli.