Bug 1381189
| Summary: | rbd support disabled because of missing dependencies in epel-7, built successfully with rbd support on centos7 with epel | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Klarna IOCS <itops.dc> |
| Component: | scsi-target-utils | Assignee: | Maurizio Lombardi <mlombard> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | terje.rosten |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-08 22:24:55 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: | |||
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug. |
Description of problem: RBD-support in scsi-target-utils spec file is disabled (and only enabled on rhel), according to comment in spec file because of missing dependencies in epel 7. I was able to build the package and use the resulting binaries successfully to serve iscsi-targets with rbd storage without adding any external dependencies (other than default centos 7 and epel). Enabling this would help us not having to rebuild and maintain the package locally. Version-Release number of selected component (if applicable): 1.0.55-4 How reproducible: Install CentOS 7 yum install -y epel-release yum install -y yum-utils rpm-build redhat-rpm-config make gcc yumdownloader --source scsi-target-utils rpm -i scsi-target-utils*.src.rpm cd ~/rpmbuild sed -ie 's/%{!?rhel:%global with_rbd 1}/%global with_rbd 1/' SPECS/scsi-target-utils.spec yum install -y libxslt docbook-style-xsl libaio-devel systemd-devel libibverbs-devel librdmacm-devel ceph-devel glusterfs-api-devel rpmbuild -ba SPECS/scsi-target-utils.spec Actual results: Successful build of scsi-target-utils and scsi-target-utils-rbd Expected results: Failed build because of dependencies Additional info: from scsi-target-utils.spec in the source rpm: --snip--- # Disable rbd on epel7 b/c deps are not present %{!?rhel:%global with_rbd 1} ---snip--- Big ty to user frist on stackoverflow http://stackoverflow.com/users/5648958/frist for providing info on how to compile. http://stackoverflow.com/questions/35453153/how-to-enable-support-for-ceph-in-centos-scsi-target-utils-package