Bug 1381189 - rbd support disabled because of missing dependencies in epel-7, built successfully with rbd support on centos7 with epel
Summary: rbd support disabled because of missing dependencies in epel-7, built success...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: scsi-target-utils
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Maurizio Lombardi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-03 11:14 UTC by Klarna IOCS
Modified: 2024-07-08 22:24 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-08 22:24:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Klarna IOCS 2016-10-03 11:14:33 UTC
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

Comment 2 Troy Dawson 2024-07-08 22:24:55 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.