Bug #3979
closedCeph 0.56.2 RPM does not install
0%
Description
Hey all,
I run a local Ceph mirror for a cluster. I mirrored the 0.56.2 RPMS this morning and went to update my nodes. below is the complete yum output of trying this:
- yum install -y ceph
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile * base: mirror.atlanticmetro.net * extras: mirrors.advancedhosters.com * updates: mirror.symnds.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ceph.x86_64 0:0.56.2-0.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
ceph x86_64 0.56.2-0.el6 local-centos6.3-x86_64-x86_64 10 M
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 10 M
Installed size: 26 M
Downloading Packages:
ceph-0.56.2-0.el6.x86_64.rpm | 10 MB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ceph-0.56.2-0.el6.x86_64 1/1
Error unpacking rpm package ceph-0.56.2-0.el6.x86_64
error: unpacking of archive failed on file /etc/ceph: cpio: chown
Verifying : ceph-0.56.2-0.el6.x86_64 1/1
Failed:
ceph.x86_64 0:0.56.2-0.el6
Complete!
Obviously that's no good.
Tested against the official repo, its also broken.
Files
Updated by Anonymous about 11 years ago
- Status changed from New to In Progress
- Assignee set to Anonymous
Updated by Anonymous about 11 years ago
Hi,
I installed and upgraded Ceph RPMS on my fresh CentOS VM without issue. I can provide more information if needed.
Updated by Anonymous about 11 years ago
Hi Steven -
Are you running Arch Linux ? If so, can you tell me the version, and also the versions of the rpm and yum packages installed ? I suspect we've got some incompatibility with the way we build the repository.
Thanks,
Gary
For reference here's the output of a ceph v0.56.2 install on centos 6.3 (With fc17 kernel):
[root@gary-centos-01 ~]# yum repolist -v ceph
Loading "fastestmirror" plugin
Config time: 0.008
Yum Version: 3.2.29
Loading mirror speeds from cached hostfile
* base: centos-distro.cavecreek.net
* extras: centos-distro.cavecreek.net
* updates: centos.mirror.ndchost.com
Setting up Package Sacks
pkgsack time: 0.013
Repo-id : ceph
Repo-name : Ceph
Repo-status : enabled
Repo-updated : Wed Jan 30 15:23:03 2013
Repo-pkgs : 14
Repo-size : 261 M
Repo-baseurl : http://ceph.com/rpm/el6/x86_64/
Repo-expire : 21,600 second(s) (last: Fri Feb 1 17:26:11 2013)
Repo-excluded: 1
repolist: 14
[root@gary-centos-01 ~]# yum install -y ceph
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos-distro.cavecreek.net
* extras: centos-distro.cavecreek.net
* updates: centos.mirror.ndchost.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ceph.x86_64 0:0.56.2-0.el6 will be installed
--> Processing Dependency: libcephfs1 = 0.56.2-0.el6 for package: ceph-0.56.2-0.el6.x86_64
--> Processing Dependency: librbd1 = 0.56.2-0.el6 for package: ceph-0.56.2-0.el6.x86_64
--> Processing Dependency: librbd.so.1()(64bit) for package: ceph-0.56.2-0.el6.x86_64
--> Running transaction check
---> Package libcephfs1.x86_64 0:0.56.2-0.el6 will be installed
---> Package librbd1.x86_64 0:0.56.2-0.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
ceph x86_64 0.56.2-0.el6 ceph 10 M
Installing for dependencies:
libcephfs1 x86_64 0.56.2-0.el6 ceph 1.4 M
librbd1 x86_64 0.56.2-0.el6 ceph 242 k
Transaction Summary
================================================================================
Install 3 Package(s)
Installed size: 31 M
Downloading Packages:
(1/3): ceph-0.56.2-0.el6.x86_64.rpm | 10 MB 00:00
(2/3): libcephfs1-0.56.2-0.el6.x86_64.rpm | 1.4 MB 00:00
(3/3): librbd1-0.56.2-0.el6.x86_64.rpm | 242 kB 00:00
--------------------------------------------------------------------------------
Total 48 MB/s | 12 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
- Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
kernel-3.3.4-5.fc17.x86_64 has missing requires of module-init-tools >= ('0', '3.16', '4')
kernel-3.3.4-5.fc17.x86_64 has missing requires of grubby >= ('0', '8.3', '1')
kernel-3.3.4-5.fc17.x86_64 has missing requires of linux-firmware >= ('0', '20120206', '0.1.git06c8f81')
Installing : libcephfs1-0.56.2-0.el6.x86_64 1/3
Installing : librbd1-0.56.2-0.el6.x86_64 2/3
Installing : ceph-0.56.2-0.el6.x86_64 3/3
Verifying : librbd1-0.56.2-0.el6.x86_64 1/3
Verifying : ceph-0.56.2-0.el6.x86_64 2/3
Verifying : libcephfs1-0.56.2-0.el6.x86_64 3/3
Installed:
ceph.x86_64 0:0.56.2-0.el6
Dependency Installed:
libcephfs1.x86_64 0:0.56.2-0.el6 librbd1.x86_64 0:0.56.2-0.el6
Complete!
Updated by Steven Presser about 11 years ago
Nope, Running CentOS 6.3 with a custom kernel (3.6.9-vanilla at the moment). Give me about half an hour and I'll kickstart up a fresh node and make sure the issue still appears there.
Updated by Steven Presser about 11 years ago
Nope, issue persists on a fresh install of the node. I'm not sure what information would be helpful, but if you let me know, I'd be happy to provide it.
Updated by Anonymous about 11 years ago
Still failing on the chown of /etc/ceph ? Are you by any chance using selinix features, or anything that might cause permission denied on the chown ?
Thanks,
Gary
Updated by Steven Presser about 11 years ago
- File anaconda-ks.cfg anaconda-ks.cfg added
Nope, pretty vanilla install, other than the kernel.
I've attached the kickstart file. The cluster is managed by xCat, so theres rather a lot in it. Most of which should be irrelevant.
Updated by Anonymous about 11 years ago
Hi Steven -
I looked at the kickstart file and I did not see anything that looked suspicious. At the moment we're not set up to duplicate your installation process. Is there any chance you can help us try to isolate the problem by using yum to install ceph on a freshly installed system.
Thanks,
Gary
Updated by Steven Presser about 11 years ago
Gary,
I did that on a freshly kickstarted system already. I'm unsure how much fresher I can get the system without having it be a plain CentOS system.
I am of course willing to try whatever you'd like me to.
Steve
Updated by Steven Presser about 11 years ago
- File rpm-update rpm-update added
Got bored; I took an strace of this. Looks like it's failing tying to chown /etc/ceph:
5589 chown("/etc/ceph", 0, 0) = -1 EINVAL (Invalid argument)
Getting EINVAL on this is a bit odd, because the chown(2) man page doesn't consider this a valid return value.
Ah, idea. Hold on a sec...
Yes. My /etc/ceph is nfs-mounted from a master server. It is mounted read-only. Not sure why this means it returns EINVAL, but it does.
Mounting read-write doesnt appear to fix it. This is interesting, as my /etc/exports on the master looks like this:
/etc/ceph 172.18.0.0/16(rw,sync,no_root_squash)
So... hm... I'm not sure why this is causing an issue, but I've isolated the issue down to "its my problem". Feel free to close this ticket.
(I've also attached the strace log, in case anyone cares)
Updated by Sage Weil about 11 years ago
- Status changed from In Progress to Rejected
Pretty weird! I wonder if the permissions/mode on /etc/ceph are what RPM expects if it would skip the chown entirely.
ANyway, thanks for digging in. I'll close this ticket!