Try to add proxy settings in wgetrc file (/etc/wgetrc) and rpm macros 
(/etc/rpm/macros)

# cat /etc/wgetrc  | grep -i proxy
#https_proxy = http://proxy.yoyodyne.com:18023/
http_proxy = <your_proxy_url>:<your_proxy_port>
#ftp_proxy = http://proxy.yoyodyne.com:18023/
# If you do not want to use proxy at all, set this to off.
use_proxy = yes
#


# cat /etc/rpm/macros
%_httpproxy <your_proxy_url>
%_httpport <your_proxy_port>
#


- Karan -

On 11 Aug 2014, at 21:48, Ojwang, Wilson O (Wilson) 
<wilson.ojw...@alcatel-lucent.com> wrote:

>  
> I am currently new to Ceph and had the following error while trying to 
> install a 2 node system (admin and one other node) using quick installation 
> guide from http://ceph.com/docs/master/start/
>  
> =============\
> [root@nfv2 ~]# ceph-deploy install nfv2 nfv3
> [ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
> [ceph_deploy.cli][INFO  ] Invoked (1.5.10): /usr/bin/ceph-deploy install nfv2 
> nfv3
> [ceph_deploy.install][DEBUG ] Installing stable version firefly on cluster 
> ceph hosts nfv2 nfv3
> [ceph_deploy.install][DEBUG ] Detecting platform for host nfv2 ...
> [nfv2][DEBUG ] connected to host: nfv2
> [nfv2][DEBUG ] detect platform information from remote host
> [nfv2][DEBUG ] detect machine type
> [ceph_deploy.install][INFO  ] Distro info: CentOS 6.5 Final
> [nfv2][INFO  ] installing ceph on nfv2
> [nfv2][INFO  ] Running command: yum clean all
> [nfv2][DEBUG ] Loaded plugins: fastestmirror, priorities, refresh-packagekit, 
> security
> [nfv2][DEBUG ] Cleaning repos: apache2-ceph-noarch base ceph ceph-extras 
> ceph-extras-noarch
> [nfv2][DEBUG ]               : ceph-extras-source ceph-noarch epel extras 
> fastcgi-ceph-basearch
> [nfv2][DEBUG ]               : fastcgi-ceph-noarch foreman foreman-plugins 
> openstack-icehouse
> [nfv2][DEBUG ]               : puppetlabs-deps puppetlabs-products updates
> [nfv2][DEBUG ] Cleaning up Everything
> [nfv2][DEBUG ] Cleaning up list of fastest mirrors
> [nfv2][INFO  ] Running command: yum -y install wget
> [nfv2][DEBUG ] Loaded plugins: fastestmirror, priorities, refresh-packagekit, 
> security
> [nfv2][DEBUG ] Determining fastest mirrors
> [nfv2][DEBUG ]  * base: bay.uchicago.edu
> [nfv2][DEBUG ]  * epel: archive.linux.duke.edu
> [nfv2][DEBUG ]  * extras: centos.mbni.med.umich.edu
> [nfv2][DEBUG ]  * updates: ftpmirror.your.org
> [nfv2][DEBUG ] 308 packages excluded due to repository priority protections
> [nfv2][DEBUG ] Setting up Install Process
> [nfv2][DEBUG ] Package wget-1.12-1.11.el6_5.x86_64 already installed and 
> latest version
> [nfv2][DEBUG ] Nothing to do
> [nfv2][INFO  ] adding EPEL repository
> [nfv2][INFO  ] Running command: wget 
> http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
> [nfv2][WARNIN] No data was received after 300 seconds, disconnecting...
> [nfv2][INFO  ] Running command: rpm -Uvh --replacepkgs epel-release-6*.rpm
> [nfv2][WARNIN] error: File not found by glob: epel-release-6*.rpm
> [nfv2][ERROR ] RuntimeError: command returned non-zero exit status: 1
> [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: rpm -Uvh 
> --replacepkgs epel-release-6*.rpm
>  
> =============\
>  
> I have setup http, https, global proxy and was able to run “wget 
> http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm” on 
> the command line without any issue.
>  
> Thanks in advance for your support.
>  
> Regards
> Wilson
>  
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

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

Reply via email to