Bug 1324231
Summary: | [ceph-ansible] : purge cluster process should not check for OSD devices on MON and rgw nodes and should not give error 'Device not defined' | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Storage Console | Reporter: | Rachana Patel <racpatel> |
Component: | ceph-ansible | Assignee: | Sébastien Han <shan> |
Status: | CLOSED ERRATA | QA Contact: | Vasishta <vashastr> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2 | CC: | adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, kdreyer, nthomas, racpatel, sankarshan, seb, shan, tchandra, uboppana |
Target Milestone: | rc | ||
Target Release: | 2 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ceph-ansible-2.2.1-1.el7scon | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-19 13:14:42 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: | |
Embargoed: |
Description
Rachana Patel
2016-04-05 22:04:12 UTC
I think what this error message is saying is that you must specify which device you used for the OSDs since guessing wrong could be disastrous. Would you please try again? using something like --extra-vars '{"devices": ["/dev/YOUR_DEVICE_HERE"]}' when invoking the purge? Gregory, I understand we should give devices for OSD node but bug here is about MON nodes. As i mentioned in Additional Info - magna042, magna051, magna063 are MON nodes and error is 'ASK: [check for a device list] *********************************************** fatal: [magna042] => error while evaluating conditional: devices is not defined and osd_auto_discovery' So I think it should not complain for MON nodes ( Complain about one OSD node after that is acceptable) please link upstream issue ansible version? After further discussion with Andrew, we are not actually testing purging an RGW node in CI. Our CI system only tests purging 1-OSD 1-MON cluster, and we can't guarantee that purging anything else works properly today. We now test purging a larger cluster upstream consisting of 3 MONs, 1 OSD, 1 MDS, 1 RGW and 1 Client node. I believe this ticket should be resolved now. Verified in build: ceph-ansible-2.2.4-1.el7scon.noarch 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-2017:1496 |