Update Precise drbd8-utils to 8.3.13 for the 12.04.2 release

Bug #1103656 reported by Simon Déziel
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
drbd8 (Ubuntu)
Invalid
High
Unassigned

Bug Description

According to https://lists.ubuntu.com/archives/ubuntu-devel-announce/2013-January/001003.html, Precise 12.04.2 will ship with kernel 3.5.0. This new kernel comes with DRBD 8.3.13 but the drbd8-utils package in Precise are still is at version 8.3.11.

Running a different version of the userspace utils and the kernel module is not recommended by upstream and gives such warning:

# /etc/init.d/drbd start
 * Starting DRBD resources DRBD module version: 8.3.13
   userland version: 8.3.11
you should upgrade your drbd tools!

More information on the test VM (installed with the daily image):

simon@ubuntu:~$ modinfo drbd
filename: /lib/modules/3.5.0-22-generic/kernel/drivers/block/drbd/drbd.ko
alias: block-major-147-*
license: GPL
version: 8.3.13
description: drbd - Distributed Replicated Block Device v8.3.13
author: Philipp Reisner <email address hidden>, Lars Ellenberg <email address hidden>
srcversion: 697DE8B1973B1D8914F04DB
depends: lru_cache
intree: Y
vermagic: 3.5.0-22-generic SMP mod_unload modversions
parm: minor_count:Maximum number of drbd devices (1-256) (uint)
parm: disable_sendpage:bool
parm: allow_oos:DONT USE! (bool)
parm: cn_idx:uint
parm: proc_details:int
parm: usermode_helper:string

simon@ubuntu:~$ apt-cache policy linux-image-$(uname -r) drbd8-utils
linux-image-3.5.0-22-generic:
  Installed: 3.5.0-22.34~precise1
  Candidate: 3.5.0-22.34~precise1
  Version table:
 *** 3.5.0-22.34~precise1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
drbd8-utils:
  Installed: 2:8.3.11-0ubuntu1
  Candidate: 2:8.3.11-0ubuntu1
  Version table:
 *** 2:8.3.11-0ubuntu1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I think this needs attention, so setting Importance to High. Usually SRU policy generally frowns on this kind of update, but it may make sense given that the kernel is being bumped. I appreciate you bringing it up.

I believe it will be possible to run the old kernel. Will the new drbd work with both?

Changed in drbd8 (Ubuntu):
importance: Undecided → High
Revision history for this message
Jacob Smith (jsmith-argotecinc) wrote :

I'm not the reporter but I am a daily user of DRBD on precise.

If someone is running the old kernel then they should use the matching older version of drbd8-utils.
So if the module in the kernel is 8.3.11 then the tools should be also or if the module is 8.3.13 then the tools should be 8.3.13 also.

I'm a total newbie about packaging but is there a way to make it so drbd8-utils version 8.3.11 is required to be upgraded if you go to kernel >= 3.5 and drbd is installed? And if you install/downgrade to kernel < 3.5 drbd8-utils must be downgraded to 8.3.11 at the same time if installed - through dependencies or something?

Revision history for this message
Simon Déziel (sdeziel) wrote :

Jacob, that is also my understanding, the userspace utility version must always match the DRBD module version.

Revision history for this message
Numérigraphe (numerigraphe) wrote :

As discussed in Debian[1], it's OK to use drbdadm 8.3.11 with module 3.8.13, and "This warning can be silenced if you set the following environment variable: DRBD_DONT_WARN_ON_VERSION_MISMATCH"

The only downside I know of is you won't have access to the newest command-line options. Reading the change log [2], that would only be the option "--force".

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659353
[2] http://git.drbd.org/?p=drbd-8.3.git;a=blob;f=ChangeLog;hb=HEAD

So I suggest it's ok to not upgrade.
Lionel Sausin.

Changed in drbd8 (Ubuntu):
status: New → Invalid
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Sorry, I meant "OK to use drbdadm 8.3.11 with module 8.3.13" of course.

Revision history for this message
Simon Déziel (sdeziel) wrote :

Thanks for looking that up Lionel.

Revision history for this message
flickerfly (josiah-ritchie) wrote :

In 12.04.3 it now appears that the version 8.4.2 is in the kernel, but the userland tools have stayed static making the version gap grow. Could this be why when I run "service drbd start" it never kicks me back to the prompt until I hit Ctrl+C?

$ sudo service drbd start
DRBD module version: 8.4.2
   userland version: 8.3.11
you should upgrade your drbd tools!
 * Starting DRBD resources
DRBD module version: 8.4.2
   userland version: 8.3.11
you should upgrade your drbd tools!

Revision history for this message
Jan Groenewald (jan-aims) wrote : Re: [Aims] [Bug 1103656] Re: Update Precise drbd8-utils to 8.3.13 for the 12.04.2 release
Download full text (3.5 KiB)

Hi

Can you try linux-image-generic-lts-quantal or
linux-image-generic-lts-raring?
Those kernel versions will have different DRBD module versions.

Regards,
Jan

On 9 October 2013 22:24, flickerfly <email address hidden> wrote:

> In 12.04.3 it now appears that the version 8.4.2 is in the kernel, but
> the userland tools have stayed static making the version gap grow. Could
> this be why when I run "service drbd start" it never kicks me back to
> the prompt until I hit Ctrl+C?
>
> $ sudo service drbd start
> DRBD module version: 8.4.2
> userland version: 8.3.11
> you should upgrade your drbd tools!
> * Starting DRBD resources
> DRBD module version: 8.4.2
> userland version: 8.3.11
> you should upgrade your drbd tools!
>
> --
> You received this bug notification because you are a member of AIMS,
> which is subscribed to the bug report.
> https://bugs.launchpad.net/bugs/1103656
>
> Title:
> Update Precise drbd8-utils to 8.3.13 for the 12.04.2 release
>
> Status in “drbd8” package in Ubuntu:
> Invalid
>
> Bug description:
> According to https://lists.ubuntu.com/archives/ubuntu-devel-
> announce/2013-January/001003.html, Precise 12.04.2 will ship with
> kernel 3.5.0. This new kernel comes with DRBD 8.3.13 but the
> drbd8-utils package in Precise are still is at version 8.3.11.
>
> Running a different version of the userspace utils and the kernel
> module is not recommended by upstream and gives such warning:
>
> # /etc/init.d/drbd start
> * Starting DRBD resources
>
> DRBD module version:
> 8.3.13
> userland version: 8.3.11
> you should upgrade your drbd tools!
>
> More information on the test VM (installed with the daily image):
>
> simon@ubuntu:~$ modinfo drbd
> filename:
> /lib/modules/3.5.0-22-generic/kernel/drivers/block/drbd/drbd.ko
> alias: block-major-147-*
> license: GPL
> version: 8.3.13
> description: drbd - Distributed Replicated Block Device v8.3.13
> author: Philipp Reisner <email address hidden>, Lars Ellenberg <
> <email address hidden>>
> srcversion: 697DE8B1973B1D8914F04DB
> depends: lru_cache
> intree: Y
> vermagic: 3.5.0-22-generic SMP mod_unload modversions
> parm: minor_count:Maximum number of drbd devices (1-256) (uint)
> parm: disable_sendpage:bool
> parm: allow_oos:DONT USE! (bool)
> parm: cn_idx:uint
> parm: proc_details:int
> parm: usermode_helper:string
>
> simon@ubuntu:~$ apt-cache policy linux-image-$(uname -r) drbd8-utils
> linux-image-3.5.0-22-generic:
> Installed: 3.5.0-22.34~precise1
> Candidate: 3.5.0-22.34~precise1
> Version table:
> *** 3.5.0-22.34~precise1 0
> 500 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/main
> amd64 Packages
> 100 /var/lib/dpkg/status
> drbd8-utils:
> Installed: 2:8.3.11-0ubuntu1
> Candidate: 2:8.3.11-0ubuntu1
> Version table:
> *** 2:8.3.11-0ubuntu1 0
> 500 http://ca.archive.ubuntu.com/ubuntu/ precise/main amd64
> Packages
> 100 /var/lib/dpkg/status
>
> To manage notific...

Read more...

Revision history for this message
flickerfly (josiah-ritchie) wrote :

Yeah, actually just did 'sudo apt-get dist-upgrade' which took me to the lts-raring kernel and it looks happier. Thanks Jan!

I am still getting the version mismatch, but it seems to function properly now. Was that bug #1185756 I was running into? I was just parsing through that so maybe I'll comment over there that this resolved my problem and hopefully assist someone trying to parse that conversation.

Changed in drbd8 (Ubuntu):
status: Invalid → Confirmed
Changed in drbd8 (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.