Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294880 - sys-cluster/drbd-8.3.8.1 please stabilize
Summary: sys-cluster/drbd-8.3.8.1 please stabilize
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2009-11-27 19:43 UTC by Zdenek Herman
Modified: 2010-09-10 18:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sample nodes configuration (nodes.txt,421 bytes, text/plain)
2010-08-02 04:53 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zdenek Herman 2009-11-27 19:43:33 UTC
Because new kernel gentoo-source-2.6.31-r6 was stabilized and repair risk security bugs and old stable version drbd 8.0.x series cannot compile with this new kernel. I try sys-kernel/gentoo-sources-2.6.31-r6, sys-cluster/drbd-8.3.6 and sys-cluster/drbd-kernel-8.3.6 on AMD64 platform and works well.
I think that is right time to stabilize this version.


Reproducible: Always




Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64)                                                           
=================================================================                
System uname: Linux-2.6.31-gentoo-r6-x86_64-Dual_Core_AMD_Opteron-tm-_Processor_165-with-gentoo-1.12.13                                                           
Timestamp of tree: Thu, 26 Nov 2009 19:00:01 +0000                               
app-shells/bash:     4.0_p28                                                     
dev-lang/python:     2.6.2-r1                                                    
dev-python/pycrypto: 2.0.1-r8                                                    
sys-apps/baselayout: 1.12.13                                                     
sys-apps/sandbox:    1.6-r2                                                      
sys-devel/autoconf:  2.13, 2.63-r1                                               
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2                      
sys-devel/binutils:  2.18-r3                                                     
sys-devel/gcc-config: 1.4.1                                                      
sys-devel/libtool:   2.2.6a                                                      
virtual/os-headers:  2.6.27-r2                                                   
ACCEPT_KEYWORDS="amd64"                                                          
CBUILD="x86_64-pc-linux-gnu"                                                     
CFLAGS="-march=opteron -O2 -pipe"                                                
CHOST="x86_64-pc-linux-gnu"                                                      
CONFIG_PROTECT="/etc /usr/share/genkernel/x86_64/modules_load /usr/share/logwatch/scripts/services/secure /var/bind"                                              
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                                        
CXXFLAGS="-march=opteron -O2 -pipe"                                              
DISTDIR="/usr/portage/distfiles"                                                 
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                    
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                             
LANG="en_US.UTF-8"                                                               
LDFLAGS="-Wl,-O1"                                                                
LINGUAS="cs en de sk ru"                                                         
PKGDIR="/usr/portage/packages"                                                   
PORTAGE_CONFIGROOT="/"                                                           
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"            
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                     
PORTAGE_TMPDIR="/var/tmp"                                                        
PORTDIR="/usr/portage"                                                           
PORTDIR_OVERLAY="/usr/local/portage"                                             
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                   
USE="X509 accessibility acl acpi adns aim amd64 apache2 apm berkdb bzip2 bzlib calendar chroot cli cracklib crypt cscope ctype curl curlwrappers dba dbm dbx dedicated dio dri erandom exif fam fastcgi fftw flatfile foomaticdb fortran freedts ftp gd gdbm gif gps imap imlib inifile innodb ipv6 ithreads jabber jikes jpeg justify kerberos libedit libwww maildir mailwrapper mbox mcal mcve memlimit mhash mime ming mmap mmx mng modules msession mudflap multilib mysql mysqli ncurses nis nls nocardbus nptl nptlonly odbc offensive openmp pam pcntl pcre pdflib perl php png posix pppd prelude pwdb python readline recode reflection sasl session sftplogging simplexml skey slang snmp sockets spell spl sse sse2 ssl sysfs sysvipc szip tcpd threads tidy tiff tokensizer unicode usb vhosts wmf xml xml-rpc xml2 xorg xsl zeo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en de sk ru" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Luca Lesinigo 2010-01-06 23:42:25 UTC
Little cosmetic fix: the ebuild for drbd-8.3.6 says "Please copy and gunzip the configuration file" while it is actually compressed with bzip2

Installed on gentoo/hardened amd64 servers with XenLinux 2.6.18.8 (from xensource 3.4.2 distribution), still testing the new systems but seems to work well so far.
Comment 2 Luca Lesinigo 2010-01-08 12:47:26 UTC
(In reply to comment #1)
I just spoke too fast, sorry. The systems will indeed run Xen, but so far I'm still in testing with a vanilla 2.6.31 kernel and drbd-8.3.6, which works well.

Contrary to what I said, I wasn't able to make any 8.3.x drbd version work with XenLinux-2.6.18.8[1], even if they should theoretically work. Emerging it with portage will make the kernel module load correctly but Oops as soon as you try to attach any disk resource. Sorry for my previous misleading post.
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-26 17:01:37 UTC
We will go with 8.3.8, since kernels 2.6.{33,34} are being stabilized already. 
Comment 4 Zdenek Herman 2010-06-27 06:24:18 UTC
Now is stabilized gentoo-sources-2.6.33-r2. On this page is recommended  drbd-8.3.7 use land (because kernel module is included from vanilla 2.6.33) for  kernel 2.6.33 - http://www.drbd.org/download/mainline/.
I think that better stabilized 8.3.7 and 8.3.8 still in testing.
What you think ?
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-27 09:36:49 UTC
(In reply to comment #4)
> Now is stabilized gentoo-sources-2.6.33-r2. On this page is recommended 
> drbd-8.3.7 use land (because kernel module is included from vanilla 2.6.33) for
>  kernel 2.6.33 - http://www.drbd.org/download/mainline/.
> I think that better stabilized 8.3.7 and 8.3.8 still in testing.
> What you think ?
That's line from drbd-8.3.8 Changelog
* Compiles on 2.6.33 and 2.6.34
after long list of bug fix (segfaults OOps etc.) since 8.3.7.
Furthermore I've tested it with 2.6.34-r1 and apart from warning about versions mismatch, it works perfectly.
BTW, If you are reporter of the bug you don't need to add yourself to CC :)
Cheers,
Kacper Kowalik
Comment 6 Zdenek Herman 2010-06-27 10:01:09 UTC
Yes, you are right!
Ver 8.3.8 compiled without problem. I will report result under loading on server.
Thanks :-) 
Comment 7 Zdenek Herman 2010-07-01 04:56:50 UTC
stable for me on amd64

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Dual_Core_AMD_Opteron-tm-_Processor_165-with-gentoo-1.12.13
Timestamp of tree: Wed, 30 Jun 2010 17:00:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/genkernel/x86_64/modules_load /usr/share/logwatch/scripts/services/secure /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs en de sk ru"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
Comment 8 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-08-02 04:52:38 UTC
Arches please do your magic.

Outdated but usable howto on drbd: 
http://en.gentoo-wiki.com/wiki/Heartbeat_and_DRBD
Default settings should work out-of-the-box. Just add bits concering your nodes to /etc/drbd.d/global_common.conf (see attachment for an example)

Use small partition for testing purpose. First syncing may take some time.
Comment 9 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-08-02 04:53:22 UTC
Created attachment 241009 [details]
sample nodes configuration
Comment 10 Luca Lesinigo 2010-08-04 10:22:08 UTC
Upstream released bugfix minor version 8.3.8.1 and removed 8.3.8 from published downloads (http://oss.linbit.com/drbd/ )

8.3.8.1 (api:88/proto:86-94)
 * Revert delay probes, they could potentially lead to stalled resync.
   Feature is being re-implemented differently
 * DRBD ocf resource agent now treats hostnames case insensitive

I suggest to target 8.3.8.1 for inclusion and stabilization.
Comment 11 Zdenek Herman 2010-08-05 05:02:33 UTC
Stable for me on amd64
Comment 12 Markos Chandras (RETIRED) gentoo-dev 2010-08-12 12:29:39 UTC
amd64 done
Comment 13 Christian Faulhammer (RETIRED) gentoo-dev 2010-08-13 07:22:03 UTC
x86 stable, closing