Hi ceph-users, I deployed a cluster successfully in VMs, and today I tried to deploy a cluster in physical nodes. However, I came across a problem when I started creating a monitor.
-bash-4.1$ ceph-deploy mon create xxxxx [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts xxxxxxxx [ceph_deploy.mon][DEBUG ] detecting platform for host web2 ... [ceph_deploy.sudo_pushy][DEBUG ] will use a remote connection with sudo [ceph_deploy.mon][INFO ] distro info: RedHatEnterpriseServer 6.4 Santiago [web2][DEBUG ] determining if provided host has same hostname in remote [web2][DEBUG ] deploying mon to web2 [web2][DEBUG ] remote hostname: web2 [web2][INFO ] write cluster configuration to /etc/ceph/{cluster}.conf [web2][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-web2/done [web2][INFO ] create a done file to avoid re-doing the mon deployment [web2][INFO ] create the init path if it does not exist [web2][INFO ] locating `service` executable... [web2][INFO ] found `service` executable: /sbin/service ssh: Could not resolve hostname web2: Name or service not known Traceback (most recent call last): File "/usr/bin/ceph-deploy", line 21, in <module> sys.exit(main()) File "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line 83, in newfunc return f(*a, **kw) File "/usr/lib/python2.6/site-packages/ceph_deploy/cli.py", line 147, in main return args.func(args) File "/usr/lib/python2.6/site-packages/ceph_deploy/mon.py", line 246, in mon mon_create(args) File "/usr/lib/python2.6/site-packages/ceph_deploy/mon.py", line 105, in mon_create distro.mon.create(distro, rlogger, args, monitor_keyring) File "/usr/lib/python2.6/site-packages/ceph_deploy/hosts/centos/mon/create.py", line 15, in create rconn = get_connection(hostname, logger) File "/usr/lib/python2.6/site-packages/ceph_deploy/connection.py", line 13, in get_connection sudo=needs_sudo(), File "/usr/lib/python2.6/site-packages/ceph_deploy/lib/remoto/connection.py", line 12, in __init__ self.gateway = execnet.makegateway('ssh=%s' % hostname) File "/usr/lib/python2.6/site-packages/ceph_deploy/lib/remoto/lib/execnet/multi.py", line 89, in makegateway gw = gateway_bootstrap.bootstrap(io, spec) File "/usr/lib/python2.6/site-packages/ceph_deploy/lib/remoto/lib/execnet/gateway_bootstrap.py", line 70, in bootstrap bootstrap_ssh(io, spec) File "/usr/lib/python2.6/site-packages/ceph_deploy/lib/remoto/lib/execnet/gateway_bootstrap.py", line 42, in bootstrap_ssh raise HostNotFound(io.remoteaddress) execnet.gateway_bootstrap.HostNotFound: web2 Does anyone come across the same issue? Looks like I mis-configured the network environment? Thanks, Guang _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com