Issues with installing 2 node system

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

 



On Tue, Aug 12, 2014 at 8:08 AM, Karan Singh <karan.singh at csc.fi> wrote:
> 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.Ojwang at 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 at 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.

Proxy support is tricky with ceph-deploy.

My suggestion in proxy environments is to have a mirror of the
repository you need and then
point ceph-deploy in that direction.

With the cephdeploy.conf file you can define custom repos so you don't
need to be passing lots of flags around
if you are using a custom mirror.

For examples, see: http://ceph.com/ceph-deploy/docs/conf.html

>
> Thanks in advance for your support.
>
> Regards
> Wilson
>
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> 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