Bug 1480087
Summary: | In ceph-medic, few commands are not performing with both valid and invalid values ,as expected. | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Persona non grata <nobody+410372> |
Component: | Ceph-Medic | Assignee: | Andrew Schoen <aschoen> |
Status: | CLOSED WORKSFORME | QA Contact: | Andrew Schoen <aschoen> |
Severity: | low | Docs Contact: | Andrew Schoen <aschoen> |
Priority: | low | ||
Version: | 3.0 | CC: | adeza, gmeno, icolle, mhackett, nobody+410372 |
Target Milestone: | rc | ||
Target Release: | 3.1 | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-01-09 07:26:12 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
Persona non grata
2017-08-10 06:34:28 UTC
Please include a copy of all tracebacks found for this issue. Also, please create separate BZs for each of the issues found, otherwise it is hard to track and correlate fixes to BZs Shreekar, can you please see Alfredo's request above and split this into separate bz's with tracebacks included as appropriate? Hi, sorry for late response. Here are the tracebacks. "ceph-medic --inventory <invalid path> --ssh-config <valid path> check " Traceback (most recent call last): File "/usr/bin/ceph-medic", line 6, in <module> main.Medic() File "/usr/lib/python2.7/dist-packages/ceph_medic/main.py", line 44, in __init__ self.main(argv) File "/usr/lib/python2.7/dist-packages/ceph_medic/decorators.py", line 45, in newfunc return f(*a, **kw) File "/usr/lib/python2.7/dist-packages/ceph_medic/main.py", line 120, in main ceph_medic.config.get('--inventory', self.hosts_file))) File "/usr/lib/python2.7/dist-packages/ceph_medic/util/configuration.py", line 106, in load_hosts return AnsibleInventoryParser(_path) File "/usr/lib/python2.7/dist-packages/ceph_medic/util/configuration.py", line 280, in __init__ with open(filename, 'r') as fh: IOError: [Errno 2] No such file or directory: '/etc/ansible/hostss' "ceph-medic --inventory /path/to/hosts --ssh-config <invalid path>&<valid path> check"== Can't open user config file /root/.cephmeddic.conf: No such file or directory Host: magna118.ceph.redhat.com connection: [failed ] Can't open user config file /root/.cephmeddic.conf: No such file or directory Host: magna118.ceph.redhat.com connection: [failed ] Can't open user config file /root/.cephmeddic.conf: No such file or directory Host: magna101.ceph.redhat.com connection: [failed ] Can't open user config file /root/.cephmeddic.conf: No such file or directory Host: magna102.ceph.redhat.com connection: [failed ] Can't open user config file /root/.cephmeddic.conf: No such file or directory Host: magna114.ceph.redhat.com connection: [failed ] Can't open user config file /root/.cephmeddic.conf: No such file or directory Host: magna004.ceph.redhat.com connection: [failed ] Can't open user config file /root/.cephmeddic.conf: No such file or directory Host: magna118.ceph.redhat.com connection: [failed ] Collection failed! --> RuntimeError: All nodes failed to connect. Cannot run any checks "ceph-medic --invendffdtory /path/to/hosts --ssh-confffig /path/to/ssh_config checck", for misspelled options Unknown command(s): Shreekar, thank you for the added information. To better track the changes needed to address these, please open separate BZs against the problems found. Do link them back to this ticket so we can find them when you do. |