| Summary: | [ceph-iscsi-ansible] Unable to use the same image name from different rados pools | ||
|---|---|---|---|
| Product: | Red Hat Storage Console | Reporter: | Paul Cuzner <pcuzner> |
| Component: | ceph-ansible | Assignee: | Paul Cuzner <pcuzner> |
| Status: | CLOSED ERRATA | QA Contact: | ceph-qe-bugs <ceph-qe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2 | CC: | adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, jdillama, kdreyer, mchristi, nthomas, sankarshan, tchandra |
| Target Milestone: | --- | ||
| Target Release: | 2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-iscsi-ansible-1.5-1.el7scon ceph-iscsi-config-1.5-1.el7cp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-22 23:41:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
brew builds to test against http://download.eng.bos.redhat.com/brewroot/packages/ceph-iscsi-config/1.4/1.el7cp/noarch/ceph-iscsi-config-1.4-1.el7cp.noarch.rpm http://download.eng.bos.redhat.com/brewroot/packages/ceph-iscsi-ansible/1.4/1.el7scon/noarch/ceph-iscsi-ansible-1.4-1.el7scon.noarch.rpm Verified in build: ceph-iscsi-ansible-1.5-1.el7test.noarch ceph-iscsi-config-1.5-1.el7test.noarch 1.5 downstream builds made available today for QE Verified in ceph-iscsi-ansible-1.5-1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:2817 |
Description of problem: When defining the rbd's through ceph-iscsi-ansible, you provide a pool and image name. The issue is when the image is defined to the lio gateways it only uses the image component - as a result creating a configuration with the same image name from 2 or more pools fails. Version-Release number of selected component (if applicable): 1.3 and below of ceph-iscsi-ansible/ceph-iscsi-config How reproducible: Always Steps to Reproduce: 1.Create a cluster with multiple pools 2.attempt to create a gateway configuration where the same image name is used from multiple pools 3. Actual results: failed: [ceph-1] => (item={'image': 'ansible4', 'host': 'ceph-1.test.lab', 'pool': 'iscsi', 'size': '5G'}) => {"failed": true, "item": {"host": "ceph-1.test.lab", "image": "ansible4", "pool": "iscsi", "size": "5G"}} msg: failed to add ansible4 to LIO - error(Storage object block/ansible4 exists) Expected results: configuration tools should allow the same image name to be used for rbd's backed by different pools Additional info: Current code level uses just the image name when creating a storage object within LIO - which won't be unique when dealing with multiple pools