| Summary: | [ceph-iscsi-config] rbd-target-gw crash if the running host is not defined to the active configuration | ||
|---|---|---|---|
| Product: | Red Hat Storage Console | Reporter: | Paul Cuzner <pcuzner> |
| Component: | ceph-ansible | Assignee: | Paul Cuzner <pcuzner> |
| Status: | CLOSED ERRATA | QA Contact: | Tejas <tchandra> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 2 | CC: | adeza, aschoen, ceph-eng-bugs, ceph-qe-bugs, gmeno, jdillama, kdreyer, kurs, nthomas, pcuzner, sankarshan, tchandra |
| Target Milestone: | --- | ||
| Target Release: | 2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 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:42:25 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: | |
|
Description
Paul Cuzner
2016-10-30 22:41:02 UTC
Please test against 1.5test release Paul, Had a question here. Should'nt the rbd-target-gw service be masked when the gateway is configured on the node? the steps I tried: 1. started the rbd-target-gw service on a node which does not have the gateway configured. 2. configred the iscsi gateway on that node. 3. I am still able to manipulate the rbd-target-gw service. Let me know if I have misunderstood this. Thanks, Tejas What is the impact of this issue? Is this the admin starting the service before they add the node the playbook and re-run ansible? If so, that seems like this could be documented and fixed in the next release. Issue is resolved with 1.5 released to QE today (fri 04 nov) Crash is exactly that - admin starts the service, prior to any playbook run. Rather than let the daemon fail and cause confusion, the code now checks if there is anything to do, no work = no-op. (In reply to Tejas from comment #4) > Paul, > > Had a question here. Should'nt the rbd-target-gw service be masked when > the gateway is configured on the node? > > the steps I tried: > 1. started the rbd-target-gw service on a node which does not have the > gateway configured. > 2. configred the iscsi gateway on that node. > 3. I am still able to manipulate the rbd-target-gw service. > > Let me know if I have misunderstood this. > > Thanks, > Tejas rbd-target-gw replaces the target service - so it needs to be present and active on all nodes. It is responsible for rebuilding the iscsi configuration following a reboot, by reading and applying the current configuration object. if you start the rbd-target-gw on a gateway that is not yet configured, the daemon should not crash. please retest this scenario on the 1.5 downstream release. Verified in build: ceph-iscsi-config-1.5-1.el7cp No crash seen. 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 |