[OpenAFS] AFS Perl under debian lenny - problem?

Mike Polek mike@pictage.com
Thu, 08 May 2008 10:24:34 -0700


Hi, All,
   I'll chime in on this one.

   There is an issue in the VLDB code where if you did a
vos changeaddr to convert one machine to an IP that already
existed in the VLDB "Bad things" would happen. From that point
on, you would see the error from vos listaddrs

vos: could not list the server addresses
vl: Index out of range

If you know exactly which IP it is, it's possible to undo
it, but I forget exactly how. I'd have to re-experiment.

Anyway, a number of people mentioned it over time,
but rather than fixing the underlying issue, I think
the code was changed to stop reporting the error.
It doesn't actually cause a serious problem. But it
does cause issues with the perl AFS code. It makes
vldb-listaddrs not work.

On a RH 7.3 system:

sh-2.05a$ vos listaddrs -cell scan
scan3.pictage.com
scan1.pictage.com
scan4.pictage.com
vos: could not list the server addresses
vl: Index out of range
======

On a FC6 sytesm:

sh-3.00# vos listaddrs -cell scan
scan3.pictage.com
scan1.pictage.com
scan4.pictage.com
======

So, I believe the correct solution may be to fix
your vldb, but I don't know that there is presently
any tool to do so, or even to tell you which IP
is duplicated in your VLDB. But if anyone else
is aware of a VLDB validation tool that would surface
such an error, I'd love to hear about it.

Thanks,
Mike Polek

Norbert Gruener wrote:
> Hi Lars,
> 
> On Mon, May 05 2008, Lars Schimmer wrote:
> 
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>Hi!
>>
>>I used to use the afsss.pl script from mr. Wiesand
>>http://www-zeuthen.desy.de/~wiesand/AFS/ and all was fine after I got
>>the perl modules as a .deb.
>>
>>But since a few days (after some updates) I get this error:
>>
>>vldb->listaddrs Code=AFS::VLDB: could not list the server addresses
>>
>>Is anyone else using the AFS::VLDB package or the script on debian
>>lenny/etch and can give me a hint what went wrong?
> 
> 
> can you provide me some more information?
> 
> - what version of AFS perl are you using?
> - what version of Perl are you running?
> - what version of OpenAFS are you using?
> 
> Cheers,
> 
> Norbert