Hi Zhe,

Please find attached output.

We use https proxy server in our Lab. It seems that 'deploy script' cannot get 
access to  https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
I set the next string (export https_proxy=http://proxy-wsa.esl.cisco.com:80) to 
 ~/.bash_profile and it didn't help

Regards
Yuriy

From: Zhe Zhang [mailto:zhe_zh...@symantec.com]
Sent: Tuesday, June 17, 2014 2:16 AM
To: Yuriy Grabar; ceph-users@lists.ceph.com
Cc: Vladyslav Dehtiar -X (vdehtiar - SOFTSERVE INC at Cisco) 
(vdeht...@cisco.com); rglo...@cisco.com
Subject: RE: [ceph-users] Assistance in deploying Ceph cluster

What is your "hostname -s" ? In ~/.ssh/config file, you have to configure the 
hostname the same as what shows with "hostname -s"

Zhe

From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Yuriy 
Grabar
Sent: Monday, June 16, 2014 2:41 AM
To: ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
Cc: Vladyslav Dehtiar -X (vdehtiar - SOFTSERVE INC at Cisco) 
(vdeht...@cisco.com<mailto:vdeht...@cisco.com>); 
rglo...@cisco.com<mailto:rglo...@cisco.com>
Subject: [ceph-users] Assistance in deploying Ceph cluster

Hello everyone,

We are looking for support in installing Ceph cluster (1 admin node + 3 node, 
based on Centos 6.5 Vsphere Vm's)
We observe some errors in executing ceph-deploy commands. (all keys and 
permissions are configured correctly)

There is attached log of execution for "ceph-deploy install node1" command. 
Seems that curl script tries to connect using ipv6 address. Node1 has only one 
network interface.
Note: We had tried to disable ipv6 protocol on node1 side, anyway we faced 
error like  "host not found"
According attached log, We understand that problem is in importing  rpm key. If 
I run 'rmp import' manually, it executes on Node1 successfully.

Also we know that instead of using 'ceph-deploy install' command we can 
manually install Ceph service and related tools on Node1 side, but would we 
like to follow guidance on official site 
(http://ceph.com/docs/master/start/quick-ceph-deploy/) as it was developed for 
that.


Please suggest me what could be wrong in configuration from my side.



Thanks and Regards,
Yuriy Hrabar
Quality Control engineer
[cid:image001.gif@01CD1811.D6705890]
52 V.Velykoho, Lviv 79053, Ukraine
Tel: +380-32-240-9090  x 3290
Cell: +380-50-430-3066
Fax: +380-32-240-9080

[root@ceph-admin ~]# hostname -s
ceph-admin
[root@ceph-admin ~]# cat ~/.ssh/config
Host node1
   Hostname ceph-node1
   User ceph
Host node2
   Hostname ceph-node2
   User ceph
Host node3
   Hostname ceph-node3
   User ceph
[root@ceph-admin ~]# ceph-deploy install ceph-node1
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.4): /usr/bin/ceph-deploy install 
ceph-node1
[ceph_deploy.install][DEBUG ] Installing stable version firefly on cluster ceph 
hosts ceph-node1
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph-node1 ...
root@ceph-node1's password:
[ceph-node1][DEBUG ] connected to host: ceph-node1
[ceph-node1][DEBUG ] detect platform information from remote host
[ceph-node1][DEBUG ] detect machine type
[ceph_deploy.install][INFO  ] Distro info: CentOS 6.5 Final
[ceph-node1][INFO  ] installing ceph on ceph-node1
[ceph-node1][INFO  ] Running command: yum clean all
[ceph-node1][DEBUG ] Loaded plugins: fastestmirror, security
[ceph-node1][DEBUG ] Cleaning repos: base ceph-noarch epel extras updates
[ceph-node1][DEBUG ] Cleaning up Everything
[ceph-node1][DEBUG ] Cleaning up list of fastest mirrors
[ceph-node1][INFO  ] Running command: yum -y install wget
[ceph-node1][DEBUG ] Loaded plugins: fastestmirror, security
[ceph-node1][DEBUG ] Determining fastest mirrors
[ceph-node1][WARNIN] Error: Cannot retrieve metalink for repository: epel. 
Please verify its path and try again
[ceph-node1][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: yum -y install 
wget

[root@ceph-admin ~]# ssh-copy-id root@ceph-node1
root@ceph-node1's password:
Now try logging into the machine, with "ssh 'root@ceph-node1'", and check in:

  .ssh/authorized_keys

to make sure we haven't added extra keys that you weren't expecting.

[root@ceph-admin ~]# ceph-deploy install ceph-node1
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.4): /usr/bin/ceph-deploy install 
ceph-node1
[ceph_deploy.install][DEBUG ] Installing stable version firefly on cluster ceph 
hosts ceph-node1
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph-node1 ...
[ceph-node1][DEBUG ] connected to host: ceph-node1
[ceph-node1][DEBUG ] detect platform information from remote host
[ceph-node1][DEBUG ] detect machine type
[ceph_deploy.install][INFO  ] Distro info: CentOS 6.5 Final
[ceph-node1][INFO  ] installing ceph on ceph-node1
[ceph-node1][INFO  ] Running command: yum clean all
[ceph-node1][DEBUG ] Loaded plugins: fastestmirror, security
[ceph-node1][DEBUG ] Cleaning repos: base ceph-noarch epel extras updates
[ceph-node1][DEBUG ] Cleaning up Everything
[ceph-node1][DEBUG ] Cleaning up list of fastest mirrors
[ceph-node1][INFO  ] Running command: yum -y install wget
[ceph-node1][DEBUG ] Loaded plugins: fastestmirror, security
[ceph-node1][DEBUG ] Determining fastest mirrors
[ceph-node1][WARNIN] Error: Cannot retrieve metalink for repository: epel. 
Please verify its path and try again
[ceph-node1][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: yum -y install 
wget

[root@ceph-admin ~]# ceph-deploy install ceph-node1
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.4): /usr/bin/ceph-deploy install 
ceph-node1
[ceph_deploy.install][DEBUG ] Installing stable version firefly on cluster ceph 
hosts ceph-node1
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph-node1 ...
[ceph-node1][DEBUG ] connected to host: ceph-node1
[ceph-node1][DEBUG ] detect platform information from remote host
[ceph-node1][DEBUG ] detect machine type
[ceph_deploy.install][INFO  ] Distro info: CentOS 6.5 Final
[ceph-node1][INFO  ] installing ceph on ceph-node1
[ceph-node1][INFO  ] Running command: yum clean all
[ceph-node1][DEBUG ] Loaded plugins: fastestmirror, security
[ceph-node1][DEBUG ] Cleaning repos: base ceph-noarch epel extras updates
[ceph-node1][DEBUG ] Cleaning up Everything
[ceph-node1][DEBUG ] Cleaning up list of fastest mirrors
[ceph-node1][INFO  ] Running command: yum -y install wget
[ceph-node1][DEBUG ] Loaded plugins: fastestmirror, security
[ceph-node1][DEBUG ] Determining fastest mirrors
[ceph-node1][DEBUG ]  * base: mirror.anl.gov
[ceph-node1][DEBUG ]  * epel: mirror.pnl.gov
[ceph-node1][DEBUG ]  * extras: mirror.cs.uwp.edu
[ceph-node1][DEBUG ]  * updates: centos.netnitco.net
[ceph-node1][DEBUG ] Setting up Install Process
[ceph-node1][DEBUG ] Package wget-1.12-1.11.el6_5.x86_64 already installed and 
latest version
[ceph-node1][DEBUG ] Nothing to do
[ceph-node1][INFO  ] adding EPEL repository
[ceph-node1][INFO  ] Running command: wget 
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[ceph-node1][WARNIN] --2014-06-17 05:34:48--  
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[ceph-node1][WARNIN] Resolving dl.fedoraproject.org... 209.132.181.25, 
209.132.181.24, 209.132.181.23, ...
[ceph-node1][WARNIN] Connecting to dl.fedoraproject.org|209.132.181.25|:80... 
connected.
[ceph-node1][WARNIN] HTTP request sent, awaiting response... 200 OK
[ceph-node1][WARNIN] Length: 14540 (14K) [application/x-rpm]
[ceph-node1][WARNIN] Saving to: `epel-release-6-8.noarch.rpm'
[ceph-node1][WARNIN]
[ceph-node1][WARNIN]      0K .......... ....                                    
   100% 70.1K=0.2s
[ceph-node1][WARNIN]
[ceph-node1][WARNIN] Last-modified header invalid -- time-stamp ignored.
[ceph-node1][WARNIN] 2014-06-17 05:34:55 (70.1 KB/s) - 
`epel-release-6-8.noarch.rpm' saved [14540/14540]
[ceph-node1][WARNIN]
[ceph-node1][INFO  ] Running command: rpm -Uvh --replacepkgs epel-release-6*.rpm
[ceph-node1][DEBUG ] Preparing...                
##################################################
[ceph-node1][DEBUG ] epel-release                
##################################################
[ceph-node1][INFO  ] Running command: yum -y install yum-plugin-priorities
[ceph-node1][DEBUG ] Loaded plugins: fastestmirror, security
[ceph-node1][DEBUG ] Loading mirror speeds from cached hostfile
[ceph-node1][DEBUG ]  * base: mirror.anl.gov
[ceph-node1][DEBUG ]  * epel: mirror.pnl.gov
[ceph-node1][DEBUG ]  * extras: mirror.cs.uwp.edu
[ceph-node1][DEBUG ]  * updates: centos.netnitco.net
[ceph-node1][DEBUG ] Setting up Install Process
[ceph-node1][DEBUG ] Resolving Dependencies
[ceph-node1][DEBUG ] --> Running transaction check
[ceph-node1][DEBUG ] ---> Package yum-plugin-priorities.noarch 
0:1.1.30-17.el6_5 will be installed
[ceph-node1][DEBUG ] --> Finished Dependency Resolution
[ceph-node1][DEBUG ]
[ceph-node1][DEBUG ] Dependencies Resolved
[ceph-node1][DEBUG ]
[ceph-node1][DEBUG ] 
================================================================================
[ceph-node1][DEBUG ]  Package                    Arch        Version            
  Repository    Size
[ceph-node1][DEBUG ] 
================================================================================
[ceph-node1][DEBUG ] Installing:
[ceph-node1][DEBUG ]  yum-plugin-priorities      noarch      1.1.30-17.el6_5    
  updates       23 k
[ceph-node1][DEBUG ]
[ceph-node1][DEBUG ] Transaction Summary
[ceph-node1][DEBUG ] 
================================================================================
[ceph-node1][DEBUG ] Install       1 Package(s)
[ceph-node1][DEBUG ]
[ceph-node1][DEBUG ] Total download size: 23 k
[ceph-node1][DEBUG ] Installed size: 28 k
[ceph-node1][DEBUG ] Downloading Packages:
[ceph-node1][DEBUG ] Running rpm_check_debug
[ceph-node1][DEBUG ] Running Transaction Test
[ceph-node1][DEBUG ] Transaction Test Succeeded
[ceph-node1][DEBUG ] Running Transaction
  Installing : yum-plugin-priorities-1.1.30-17.el6_5.noarch                 1/1
  Verifying  : yum-plugin-priorities-1.1.30-17.el6_5.noarch                 1/1
[ceph-node1][DEBUG ]
[ceph-node1][DEBUG ] Installed:
[ceph-node1][DEBUG ]   yum-plugin-priorities.noarch 0:1.1.30-17.el6_5           
[ceph-node1][DEBUG ]
[ceph-node1][DEBUG ] Complete!
[ceph-node1][INFO  ] Running command: rpm --import 
https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
[ceph-node1][WARNIN] curl: (7) Failed to connect to 2607:f298:4:147::b05:fe2a: 
Network is unreachable
[ceph-node1][WARNIN] error: 
https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc: import read 
failed(2).
[ceph-node1][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: rpm --import 
https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

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

Reply via email to