[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: clientupdate related bug?! need a debug switch for clientupdate
- To: hobbit (at) hswn.dk
- Subject: Re: clientupdate related bug?! need a debug switch for clientupdate
- From: "Asif Iqbal" <vadud3 (at) gmail.com>
- Date: Tue, 6 Jan 2009 16:05:34 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=A/ZEW5LbiJmGaZCUtlEQefRHi9+1X2UUdO54Pa3cV/E=; b=eZlGtqWAY7ScppfqevUJ6ljtmXlYNNDDcjFRflM22LNPU4KaW8/+Fr9HRaezR8MRPD P+Onfj7Zwgl2jpVYfORMp43uKD6DUM3wdKqnBqLuUqG6pkauVlRPRoFKx1n+AV8YuiMf uYbOa+8/11Dij6ZNX8y75OwilrpLM0ao3K2aI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OxQ7gFM78jUbd4SIj45o/rbzEtWmIS2dh21rfk+VB9SuAABXylQipijNtqcHz4mjyD Xu7E5B4kNlgcodhvWOJE/NLadJgFJchPDBG7lSgv3mxarOl9BWDN4SHzpnaR5KnlK2X/ cLzueS7FoZC9W8n6/agAcnMqVsIZXqY/wcY/8=
- References: <a60f25fc0901060844u7d9039k8e58f4bab6e9ebf6 (at) mail.gmail.com>
On Tue, Jan 6, 2009 at 11:44 AM, Asif Iqbal <vadud3 (at) gmail.com> wrote:
> On Mon, Jan 5, 2009 at 4:32 PM, Asif Iqbal <vadud3 (at) gmail.com> wrote:
>> On Wed, Dec 31, 2008 at 3:24 PM, Asif Iqbal <vadud3 (at) gmail.com> wrote:
>>> Hi
>>>
>>> I have a list of hosts with CLASS:myclass and I have a tar file
>>> newimage.tar file in ~hobbit/server/download dir
>>>
>>> In my ~hobbit/server/etc/client-local.cfg file I added this entry
>>>
>>> [myclass]
>>> clientversion:newimage
>>>
>>> This image suppose to add a new service called `mytest` in the status
>>> column for all hosts in that particular group
>>>
>>> I noticed only few hosts got that new service column `mytest' , after
>>> a little wait, and most did not create the new column
>>> I have a total of 40 hosts in that group
>>>
>>> I also noticed all of the hosts have the [clientversion] section in
>>> the client data showing the `newimage' as the version name.
>>> So hobbit server at least instructed the client correctly to pickup
>>> the new image and the clients were able to run the clientupdate
>>> command.
>>>
>>> All the clients have the new ext/newscript.sh and the
>>> etc/clientversion.cfg file (with content newimage)
>>>
>>> However, the clients that did not show the new service column is
>>> _still_ carrying have the old etc/clientlaunch.cfg file. It does not
>>> have an entry of the [newservice] section. So that explains why new
>>> service column is not showing in status page for those hosts.
>>>
>>> A working and non-working clients' hobbitclient.log file has same
>>> 'tar: blocksize = 0' . So tar xf probably did not fail.
>>> They all are same OS, solaris 8. So something in the non-working hosts
>>> preventing it from overwriting the old etc/clientlaunch.cfg file
>>>
>>> How do I debug this?
>>
>> I made another update and same issue. Some of the hosts did not get
>> the new clientlaunch.cfg file.
>> I had to manually go through each of them just to add the snippet
>> related to the new extension script.
>>
>> Would be nice if I could avoid that, afterall `clientupdate' claims to
>> do just that
>
> I ran the following on two hosts, one where clientupdate works and one
> where it does not.
> I did not see it ever touched the clientlaunch.cfg file for either of
> them. I am probably
> not using the correct switches with truss.
>
> (hobbit):~/client$ rm etc/clientversion.cfg
>
> (hobbit)myhost:~/client$ export HOBBITCLIENTHOME=`pwd`
>
> (hobbit)myhost:~/client$ truss -f ./bin/bbcmd
> --env=etc/hobbitclient.cfg ./bin/clientupdate --update=newversion
>
> This really begs a debug switch for clientupdate
I took the tar file from ~hobbit/server/download dir and untar'd it
(as hobbit user) on the hosts ~hobbit/client dir
and all went just fine. I am guessing the clientupdate has a bug then.
clientupdate pulls the necessary files
for some servers and fail to overwrite the clientlaunch.cfg file
>
>>
>>
>>>
>>>
>>>
>>> --
>>> Asif Iqbal
>>> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
>>>
>>
>>
>>
>> --
>> Asif Iqbal
>> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
>>
>
>
>
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
>
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu