Re: Ceph 0.94.8 Hammer upgrade on Ubuntu 14.04

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

 



Thank you for the info, although something is still not working correctly.  Here is what I have on the first osd I tried to upgrade:


ii  ceph                                  0.94.7-1trusty                       amd64        distributed storage and file system
ii  ceph-common                           0.94.7-1trusty                       amd64        common utilities to mount and interact with a ceph storage cluster
ii  ceph-fs-common                        0.94.9-1trusty                       amd64        common utilities to mount and interact with a ceph file system
ii  ceph-fuse                             0.94.9-1trusty                       amd64        FUSE-based client for the Ceph distributed file system
ii  ceph-mds                              0.94.9-1trusty                       amd64        metadata server for the ceph distributed file system
ii  libcephfs1                            0.94.7-1trusty                       amd64        Ceph distributed file system client library
ii  librados2                             0.94.7-1trusty                       amd64        RADOS distributed object store client library
ii  librbd1                               0.94.7-1trusty                       amd64        RADOS block device client library
ii  python-ceph                           0.94.7-1trusty                       amd64        Meta-package for python libraries for the Ceph libraries
ii  python-cephfs                         0.94.7-1trusty                       amd64        Python libraries for the Ceph libcephfs library
ii  python-rados                          0.94.7-1trusty                       amd64        Python libraries for the Ceph librados library
ii  python-rbd                            0.94.7-1trusty                       amd64        Python libraries for the Ceph librbd library
ii  radosgw                               0.94.7-1trusty                       amd64        REST gateway for RADOS distributed object store



Two of the packages went to 0.94.9 for some reason (even though I was trying to move to 0.94.8).


I tried to install the specific version per your directions above...but I am clearly not doing it correctly:



root@hqosd1:/etc/apt# apt-get install ceph=0.94.8-1trusty
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Version '0.94.8-1trusty' for 'ceph' was not found


Thanks,

Shain




On 08/30/2016 01:19 PM, David Turner wrote:
You can specify the version of the package to install with apt-get.  Check the installed version of ceph on the mon you already have upgraded with 'apt-cache policy  ceph' and use that version to install the same version on your other ceph servers by running 'apt-get install ceph=0.94.8-1~bpo80+1'.  You can specify the version for each ceph package in this manner.

I agree that there is something wrong with the repository as it stands, but you can get around it to continue your upgrade in this manner.

David Turner | Cloud Operations Engineer | StorageCraft Technology Corporation
380 Data Drive Suite 300 | Draper | Utah | 84020
Office: 801.871.2760 | Mobile: 385.224.2943


If you are not the intended recipient of this message or received it erroneously, please notify the sender and delete it, together with any attachments, and be advised that any dissemination or copying of this message is prohibited.



From: Shain Miley [smiley@xxxxxxx]
Sent: Tuesday, August 30, 2016 11:12 AM
To: Brian ::; David Turner
Cc: ceph-users@xxxxxxxxxxxxxx
Subject: Re: Ceph 0.94.8 Hammer upgrade on Ubuntu 14.04

I am seeing that now too...I am trying to upgrade the osd's now and I am running into an issue :-(


Can someone please take a look?

I am mid-upgrade and this is now causing us not to be able to move forward with the osd upgrades.

Thanks,

Shain


On 08/30/2016 01:07 PM, Brian :: wrote:
Seems the version number has jumped another point but the files aren't in the repo yet? .94.9 ?

Get:1 http://download.ceph.com/debian-hammer/ jessie/main ceph-common amd64 0.94.9-1~bpo80+1 [6029 kB]
Err http://download.ceph.com/debian-hammer/ jessie/main librbd1 amd64 0.94.9-1~bpo80+1
  404  Not Found [IP: 173.236.253.173 80]
Err http://download.ceph.com/debian-hammer/ jessie/main librados2 amd64 0.94.9-1~bpo80+1
  404  Not Found [IP: 173.236.253.173 80]
Err http://download.ceph.com/debian-hammer/ jessie/main python-rados amd64 0.94.9-1~bpo80+1
  404  Not Found [IP: 173.236.253.173 80]
Err http://download.ceph.com/debian-hammer/ jessie/main libcephfs1 amd64 0.94.9-1~bpo80+1
  404  Not Found [IP: 173.236.253.173 80]
Err http://download.ceph.com/debian-hammer/ jessie/main python-cephfs amd64 0.94.9-1~bpo80+1
  404  Not Found [IP: 173.236.253.173 80]
Err http://download.ceph.com/debian-hammer/ jessie/main python-rbd amd64 0.94.9-1~bpo80+1
  404  Not Found [IP: 173.236.253.173 80]
Err http://download.ceph.com/debian-hammer/ jessie/main ceph amd64 0.94.9-1~bpo80+1
  404  Not Found [IP: 173.236.253.173 80]
Err http://download.ceph.com/debian-hammer/ jessie/main python-ceph amd64 0.94.9-1~bpo80+1
  404  Not Found [IP: 173.236.253.173 80]
Fetched 6029 kB in 1s (3566 kB/s)

On Tue, Aug 30, 2016 at 6:03 PM, David Turner <david.turner@xxxxxxxxxxxxxxxx> wrote:
Ceph has never been updated with an 'apt-get upgrade'.  You have always had to do an 'apt-get dist-upgrade' to upgrade it without specifically naming it like you ended up doing.  This is to prevent accidentally upgrading a portion of your cluster when you run security updates on a system.  When you ran 'apt-get upgrade' you would have seen that the ceph packages were being held back in the output of the apt command.

David Turner | Cloud Operations Engineer | StorageCraft Technology Corporation
380 Data Drive Suite 300 | Draper | Utah | 84020
Office: 801.871.2760 | Mobile: 385.224.2943

If you are not the intended recipient of this message or received it erroneously, please notify the sender and delete it, together with any attachments, and be advised that any dissemination or copying of this message is prohibited.

________________________________________
From: ceph-users [ceph-users-bounces@lists.ceph.com] on behalf of Shain Miley [smiley@xxxxxxx]
Sent: Tuesday, August 30, 2016 10:59 AM
To: ceph-users@xxxxxxxxxxxxxx
Subject: Re: Ceph 0.94.8 Hammer upgrade on Ubuntu 14.04


Just an FYI...it turns out in addition to the normal 'apt-get update'
and 'apt-get upgrade'...I also had to do an 'apt-get upgrade ceph'
(which I have never had to do in the past as far as I can remember).

Now everything is showing up correctly.

Thanks,

Shain

On 08/30/2016 12:39 PM, Shain Miley wrote:
> Hi,
>
> I just upgraded from 0.94.7 to 0.94.8 on one of our mon servers. Using
> dpkg I can see that several of the package versions increased, but
> several others did not (ceph and ceph-common):
>
>
> root@hqceph1:~# dpkg -l |grep ceph
>
> ii  ceph 0.94.7-1trusty                   amd64        distributed
> storage and file system
> ii  ceph-common 0.94.7-1trusty                   amd64 common
> utilities to mount and interact with a ceph storage cluster
> ii  ceph-deploy 1.5.35                           all Ceph-deploy is an
> easy to use configuration tool
> ii  ceph-fs-common 0.94.8-1trusty                   amd64 common
> utilities to mount and interact with a ceph file system
> ii  ceph-fuse 0.94.8-1trusty                   amd64 FUSE-based client
> for the Ceph distributed file system
> ii  ceph-mds 0.94.8-1trusty                   amd64 metadata server
> for the ceph distributed file system
> ii  libcephfs1 0.94.8-1trusty                   amd64        Ceph
> distributed file system client library
> ii  python-ceph 0.94.8-1trusty                   amd64 Meta-package
> for python libraries for the Ceph libraries
>
>
> Is this expected?
>
> One reason I am asking is, at this point for example if I run 'ceph
> -v' it will tell me I'm running 0.94.7, even though from my
> perspective I should be running 0.94.8.
>
>
> Thanks,
>
> Shain
>

--
NPR | Shain Miley | Manager of Infrastructure, Digital Media | smiley@xxxxxxx | 202.513.3649

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

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



-- 
NPR | Shain Miley | Manager of Infrastructure, Digital Media | smiley@xxxxxxx | 202.513.3649

-- 
NPR | Shain Miley | Manager of Infrastructure, Digital Media | smiley@xxxxxxx | 202.513.3649
_______________________________________________
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