Comments (5)
No it's not a bug. The idea is that once a host is a member of a group, that's where lun allocation policy is done. When you remove a host from a host group, the luns allocated still remain since we don't know whether there are services still running on the host that require the luns - so leaving them there is the safe thing to do.
Maybe you could raise an RFE for a purge option, so the host is removed from the group and it's luns get removed as a non-default behavior?
You can't add a host with luns to a host group, since it's luns and lun-ids may conflict with the lun policy and lun-id's within the host group. To add a host it needs to be unused ie. no luns allocated. With a host group the luns and lun-ids are the same for all members of the group - that's why the host needs to be 'empty'.
from ceph-iscsi-cli.
Thanks for your answer. Very clearly.
from ceph-iscsi-cli.
@vatelzh, I'm sorry to disturb you, I want to ask you that your group added host has come into effect?When I add host and disk for group, I quit gwcli, and then from new entry, I find that the configuration of host and disk on group has disappeared.
from ceph-iscsi-cli.
I'm sorry to disturb you, I want to ask you that your group added host has come into effect?
@letterwuyu yes.
When I add host and disk for group, I quit gwcli, and then from new entry, I find that the configuration of host and disk on group has disappeared.
could you show the output of gwcli and targetcli and using rados -p rbd get gateway.conf gateway.conf
to checkout if the relationship is in this file.
from ceph-iscsi-cli.
@vatelzh thanks for your answer.
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.