A couple of things here...

Looks like you are on RHEL. If you are on RHEL, but *not* trying to install
RHCS (Red Hat Ceph Storage), a few extra flags are required.  You must use
"--release".  For example, "ceph-deploy install --release hammer ...." in
order to get the Hammer upstream release.

The docs need to make this more clear (I don't think it's mentioned
anywhere -- upstream Ceph on RHEL is not a very common case, but it is
supposed to work. :))

That will at least install the right packages.  however, there is still one
more issue you will hit, which is that when installing upstream Ceph on
RHEL, it knows that it needs EPEL (EPEL is not needed with RHCS), and it
will try to install it by name "yum install epel-release".  But that
doesn't work on RHEL.  Until that is fixed, you will also have to install
EPEL by hand on your nodes.

On Fri, Aug 28, 2015 at 5:02 PM, Brad Hubbard <bhubb...@redhat.com> wrote:

> ----- Original Message -----
> > From: "pavana bhat" <pavanakrishnab...@gmail.com>
> > To: "Brad Hubbard" <bhubb...@redhat.com>
> > Cc: ceph-users@lists.ceph.com
> > Sent: Saturday, 29 August, 2015 9:40:50 AM
> > Subject: Re: [ceph-users] Error while installing ceph
> >
> > Yes I did follow all the preflight steps.
> >
> > After yum install (sudo yum update && sudo yum install ceph-deploy), it
> did
> > show the following are installed
> >
> > rhel-7-ha-rpms
> >
> >
> > rhel-7-optional-rpms
> >
> >
> > rhel-7-server-rpms
> >
> >
> > rhel-7-supplemental-rpms
> >
> >
> > rhel-7-server-rpms/primary_db
> >
> > ceph-noarch
> >
> > Installed:
> >
> >   ceph-deploy.noarch 0:1.5.28-0
>
> Perhaps the --repo and/or --release flags are required?
>
> >
> >
> > Thanks,
> >
> > Pavana
> >
> > On Fri, Aug 28, 2015 at 4:29 PM, Brad Hubbard <bhubb...@redhat.com>
> wrote:
> >
> > > Did you follow this first?
> > >
> > > http://docs.ceph.com/docs/v0.80.5/start/quick-start-preflight/
> > >
> > > It doesn't seem to be able to locate the repos for the ceph rpms.
> > >
> > > ----- Original Message -----
> > > > From: "pavana bhat" <pavanakrishnab...@gmail.com>
> > > > To: ceph-users@lists.ceph.com
> > > > Sent: Saturday, 29 August, 2015 8:55:14 AM
> > > > Subject: [ceph-users] Error while installing ceph
> > > >
> > > > Hi,
> > > >
> > > > Im getting an error while ceph installation. Can you please help me?
> > > >
> > > > I'm exactly following the steps given in
> > > > http://docs.ceph.com/docs/v0.80.5/start/quick-ceph-deploy/ to
> install
> > > ceph.
>

These are pretty old docs (see the version number in the URL).  It's
probably always best to start at http://docs.ceph.com/docs/master instead.
How did you get to this old version?  If it was from a link, we would want
to check that that link still made sense.


> > > >
> > > > But when I execute ceph-deploy install {ceph-node}[{ceph-node} ...],
> > > getting
> > > > following error:
> > > >
> > > >
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] Cleaning up everything
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] Cleaning up list of fastest mirrors
> > > >
> > > > [ ceph-vm-mon1 ][ INFO ] Running command: sudo yum -y install
> ceph-osd
> > > > ceph-mds ceph-mon ceph-radosgw
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] Loaded plugins: fastestmirror
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] Determining fastest mirrors
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] * rhel-7-ha-rpms: 203.36.4.124
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] * rhel-7-optional-rpms: 203.36.4.124
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] * rhel-7-server-rpms: 203.36.4.124
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] * rhel-7-supplemental-rpms: 203.36.4.124
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] No package ceph-osd available.
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] No package ceph-mds available.
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] No package ceph-mon available.
> > > >
> > > > [ ceph-vm-mon1 ][ DEBUG ] No package ceph-radosgw available.
> > > >
> > > > [ ceph-vm-mon1 ][ WARNIN ] Error: Nothing to do
> > > >
> > > > [ ceph-vm-mon1 ][ ERROR ] RuntimeError: command returned non-zero
> exit
> > > > status: 1
> > > >
> > > > [ ceph_deploy ][ ERROR ] RuntimeError: Failed to execute command:
> yum -y
> > > > install ceph-osd ceph-mds ceph-mon ceph-radosgw
> > > >
> > > > I have finished the preflight steps and I'm able to connect to
> internet
> > > from
> > > > my nodes.
> > > >
> > > > Thanks,
> > > >
> > > > Pavana
> > > >
> > > > _______________________________________________
> > > > 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
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to