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
mytestin the status column for all hosts in that particular groupI 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
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu