Skip to contentSkip to conversation

Ambiguous Debug Message

ceph-deploy Shinobu Kinjo 2 participants 3 messages Sep 1, 2015 – Sep 3, 2015 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

A message that is not in the archive (sent off-list or not yet received): CAC-Np1wp0R4Z26JnpEi6S8N6AWXQS-J+FNBZbCNzYUgxUDnbfQ@mail.gmail.com

#3 lore raw
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 ceph01

I 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.27

Shinobu
--
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

#4 lore raw
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