Skip to contentSkip to conversation

Problem installing ceph from package manager / ceph repositories

DISCUSSION Karan Singh 3 participants 4 messages Jun 10, 2014 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello Cephers

First of all this problem is not related to ceph-deploy , ceph-deploy 1.5.4 works like charm :-) , thanks for Alfredo

Problem :

1. When installing Ceph using package manger ( # yum install ceph or # yum update cehp) that uses ceph repositories (cep.repo) , the package manager does not respect the ceph.repo file and takes ceph package directly from EPEL . But when i disable EPEL repo and again try to install ceph , it takes from ceph repo. This is a new problem and earlier i have not faced this , though i have done several ceph cluster installation with package manager. I don’t want EPEL version of Ceph.

2. When i uninstall ceph , from system its repository file i.e. ceph.repo is getting removed . Is this normal , i have not seen this before.

Any one else facing the same problem or have solution to this.

Regards
Karan Singh

_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

A message that is not in the archive (sent off-list or not yet received): 4DC842D9-8254-4519-9034-1E76F0BF3C84-Gn+qtVAUx6s@public.gmane.org

#3 lore raw

Hi,

On 10 Jun 2014, at 10:30, Karan Singh <[email protected]<mailto:[email protected]>> wrote:

Hello Cephers

First of all this problem is not related to ceph-deploy , ceph-deploy 1.5.4 works like charm :-) , thanks for Alfredo

Problem :

1. When installing Ceph using package manger ( # yum install ceph or # yum update cehp) that uses ceph repositories (cep.repo) , the package manager does not respect the ceph.repo file and takes ceph package directly from EPEL . But when i disable EPEL repo and again try to install ceph , it takes from ceph repo. This is a new problem and earlier i have not faced this , though i have done several ceph cluster installation with package manager. I don’t want EPEL version of Ceph.

You probably need to tweak the repo priorities. We use priority=30 for epel.repo, priority=5 for ceph.repo.

Cheers, Dan

-- Dan van der Ster || Data & Storage Services || CERN IT Department --

2. When i uninstall ceph , from system its repository file i.e. ceph.repo is getting removed . Is this normal , i have not seen this before.

Any one else facing the same problem or have solution to this.

Regards
Karan Singh
_______________________________________________
ceph-users mailing list [email protected]<mailto:[email protected]>
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

#4 lore raw
Quoted 20 lines · Dan Van Der Ster

Hi,

On 10 Jun 2014, at 10:30, Karan Singh <[email protected]> wrote:

Hello Cephers

First of all this problem is not related to ceph-deploy , ceph-deploy 1.5.4 works like charm :-) , thanks for Alfredo

Problem :

1. When installing Ceph using package manger ( # yum install ceph or # yum update cehp) that uses ceph repositories (cep.repo) , the package manager does not respect the ceph.repo file and takes ceph package directly from EPEL . But when i disable EPEL repo and again try to install ceph , it takes from ceph repo. This is a new problem and earlier i have not faced this , though i have done several ceph cluster installation with package manager. I don’t want EPEL version of Ceph.

Quoted 3 lines

You probably need to tweak the repo priorities. We use priority=30 for epel.repo, priority=5 for ceph.repo.

This is exactly what ceph-deploy is now doing. It is installing the priorities plugin for yum
and then setting a very low number for ceph.repo (1 I believe)

This is explained in the last release announcement for ceph-deploy and for more details
you can see this ticket: http://tracker.ceph.com/issues/8533

Quoted 13 lines

Cheers, Dan

-- Dan van der Ster || Data & Storage Services || CERN IT Department --

2. When i uninstall ceph , from system its repository file i.e. ceph.repo is getting removed . Is this normal , i have not seen this before.

Any one else facing the same problem or have solution to this.

Quoted 8 lines

Regards
Karan Singh
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): CANtztVwCJx_=bR-mpct0i3j=xaMxreRJw0X9PF1CE7X07o-jgA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#6 lore raw

Thanks Dan / Alfredo

Yep priority=1 helped a little bit and yum-plugin-priority fixed all.

- karan -

Quoted 26 lines · Alfredo Deza
Quoted 20 lines · Dan Van Der Ster

Hi,

On 10 Jun 2014, at 10:30, Karan Singh <[email protected]> wrote:

Hello Cephers

First of all this problem is not related to ceph-deploy , ceph-deploy 1.5.4 works like charm :-) , thanks for Alfredo

Problem :

1. When installing Ceph using package manger ( # yum install ceph or # yum update cehp) that uses ceph repositories (cep.repo) , the package manager does not respect the ceph.repo file and takes ceph package directly from EPEL . But when i disable EPEL repo and again try to install ceph , it takes from ceph repo. This is a new problem and earlier i have not faced this , though i have done several ceph cluster installation with package manager. I don’t want EPEL version of Ceph.

Quoted 3 lines

You probably need to tweak the repo priorities. We use priority=30 for epel.repo, priority=5 for ceph.repo.

Quoted 27 lines

This is exactly what ceph-deploy is now doing. It is installing the priorities plugin for yum
and then setting a very low number for ceph.repo (1 I believe)

This is explained in the last release announcement for ceph-deploy and for more details
you can see this ticket: http://tracker.ceph.com/issues/8533

Quoted 19 lines

Cheers, Dan

-- Dan van der Ster || Data & Storage Services || CERN IT Department --

2. When i uninstall ceph , from system its repository file i.e. ceph.repo is getting removed . Is this normal , i have not seen this before.

Any one else facing the same problem or have solution to this.

Regards
Karan Singh
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com