[Linuxha-users] 0.8.6 clbuildapp bugfix and lv_list issues(?)

Leroy van Logchem leroy.vanlogchem at wldelft.nl
Mon Apr 4 22:33:18 BST 2005


Hi Simon,

First off I must say I'am new to linuxha.net and have just begun 
exploring it. The documentation is rich and lengthy compared to 
heartbeat's I read earlier.
While I'am going trough the documenation installing my first linuxha 
application using drbd I found two bugs and got one solved:

Synopsis bug 1) The md5 hash which get checked when doing --build after 
--vgbuild has issues with newlines.

948         $vgbuild_sum=<$fd3>; chomp $vgbuild_sum;
949         chomp $vgbuild_sum;
950
951         $sss=$md5_sum->hexdigest;
952 print STDERR "\$vgbuild_sum -$vgbuild_sum-\n";
953 print STDERR "\$sss -$sss-\n";
954         if($vgbuild_sum ne $sss) {


The adhoc fix adds 'n extra chomp and lets the build properly compare 
and hence it continues instead of exit.

Bug 2) The $LVM->lv_list return nothing most of the time.. but sometimes 
it does return valid data after a few retries (about 3 times).

@lvl=$LVM->lv_list(VGNAME => $cvg, UPTODATE => 1);
if(!defined(@lvl)) {

I didnt go into the lv_list subroutines deep yet. If I'am going to use 
linuxha here in production on our fileservers I like to help out fixing 
bugs.

OS used: RHEL4

Best regards,
Leroy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/linuxha-users_linuxha.net/attachments/20050404/5fc934dd/attachment.htm


More information about the Linuxha-users mailing list