Bug 1030402
Summary: | mount.ceph helper in wrong directory | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Rolf Fokkens <rolf> |
Component: | ceph | Assignee: | Boris Ranto <branto> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | el6 | CC: | branto, josef |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ceph-0.80.5-9.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-10-09 19:51:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rolf Fokkens
2013-11-14 11:22:21 UTC
Suggested change to the spec file: --- ceph.spec 2013-10-07 12:32:06.000000000 +0200 +++ ceph.spec.new 2013-11-29 12:58:04.025010417 +0100 @@ -104,6 +104,10 @@ %install make install DESTDIR=$RPM_BUILD_ROOT +%if 0%{?rhel} >= 6 +mkdir $RPM_BUILD_ROOT/sbin +mv $RPM_BUILD_ROOT/%{_sbindir}/mount.ceph $RPM_BUILD_ROOT/sbin/mount.ceph +%endif find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' install -D src/init-ceph $RPM_BUILD_ROOT%{_initrddir}/ceph @@ -164,7 +168,11 @@ %{_bindir}/ceph-rest-api %{_initrddir}/ceph %{_sbindir}/mkcephfs +%if 0%{?rhel} >= 6 +/sbin/mount.ceph +%else %{_sbindir}/mount.ceph +%endif %{_sbindir}/ceph-disk-activate %{_sbindir}/ceph-disk-prepare %{_sbindir}/ceph-create-keys july 2014, 8 months later: same bug. ceph-0.80.1-2.el6.x86_64 Please apply the fix in comment #1. ceph-0.80.5-6.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/ceph-0.80.5-6.el6 Package ceph-0.80.5-6.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing ceph-0.80.5-6.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2240/ceph-0.80.5-6.el6 then log in and leave karma (feedback). Package ceph-0.80.5-8.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing ceph-0.80.5-8.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2240/ceph-0.80.5-8.el6 then log in and leave karma (feedback). Package ceph-0.80.5-9.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing ceph-0.80.5-9.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2240/ceph-0.80.5-9.el6 then log in and leave karma (feedback). The forementioned ceph-0.80.5-9 solves the problem, but the current version is broken (again?): [root@thdev2 ~]# rpm -q ceph ceph-0.81.0-5.el6.x86_64 [root@thdev2 ~]# rpm -q -l ceph | grep mount /usr/sbin/mount.ceph /usr/share/man/man8/mount.ceph.8.gz [root@thdev2 ~]# Hi Rolf, the version 1:ceph-0.80.5-9 supersedes the version ceph-0.81.0-5.el6.x86_64 which is just a development/testing version of the ceph package. The package in fedora or epel won't ever be pushed to that version (it will always be pushed to the latest stable version). i.e. the version 0:ceph-0.81.0-5.el6.x86_64 is broken but the version 1:ceph-0.80.5-9 is an upgrade for it and fixes the problem -> moving back to ON_QA. Oops, you'r right. Overlooked that there's an epoch involved. Yep, we had to involve epochs because the version 0.81 should have never landed in fedora/epel -- it is unstable development version of the ceph project. ceph-0.80.5-9.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |