Bug 1489447
| Summary: | invalid --ssh-config path is not reported correctly, allowing checks | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Persona non grata <nobody+410372> |
| Component: | Ceph-Medic | Assignee: | Andrew Schoen <aschoen> |
| Status: | CLOSED ERRATA | QA Contact: | Persona non grata <nobody+410372> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.0 | CC: | adeza, gmeno, hnallurv, nobody+410372 |
| Target Milestone: | rc | ||
| Target Release: | 3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | RHEL: ceph-medic-1.0.3-1.el7cp Ubuntu: ceph-medic_1.0.3-2redhat1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-05 23:42:05 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-09-07 13:19:55 UTC
Can't open user config file /root/.cephmeddic.conf: No such file or directory and --> RuntimeError: All nodes failed to connect. Cannot run any checks seem pretty descriptive and readable to me Would you please suggest how it could be improved? Hi Gregory, --ssh-config is an option if configuration is changed, will specify the path to the config. By default, config will be there,so If specified while running checks,it is returning error. If the error message is user friendly,that would be nice. (In reply to Shreekar from comment #3) > Hi Gregory, --ssh-config is an option if configuration is changed, will > specify the path to the config. It wasn't clear from the description of this BZ that ceph-medic was being used with that flag. Could you confirm the exact flags you are using to trigger this behavior? > By default, config will be there,so If > specified while running checks,it is returning error. If the error message > is user friendly,that would be nice. How are you specifying this? What would a 'user friendly error message' be like in this context? Could you elaborate a bit more? If I give invalid path to ssh_config, ie. 'ceph-medic --ssh-config /etc/ssh/ssh_config_123 check', I expect it to print error message as "/etc/ssh/ssh_config_123 check does not exist. Please provide valid ssh_config file" . This will help me to identify the issue faster. 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:3387 |