Re: CentOS 7.1: Upgrading (downgrading) from 0.80.9 to bundled rpms

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

 



Hi Dan, Arne, KB,

I got a chance to look into this this afternoon. In a CentOS 7.1 VM
(that's not using EPEL), I found that ceph.com's 0.80.9 fails to install
due to an Epoch issue. I've opened a ticket for that:
http://tracker.ceph.com/issues/11371

I think you're asking about the reverse, though - how do you downgrade
your server from upstream's 0.80.9 to RHEL's 0.80.7?

The problem with the distro-sync operation you've pasted below is that
there is no "ceph" RPM in Base RHEL. The solution is to "yum uninstall
ceph", then "yum distro-sync". Then you will have 0.80.7-2.el7 installed
on your system.

- Ken

On 04/10/2015 12:45 PM, Karan Singh wrote:
> Hi Dan
> 
> You could give a try to the fixed mentioned here
>  http://tracker.ceph.com/issues/11345
> 
> 
> ****************************************************************
> Karan Singh 
> Systems Specialist , Storage Platforms
> CSC - IT Center for Science,
> Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland
> mobile: +358 503 812758
> tel. +358 9 4572001
> fax +358 9 4572302
> http://www.csc.fi/
> ****************************************************************
> 
>> On 10 Apr 2015, at 18:37, Irek Fasikhov <malmyzh@xxxxxxxxx
>> <mailto:malmyzh@xxxxxxxxx>> wrote:
>>
>> I use Centos 7.1. The problem is that in the basic package repository
>> has "ceph-common".
>>
>> [root@ceph01p24 cluster]# yum --showduplicates list ceph-common
>> Loaded plugins: dellsysid, etckeeper, fastestmirror, priorities
>> Loading mirror speeds from cached hostfile
>>  * base: centos-mirror.rbc.ru <http://centos-mirror.rbc.ru/>
>>  * epel: be.mirror.eurid.eu <http://be.mirror.eurid.eu/>
>>  * extras: ftp.funet.fi <http://ftp.funet.fi/>
>>  * updates: centos-mirror.rbc.ru <http://centos-mirror.rbc.ru/>
>> Installed Packages
>> ceph-common.x86_64                                                    
>>                                                            
>>  0.80.7-0.el7.centos                                                  
>>                                                                 @Ceph
>> Available Packages
>> ceph-common.x86_64                                                    
>>                                                            
>>  0.80.6-0.el7.centos                                                  
>>                                                                 Ceph 
>> ceph-common.x86_64                                                    
>>                                                            
>>  0.80.7-0.el7.centos                                                  
>>                                                                 Ceph 
>> ceph-common.x86_64                                                    
>>                                                            
>>  0.80.8-0.el7.centos                                                  
>>                                                                 Ceph 
>> ceph-common.x86_64                                                    
>>                                                            
>>  0.80.9-0.el7.centos                                                  
>>                                                                 Ceph 
>> ceph-common.x86_64                                                    
>>                                                            
>>  1:0.80.7-0.4.el7                                                    
>>                                                                  epel 
>> ceph-common.x86_64                                                    
>>                                                            
>>  1:0.80.7-2.el7                                                      
>>                                                                  base 
>>
>> I make the installation as follows:
>>
>> rpm
>> -ivh http://ceph.com/rpm-firefly/el7/noarch/ceph-release-1-0.el7.noarch.rpm
>> yum install redhat-lsb-core-4.1-27.el7.centos.1.x86_64
>> gperftools-libs.x86_64 yum-plugin-priorities.noarch ntp -y
>> yum install librbd1-0.80.7-0.el7.centos
>> librados2-0.80.7-0.el7.centos.x86_64.rpm -y
>> yum install gdisk cryptsetup leveldb python-jinja2 hdparm -y
>>
>> yum install --disablerepo=base --disablerepo=epel
>> ceph-common-0.80.7-0.el7.centos.x86_64 -y
>> yum install --disablerepo=base --disablerepo=epel
>> ceph-0.80.7-0.el7.centos -y
>>
>> 2015-04-10 17:57 GMT+03:00 Dan van der Ster <dan@xxxxxxxxxxxxxx
>> <mailto:dan@xxxxxxxxxxxxxx>>:
>>
>>     Hi Ken,
>>
>>     Do you happen to know how to upgrade a CentOS 7.1 Ceph client that is
>>     today using 0.80.9 from ceph.com <http://ceph.com/> [1] to the
>>     suite of ceph rpms which
>>     are now bundled with 7.1 ? We're getting distrosync errors like this:
>>
>>     # yum distro-sync --skip-broken
>>     Loaded plugins: changelog, fastestmirror, kernel-module, priorities,
>>     rpm-warm-
>>                  : cache, tsflags, versionlock
>>     Loading mirror speeds from cached hostfile
>>     78 packages excluded due to repository priority protections
>>     Resolving Dependencies
>>     --> Running transaction check
>>     ---> Package ceph-common.x86_64 0:0.80.9-0.el7.centos will be updated
>>     --> Processing Dependency: ceph-common = 0.80.9-0.el7.centos for
>>     package:
>>     ceph-0.80.9-0.el7.centos.x86_64
>>     ---> Package ceph-common.x86_64 1:0.80.7-2.el7 will be obsoleting
>>     ---> Package librados2.x86_64 0:0.80.9-0.el7.centos will be updated
>>     --> Processing Dependency: librados2 = 0.80.9-0.el7.centos for
>>     package:
>>     ceph-0.80.9-0.el7.centos.x86_64
>>     ---> Package librados2.x86_64 1:0.80.7-2.el7 will be an update
>>     ---> Package librbd1.x86_64 0:0.80.9-0.el7.centos will be updated
>>     --> Processing Dependency: librbd1 = 0.80.9-0.el7.centos for package:
>>     ceph-0.80.9-0.el7.centos.x86_64
>>     ---> Package librbd1.x86_64 1:0.80.7-2.el7 will be an update
>>     ---> Package python-ceph.x86_64 0:0.80.9-0.el7.centos will be
>>     obsoleted
>>     ---> Package python-rados.x86_64 1:0.80.7-2.el7 will be obsoleting
>>     ---> Package python-rbd.x86_64 1:0.80.7-2.el7 will be obsoleting
>>     --> Running transaction check
>>     ---> Package ceph-common.x86_64 0:0.80.9-0.el7.centos will be updated
>>     --> Processing Dependency: ceph-common = 0.80.9-0.el7.centos for
>>     package:
>>     ceph-0.80.9-0.el7.centos.x86_64
>>
>>     Packages skipped because of dependency problems:
>>        1:ceph-common-0.80.7-2.el7.x86_64 from base
>>        1:librados2-0.80.7-2.el7.x86_64 from base
>>        1:librbd1-0.80.7-2.el7.x86_64 from base
>>        1:python-rados-0.80.7-2.el7.x86_64 from base
>>        1:python-rbd-0.80.7-2.el7.x86_64 from base
>>     Beginning Kernel Module Plugin
>>     Finished Kernel Module Plugin
>>
>>     Both epel and the ceph.com <http://ceph.com/> repos are disabled.
>>
>>     Thanks!
>>
>>     Dan
>>
>>
>>
>>
>>     [1] http://ceph.com/rpm-firefly/el7/x86_64/

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
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