View Issue Details

IDProjectCategoryView StatusLast Update
0000781channel: elrepo/el7kmod-drbd90public2017-09-25 14:36
Reporterkrbvroc1 Assigned Totoracat  
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Summary0000781: kmod-drbd90 does not work with Centos 7.4 kernel
Descriptionkmod-drbd90 build for Centos 7.3 kernel, need a 7.4 version.

Existing source rpm drbd90-kmod-9.0.8-1.el7.elrepo.src.rpm does not build due to compile error due to kernel change. linbit does have a 9.0.9-1 version that appears to build on Centos 7.4 kernel.

I am actually running the kmod-drbd84 which has the same compile error but linbit has not fixed that yet.

Additional Information/opt/rpmbuild/BUILD/drbd-8.4.10-1/obj/default/drbd_bitmap.c:1049:3: error: too few arguments to function 'submit_bio'

Maybe the same COMPAT_NEED_BI_OPF_AND_SUBMIT_BIO_COMPAT_DEFINES could be ported to get 8.4 working too.
TagsNo tags attached.
Reported upstream

Activities

toracat

2017-09-14 07:49

administrator   ~0005484

Thanks for the note. We will update our packages shortly.

toracat

2017-09-14 16:14

administrator   ~0005485

The following packages have been released to the main elrepo repository:

x86_64:

kmod-drbd90-9.0.9-1.el7_4.elrepo.x86_64.rpm
drbd90-utils-9.1.0-1.el7.elrepo.x86_64.rpm
drbd90-utils-sysvinit-9.1.0-1.el7.elrepo.x86_64.rpm

src:

drbd90-kmod-9.0.9-1.el7_4.elrepo.src.rpm
drbd90-utils-9.1.0-1.el7.elrepo.src.rpm

We will build drbd84 when an updated version becomes available upstream.

krbvroc1

2017-09-14 19:15

reporter   ~0005486

Thank you. I left a note on the linbit mailing list asking if they intend to update 8.4. Hopefully they will since there seems to be a lot of recommendations to just use 8.4 for more simple cases. Regardless I will try to upgrade to 9.0 now that these packages are available.

toracat

2017-09-14 22:58

administrator   ~0005487

I see that they plan to fix it:

"So yes, that will be fixed, currently I can't give you an exact date
when this will happen in this case. "Soon"."

http://lists.linbit.com/pipermail/drbd-user/2017-August/023437.html

That was Aug 4, so it's taking long...

krbvroc1

2017-09-15 08:04

reporter   ~0005488

Not sure if you are comfortable sourcing from git:

"Thanks, that was already fixed, but so far not pushed public, here we
go:"

http://git.linbit.com/drbd-8.4.git

(Here is the commit)
http://git.linbit.com/drbd-8.4.git/commit/55177db1df810aeff5ddb4c644a4acf991dcb087

http://lists.linbit.com/pipermail/drbd-user/2017-September/023625.html

toracat

2017-09-15 09:35

administrator   ~0005489

Thanks. We'll try to update our kmod using the patch available in git.

toracat

2017-09-15 12:32

administrator   ~0005490

The following packages will appear in our elrepo-testing repo soon:

kmod-drbd84-8.4.10-1_2.el7_4.elrepo.x86_64.rpm
drbd84-kmod-8.4.10-1_2.el7_4.elrepo.src.rpm

Will you be able to test? Please note the .el7_4 tag.

krbvroc1

2017-09-17 18:39

reporter   ~0005497

Sorry for the delay. I just tested using Centos 7.4 with the 3.10.0-693.2.2.el7.x86_64 kernel version and your above kmod-drbd84-8.4.10-1_2.el7_4.elrepo.x86_64.rpm from the testing repo. The module loaded, I was able to access the drbd volumes, I tested a few back and forth primary/secondary switches via pacemaker. It appears to work fine.

toracat

2017-09-17 18:41

administrator   ~0005498

Thank you for performing the testing. We will be promoting the packages to the main repository.

krbvroc1

2017-09-17 18:45

reporter   ~0005499

You are welcome. Thanks for the quick package updates, especially the patching of 8.4 for the compatibility tweak.

Issue History

Date Modified Username Field Change
2017-09-13 21:28 krbvroc1 New Issue
2017-09-13 21:28 krbvroc1 Status new => assigned
2017-09-13 21:28 krbvroc1 Assigned To => pperry
2017-09-14 07:49 toracat Note Added: 0005484
2017-09-14 16:14 toracat Note Added: 0005485
2017-09-14 16:14 toracat Assigned To pperry => toracat
2017-09-14 19:15 krbvroc1 Note Added: 0005486
2017-09-14 22:58 toracat Note Added: 0005487
2017-09-15 08:04 krbvroc1 Note Added: 0005488
2017-09-15 09:35 toracat Note Added: 0005489
2017-09-15 12:32 toracat Note Added: 0005490
2017-09-17 18:39 krbvroc1 Note Added: 0005497
2017-09-17 18:41 toracat Note Added: 0005498
2017-09-17 18:45 krbvroc1 Note Added: 0005499
2017-09-25 14:36 pperry Status assigned => resolved
2017-09-25 14:36 pperry Resolution open => fixed