Re: initial attempt at ceph-deploy fails name resolution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hm.  Seems like the problem might be deeper than I thought.  It doesn't seem to resolve FQDNs either, although it appears to be connected remotely, which would have required some sort of name resolution.

--rich

ceph@adriatic:~/my-cluster$ ceph-deploy new adriatic.noir.com
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.20): /usr/bin/ceph-deploy new adriatic.noir.com
[ceph_deploy.new][DEBUG ] Creating new cluster named ceph
[ceph_deploy.new][INFO  ] making sure passwordless SSH succeeds
[adriatic.noir.com][DEBUG ] connection detected need for sudo
[adriatic.noir.com][DEBUG ] connected to host: adriatic.noir.com
[adriatic.noir.com][DEBUG ] detect platform information from remote host
[adriatic.noir.com][DEBUG ] detect machine type
[adriatic.noir.com][DEBUG ] find the location of an executable
[adriatic.noir.com][INFO  ] Running command: sudo /bin/ip link show
[adriatic.noir.com][INFO  ] Running command: sudo /bin/ip addr show
[adriatic.noir.com][DEBUG ] IP addresses found: ['192.168.1.76']
[ceph_deploy.new][DEBUG ] Resolving host adriatic.noir.com
[ceph_deploy][ERROR ] UnableToResolveError: Unable to resolve host: adriatic.noir.com


On 11/30/14 12:53 , K Richard Pixley wrote:
My initial attempt at ceph-deploy is failing on name resolution. Yet ping, ssh, etc, all work.

What is the name resolution test my machine needs to pass in order for ceph-deploy to work?

--rich

ceph@adriatic:~/my-cluster$ ceph-deploy new adriatic
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.20): /usr/bin/ceph-deploy new adriatic
[ceph_deploy.new][DEBUG ] Creating new cluster named ceph
[ceph_deploy.new][INFO  ] making sure passwordless SSH succeeds
[adriatic][DEBUG ] connection detected need for sudo
[adriatic][DEBUG ] connected to host: adriatic
[adriatic][DEBUG ] detect platform information from remote host
[adriatic][DEBUG ] detect machine type
[adriatic][DEBUG ] find the location of an executable
[adriatic][INFO  ] Running command: sudo /bin/ip link show
[adriatic][INFO  ] Running command: sudo /bin/ip addr show
[adriatic][DEBUG ] IP addresses found: ['192.168.1.76']
[ceph_deploy.new][DEBUG ] Resolving host adriatic
[ceph_deploy][ERROR ] UnableToResolveError: Unable to resolve host: adriatic

ceph@adriatic:~/my-cluster$ ping -c 2 adriatic
PING adriatic.noir.com (127.0.1.1) 56(84) bytes of data.
64 bytes from adriatic.noir.com (127.0.1.1): icmp_seq=1 ttl=64 time=0.043 ms
64 bytes from adriatic.noir.com (127.0.1.1): icmp_seq=2 ttl=64 time=0.059 ms

--- adriatic.noir.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.043/0.051/0.059/0.008 ms
ceph@adriatic:~/my-cluster$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.1.13
nameserver 198.144.192.2
nameserver 198.144.192.4
search noir.com
domain noir.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux