Project

General

Profile

Bug #8237

ceph centos 6 repo broken

Added by Fabian Chong almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Sandon Van Ness
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Having issue install ceph on centos 6. I tried remove the older version and re-install. I tried on a different machine.
Direct download of the link seems fine.

I tried yum clean metadata,yum clean all and any possible lead from google.
I keep getting either 1 of the following error

[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable" 

[Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=ceph clean metadata
Trying other mirror.

[root@ceph-node1 ~]# yum install ceph
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.smartmedia.net.id
 * epel: mirror.smartmedia.net.id
 * extras: mirror.smartmedia.net.id
 * updates: centos.mirror.crucial.com.au
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ceph.x86_64 0:0.67.3-2.el6 will be updated
---> Package ceph.x86_64 0:0.72.2-0.el6 will be an update
--> Processing Dependency: libcephfs1 = 0.72.2-0.el6 for package: ceph-0.72.2-0.el6.x86_64
--> Processing Dependency: librbd1 = 0.72.2-0.el6 for package: ceph-0.72.2-0.el6.x86_64
--> Processing Dependency: librados2 = 0.72.2-0.el6 for package: ceph-0.72.2-0.el6.x86_64
--> Processing Dependency: gdisk for package: ceph-0.72.2-0.el6.x86_64
--> Processing Dependency: python-ceph for package: ceph-0.72.2-0.el6.x86_64
--> Processing Dependency: parted for package: ceph-0.72.2-0.el6.x86_64
--> Processing Dependency: hdparm for package: ceph-0.72.2-0.el6.x86_64
--> Running transaction check
---> Package gdisk.x86_64 0:0.8.10-1.el6 will be installed
---> Package hdparm.x86_64 0:9.43-4.el6 will be installed
---> Package libcephfs1.x86_64 0:0.72.2-0.el6 will be installed
---> Package librados2.x86_64 0:0.72.2-0.el6 will be installed
---> Package librbd1.x86_64 0:0.72.2-0.el6 will be installed
---> Package parted.x86_64 0:2.1-21.el6 will be installed
---> Package python-ceph.x86_64 0:0.72.2-0.el6 will be installed
--> Processing Dependency: python-requests for package: python-ceph-0.72.2-0.el6.x86_64
--> Processing Dependency: python-flask for package: python-ceph-0.72.2-0.el6.x86_64
--> Running transaction check
---> Package python-flask.noarch 1:0.9-7.el6 will be installed
--> Processing Dependency: python-werkzeug for package: 1:python-flask-0.9-7.el6.noarch
--> Processing Dependency: python-jinja2-26 for package: 1:python-flask-0.9-7.el6.noarch
---> Package python-requests.noarch 0:1.1.0-4.el6 will be installed
--> Processing Dependency: python-urllib3 for package: python-requests-1.1.0-4.el6.noarch
--> Processing Dependency: python-ordereddict for package: python-requests-1.1.0-4.el6.noarch
--> Processing Dependency: python-chardet for package: python-requests-1.1.0-4.el6.noarch
--> Running transaction check
---> Package python-chardet.noarch 0:2.0.1-1.el6 will be installed
---> Package python-jinja2-26.noarch 0:2.6-2.el6 will be installed
--> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-26-2.6-2.el6.noarch
--> Processing Dependency: python-markupsafe for package: python-jinja2-26-2.6-2.el6.noarch
---> Package python-ordereddict.noarch 0:1.1-2.el6 will be installed
---> Package python-urllib3.noarch 0:1.5-7.el6 will be installed
--> Processing Dependency: python-six for package: python-urllib3-1.5-7.el6.noarch
--> Processing Dependency: python-backports-ssl_match_hostname for package: python-urllib3-1.5-7.el6.noarch
---> Package python-werkzeug.noarch 0:0.8.3-2.el6 will be installed
--> Running transaction check
---> Package python-babel.noarch 0:0.9.4-5.1.el6 will be installed
---> Package python-backports-ssl_match_hostname.noarch 0:3.4.0.2-1.el6 will be installed
--> Processing Dependency: python-backports for package: python-backports-ssl_match_hostname-3.4.0.2-1.el6.noarch
---> Package python-markupsafe.x86_64 0:0.9.2-4.el6 will be installed
---> Package python-six.noarch 0:1.5.2-1.el6 will be installed
--> Running transaction check
---> Package python-backports.x86_64 0:1.0-3.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================================================================
 Package                                                                       Arch                                             Version                                                   Repository                                      Size
===============================================================================================================================================================================================================================================
Updating:
 ceph                                                                          x86_64                                           0.72.2-0.el6                                              ceph                                            23 M
Installing for dependencies:
 gdisk                                                                         x86_64                                           0.8.10-1.el6                                              epel                                           167 k
 hdparm                                                                        x86_64                                           9.43-4.el6                                                base                                            81 k
 libcephfs1                                                                    x86_64                                           0.72.2-0.el6                                              ceph                                            17 M
 librados2                                                                     x86_64                                           0.72.2-0.el6                                              ceph                                            16 M
 librbd1                                                                       x86_64                                           0.72.2-0.el6                                              ceph                                           3.5 M
 parted                                                                        x86_64                                           2.1-21.el6                                                base                                           606 k
 python-babel                                                                  noarch                                           0.9.4-5.1.el6                                             base                                           1.4 M
 python-backports                                                              x86_64                                           1.0-3.el6                                                 ceph                                           5.3 k
 python-backports-ssl_match_hostname                                           noarch                                           3.4.0.2-1.el6                                             epel                                            12 k
 python-ceph                                                                   x86_64                                           0.72.2-0.el6                                              ceph                                           122 k
 python-chardet                                                                noarch                                           2.0.1-1.el6                                               epel                                           225 k
 python-flask                                                                  noarch                                           1:0.9-7.el6                                               epel                                           190 k
 python-jinja2-26                                                              noarch                                           2.6-2.el6                                                 epel                                           526 k
 python-markupsafe                                                             x86_64                                           0.9.2-4.el6                                               base                                            22 k
 python-ordereddict                                                            noarch                                           1.1-2.el6                                                 epel                                           7.6 k
 python-requests                                                               noarch                                           1.1.0-4.el6                                               epel                                            71 k
 python-six                                                                    noarch                                           1.5.2-1.el6                                               epel                                            24 k
 python-urllib3                                                                noarch                                           1.5-7.el6                                                 epel                                            41 k
 python-werkzeug                                                               noarch                                           0.8.3-2.el6                                               epel                                           552 k

Transaction Summary
===============================================================================================================================================================================================================================================
Install      19 Package(s)
Upgrade       1 Package(s)

Total size: 64 M
Total download size: 60 M
Is this ok [y/N]: y
Downloading Packages:
http://ceph.com/rpm-emperor/el6/x86_64/ceph-0.72.2-0.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable" 
Trying other mirror.
http://ceph.com/rpm-emperor/el6/x86_64/libcephfs1-0.72.2-0.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable" 
Trying other mirror.
http://ceph.com/rpm-emperor/el6/x86_64/librados2-0.72.2-0.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable" 
Trying other mirror.
http://ceph.com/rpm-emperor/el6/x86_64/librbd1-0.72.2-0.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable" 
Trying other mirror.
http://ceph.com/rpm-emperor/el6/x86_64/python-ceph-0.72.2-0.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable" 
Trying other mirror.

Error Downloading Packages:
  libcephfs1-0.72.2-0.el6.x86_64: failure: libcephfs1-0.72.2-0.el6.x86_64.rpm from ceph: [Errno 256] No more mirrors to try.
  librados2-0.72.2-0.el6.x86_64: failure: librados2-0.72.2-0.el6.x86_64.rpm from ceph: [Errno 256] No more mirrors to try.
  python-ceph-0.72.2-0.el6.x86_64: failure: python-ceph-0.72.2-0.el6.x86_64.rpm from ceph: [Errno 256] No more mirrors to try.
  librbd1-0.72.2-0.el6.x86_64: failure: librbd1-0.72.2-0.el6.x86_64.rpm from ceph: [Errno 256] No more mirrors to try.
  ceph-0.72.2-0.el6.x86_64: failure: ceph-0.72.2-0.el6.x86_64.rpm from ceph: [Errno 256] No more mirrors to try.
[root@ceph-node1 ~]# uname -a
Linux ceph-node1 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@ceph-node1 ~]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m
[root@ceph-node1 ~]# cat /etc/yum.repos.d/ceph.repo 
[ceph]
name=Ceph packages for \$basearch
baseurl=http://ceph.com/rpm-emperor/el6/$basearch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc

[ceph-noarch]
name=Ceph noarch packages
baseurl=http://ceph.com/rpm-emperor/el6/noarch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc

[ceph-source]
name=Ceph source packages
baseurl=http://ceph.com/rpm-emperor/el6/SRPMS
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc


Related issues

Duplicated by Ceph - Bug #8242: RPM repository version mismatch Duplicate 04/29/2014

History

#1 Updated by Ian Colle almost 10 years ago

  • Assignee set to Sandon Van Ness
  • Priority changed from Normal to Urgent

#2 Updated by Sandon Van Ness almost 10 years ago

I am not seeing any problems on our end. I did notice you were using the autobuild.asc but release packages (from your URL) should be the release key:

https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

I didn't have problems installing:

========================================================================================================================================================================================
 Package                                        Arch                                      Version                                         Repository                               Size
========================================================================================================================================================================================
Installing:
 ceph                                           x86_64                                    0.72.2-0.el6                                    ceph                                     13 M
Installing for dependencies:
 libcephfs1                                     x86_64                                    0.72.2-0.el6                                    ceph                                    1.5 M
 librados2                                      x86_64                                    0.72.2-0.el6                                    ceph                                    1.4 M
 librbd1                                        x86_64                                    0.72.2-0.el6                                    ceph                                    337 k
 python-ceph                                    x86_64                                    0.72.2-0.el6                                    ceph                                     69 k

Transaction Summary
========================================================================================================================================================================================
Install       5 Package(s)

Total download size: 16 M
Installed size: 68 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): ceph-0.72.2-0.el6.x86_64.rpm                                                                                                                              |  13 MB     00:00
(2/5): libcephfs1-0.72.2-0.el6.x86_64.rpm                                                                                                                        | 1.5 MB     00:00
(3/5): librados2-0.72.2-0.el6.x86_64.rpm                                                                                                                         | 1.4 MB     00:00
(4/5): librbd1-0.72.2-0.el6.x86_64.rpm                                                                                                                           | 337 kB     00:00
(5/5): python-ceph-0.72.2-0.el6.x86_64.rpm                                                                                                                       |  69 kB     00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                    69 MB/s |  16 MB     00:00
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 17ed316d: NOKEY
Retrieving key from https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
Importing GPG key 0x17ED316D:
 Userid: "Ceph Release Key <sage@newdream.net>" 
 From  : https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : librados2-0.72.2-0.el6.x86_64                                                                                                                                        1/5
  Installing : librbd1-0.72.2-0.el6.x86_64                                                                                                                                          2/5
  Installing : libcephfs1-0.72.2-0.el6.x86_64                                                                                                                                       3/5
  Installing : python-ceph-0.72.2-0.el6.x86_64                                                                                                                                      4/5
  Installing : ceph-0.72.2-0.el6.x86_64                                                                                                                                             5/5
  Verifying  : librados2-0.72.2-0.el6.x86_64                                                                                                                                        1/5
  Verifying  : ceph-0.72.2-0.el6.x86_64                                                                                                                                             2/5
  Verifying  : libcephfs1-0.72.2-0.el6.x86_64                                                                                                                                       3/5
  Verifying  : python-ceph-0.72.2-0.el6.x86_64                                                                                                                                      4/5
  Verifying  : librbd1-0.72.2-0.el6.x86_64                                                                                                                                          5/5

Installed:
  ceph.x86_64 0:0.72.2-0.el6

Dependency Installed:
  libcephfs1.x86_64 0:0.72.2-0.el6              librados2.x86_64 0:0.72.2-0.el6              librbd1.x86_64 0:0.72.2-0.el6              python-ceph.x86_64 0:0.72.2-0.el6

If you are still having issues can you please try running:

sudo yum clean all

And if its still not working paste me the output of:

wget -O - http://ceph.com/rpm-emperor/el6/x86_64/ceph-0.72.2-0.el6.x86_64.rpm | md5sum

#3 Updated by Fabian Chong almost 10 years ago

I managed to fix the problem. It's was because of ceph-deploy 1.4.0. It's installing the older packages and repo on nodes.
I reinstall and got newer version 1.5.0 and everything is fine.

Thanks for the help.

#4 Updated by Sage Weil almost 10 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF