Ambiguous Debug Message
Hi,
When I ran:
$ sudo ./ceph-deploy --username ceph install ceph01
I ended up with:
[ceph_deploy][ERROR ] RuntimeError: connecting to host: ceph@ceph01 resulted in errors: HostNotFound ceph@ceph01
That's fine. I need to do something.
But actual reason of failure was:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
I think we should change such an ambiguous [ERROR ] message to more reasonable one so that nobody doesn't confuse any hostname configuration?
Thought?
-
$ ./ceph-deploy --version 1.5.27
Shinobu
Quoted 6 lines · Alfredo Deza
Quoted 3 lines · Shinobu Kinjo
Hi,
Quoted 10 lines
Quoted 8 lines
When I ran:
$ sudo ./ceph-deploy --username ceph install ceph01I ended up with:
[ceph_deploy][ERROR ] RuntimeError: connecting to host: ceph@ceph01
resulted in errors: HostNotFound ceph@ceph01
This is a problem from the underlying library that ceph-deploy uses that treats the inability to connect to a host as a "HostNotFound" error which may not be correct.
I opened an issue to follow up on this:
https://bitbucket.org/hpk42/execnet/issues/48/hostnotfound-is-raised-when-ssh-reports-a
But in the meantime, I think that ceph-deploy could report that it couldn't connect and suggest that the user should try to
SSH directly to the host. Would that be an acceptable report? (given that we don't have access to what SSH returned as the error message)
Quoted 25 lines
Quoted 23 lines
That's fine. I need to do something.
But actual reason of failure was:Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
I think we should change such an ambiguous [ERROR ] message to more reasonable one so that nobody doesn't confuse any hostname configuration?
Thought?
-
$ ./ceph-deploy --version 1.5.27Shinobu
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines
But in the meantime, I think that ceph-deploy could report that it couldn't connect and suggest that the user should try to
SSH directly to the host. Would that be an acceptable report? (given that we
Yes, that's reasonable. We have to see some kind of alternative caution. Thank you for your reply and comment anyhow.
Shinobu