View Issue Details

IDProjectCategoryView StatusLast Update
0000488channel: elrepo/el7--elrepo--request-for-enhancement--public2014-08-20 14:05
Reportergreno2 Assigned Topperry  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Summary0000488: kmod-drbd for el7
DescriptionWe're missing kmod-drbd83 or kmod-drbd84 for el7
Thanks :)
TagsNo tags attached.
Reported upstream

Activities

toracat

2014-07-14 11:30

administrator   ~0003750

At ELRepo, we are short-handed at the moment. A real issue is that no team member is actually using drbd. It would be great if someone steps up and offers to become a maintainer of the drbd packages.

greno2

2014-07-15 02:20

reporter   ~0003751

I'm not experienced enough to build up whole specfiles from scratch. Tweaking the one or other issue and building of rpms would be possible, but I need a helping hand from time to time. We're using drbd in our daily business.
See me a last option :-)

pperry

2014-07-15 12:26

administrator   ~0003752

So at the least we could mark you down as a tester for packages?

What are you using on RHEL7 - drbd83 or drbd84? Presumably drbd84??

Is there a usage case for both or is it reasonable to expect those who have migrated to RHEL7 to run drbd84?

We don't want to have to maintain both if we don't need to.

greno2

2014-07-16 06:54

reporter   ~0003754

Tester is fine.

Currently we're using no drbd on rhel7 - due to missing rpm's ;-)
On rhel6 we're using drbd83 + drbd84 for several reasons as syntax changed between these releases and "never change a running system", lack of support from older releases of ganeti, ...

But I think you can expect choosing drbd84 when installing el7 (there are so many changes in el7 anyway that need attention...)

I was able to built el7-rpms based on drbd84-utils-8.4.4-2.el6.elrepo.src.rpm & drbd84-kmod-8.4.4-1.el6.elrepo.src.rpm without any further issues a few minutes ago. So we're installing the next server with el7 + drbd, "get the party started" and provide feedback ...

pperry

2014-07-22 06:13

administrator   ~0003772

I had a quick look at the latest version, 8.4.5. However, some things have changed which affect the packaging and as I don't use, therefore can not test, this package I'm probably not the best person to be packaging this.

Perhaps we can link up with the CentOS folks and see if drbd can be maintained in their extras repository:

http://bugs.centos.org/view.php?id=7415

jfut

2014-07-27 07:08

reporter   ~0003812

Hi, I am maintainer of Ganeti RPM Package.
https://github.com/jfut/ganeti-rpm

Ganeti RPM Package requires drbd packages provided by ELRepo(thank you so much for providing great packages), so I sent a pull request to support el7.
https://github.com/elrepo/packages/pull/84
https://github.com/elrepo/packages/pull/85

If you need to support the latest version and drbd83 on el7, I will create them and also continue contribution.

Thanks!

pperry

2014-07-27 13:53

administrator   ~0003813

Hi jfut,

Many thanks for the contribution. I'm merged the commit and will try to get the packages built and into the testing repository in a couple days.

I'll add a note here when that happens.

jfut

2014-07-27 19:22

reporter   ~0003814

Thanks for merging them.

As a supplemental explanation, customizing drbd module options by using /etc/default/drbd are not supported on drbd.service.
If we need to customize them, we use something like this:

echo "options drbd minor_count=128 usermode_helper=/bin/true" > /etc/modprobe.d/drbd.conf
systemctl stop drbd.service
# If drbd resources would be still active: drbdadm down all
rmmod drbd
systemctl start drbd.service

On the other hand, the SysV init script provided by drbd84-utils-sysvinit supports still /etc/default/drbd.

pperry

2014-07-30 10:33

administrator   ~0003828

The following packages have been built and are currently syncing to the el7 testing repository:

http://elrepo.org/linux/testing/el7/x86_64/RPMS/

kmod-drbd84-8.4.4-1.el7.elrepo.x86_64.rpm
drbd84-utils-8.4.4-1.el7.elrepo.x86_64.rpm
drbd84-utils-sysvinit-8.4.4-1.el7.elrepo.x86_64.rpm

Please could you test and confirm they work as expected, at which point we can promote them to the main release repository.

I made a few minor changes to your original submissions, which can be seen on today's github commits:

https://github.com/elrepo/packages/commits/master

Thanks again for the contribution.

jfut

2014-07-30 19:58

reporter   ~0003830

Thanks for fixing and syncing to the el7 testing repository.

I confirmed a series of operations such as drbdadm create-md, new-current-uuid, primary/secondary, down, up, invalidate, full re-sync, systemctl start/stop drbd.service, and /etc/init.d/drbd start/stop. They work fine!

pperry

2014-07-31 12:32

administrator   ~0003832

Brilliant, thanks very much.

I will promote the packages from testing to the main elrepo repository.

Would you be interested in helping to update to version 8.4.5?

I did have a quick look but there are some major looking changes. There is no longer any Configure options, and the utils package is now built from a separate source. I could probably get the kmod package built, but I've no idea what you guys need from the utils package so that would definitely best be handled by someone whose actually using it.

jfut

2014-08-01 09:23

reporter   ~0003839

Thanks for releasing!

> Would you be interested in helping to update to version 8.4.5?
Certainly. I'll try to build the version 8.4.5.

The upstream spec file in drbd-utils-8.9.0.tar.gz build separate binaries, such as /usr/sbin/drbdsetup for the version 9.0 and /lib/drbd/drbdadm-84 for the version 8.4. At the version 8.4, /lib/drbd/drbdadm-84 path causes some problems for a referenced script, so I think it's good that ELRepo provides drbd84-utils-8.9.0 package which have the same path as version 8.4.4.

jfut

2014-08-17 02:32

reporter   ~0003862

I sent a pull request to update to latest version.
https://github.com/elrepo/packages/pull/94
https://github.com/elrepo/packages/pull/95

This patch don't exchange legacy *-84 commands because it seems that drbdadm and drbdsetup of drbd-utils-8.9.0 are compatible with them. I confirmed a series of operations with drbd84-8.4.5 and drbd84-utils on el7/el6/el5.

Thanks!

toracat

2014-08-17 22:16

administrator   ~0003863

Last edited: 2014-08-17 22:44

Thanks for the submission. We have built and released the packages to the elrepo-testing repository (so far el6 and el7 only). Please test when you get a chance.

el6:
drbd84-utils-8.9.1-1.el6.elrepo.x86_64.rpm
kmod-drbd84-8.4.5-1.el6.elrepo.x86_64.rpm

drbd84-utils-8.9.1-1.el6.elrepo.i686.rpm
kmod-drbd84-8.4.5-1.el6.elrepo.i686.rpm

drbd84-kmod-8.4.5-1.el6.elrepo.src.rpm
drbd84-utils-8.9.1-1.el6.elrepo.src.rpm

el7:
drbd84-utils-sysvinit-8.9.1-1.el7.elrepo.x86_64.rpm
drbd84-utils-8.9.1-1.el7.elrepo.x86_64.rp
kmod-drbd84-8.4.5-1.el7.elrepo.x86_64.rpm

drbd84-kmod-8.4.5-1.el7.elrepo.src.rpm
drbd84-utils-8.9.1-1.el7.elrepo.src.rpm

Note: one minor change made to the drbd84-utils.spec file was to add,

BuildRequires: libxslt

which was needed for building the packages in mock.

jfut

2014-08-17 23:42

reporter   ~0003864

Thanks for fixing and releasing to the testing repository.

I confirmed them on el6 and el7. They work fine!

toracat

2014-08-17 23:51

administrator   ~0003865

That was very fast. :)

We will give it another day or so before promoting them to the main repository just in case the OP would also like to test. Also we will build the el5 packages.

toracat

2014-08-18 18:35

administrator   ~0003866

The el5 packages have been released to the elrepo-testing repository and are currently syncing to the mirrors.

el5:
drbd84-utils-8.9.1-2.el5.elrepo.x86_64.rpm
kmod-drbd84-8.4.5-1.el5.elrepo.x86_64.rpm
kmod-drbd84-xen-8.4.5-1.el5.elrepo.x86_64.rpm

drbd84-utils-8.9.1-2.el5.elrepo.i386.rpm
kmod-drbd84-8.4.5-1.el5.elrepo.i686.rpm
kmod-drbd84-PAE-8.4.5-1.el5.elrepo.i686.rpm
kmod-drbd84-xen-8.4.5-1.el5.elrepo.i686.rpm

drbd84-utils-8.9.1-2.el5.elrepo.src.rpm
drbd84-kmod-8.4.5-1.el5.elrepo.src.rpm

jfut

2014-08-19 17:05

reporter   ~0003867

Thanks, they work fine on el5 kernel and kernel-xen.

toracat

2014-08-19 17:41

administrator   ~0003868

Glad that you can test all versions. :-)

We will promote all packages to the main repository.

jfut

2014-08-20 03:10

reporter   ~0003869

Thanks, my cluster update successfully completed!

toracat

2014-08-20 14:05

administrator   ~0003871

I am now closing this report as 'resolved'. If there is an issue, please open a new bug.

Issue History

Date Modified Username Field Change
2014-07-10 23:59 greno2 New Issue
2014-07-10 23:59 greno2 Status new => assigned
2014-07-10 23:59 greno2 Assigned To => stindall
2014-07-11 10:39 burakkucat Project channel: kernel/el7 => channel: elrepo/el7
2014-07-11 10:41 burakkucat Assigned To stindall => toracat
2014-07-11 10:41 burakkucat Severity minor => feature
2014-07-11 10:41 burakkucat Reproducibility have not tried => N/A
2014-07-11 10:41 burakkucat Category --kernel--OTHER-- => --elrepo--request-for-enhancement--
2014-07-14 11:30 toracat Note Added: 0003750
2014-07-15 02:20 greno2 Note Added: 0003751
2014-07-15 12:26 pperry Note Added: 0003752
2014-07-16 06:54 greno2 Note Added: 0003754
2014-07-22 06:13 pperry Note Added: 0003772
2014-07-27 07:08 jfut Note Added: 0003812
2014-07-27 13:53 pperry Note Added: 0003813
2014-07-27 19:22 jfut Note Added: 0003814
2014-07-30 10:33 pperry Note Added: 0003828
2014-07-30 19:58 jfut Note Added: 0003830
2014-07-31 12:32 pperry Note Added: 0003832
2014-08-01 09:23 jfut Note Added: 0003839
2014-08-01 09:30 toracat Assigned To toracat => pperry
2014-08-17 02:32 jfut Note Added: 0003862
2014-08-17 22:16 toracat Note Added: 0003863
2014-08-17 22:44 toracat Note Edited: 0003863
2014-08-17 23:42 jfut Note Added: 0003864
2014-08-17 23:51 toracat Note Added: 0003865
2014-08-18 18:35 toracat Note Added: 0003866
2014-08-19 17:05 jfut Note Added: 0003867
2014-08-19 17:41 toracat Note Added: 0003868
2014-08-20 03:10 jfut Note Added: 0003869
2014-08-20 14:05 toracat Note Added: 0003871
2014-08-20 14:05 toracat Status assigned => resolved
2014-08-20 14:05 toracat Resolution open => fixed