Title: Re: [systemimager-commits] r3547 - trunk/sbin
Hi Andrea:
 
The message "Unable to retrieve previous messages!" is correct - since it lost network connection to the node - however, if that's the case, why did it print "Imaging Complete" which is a "previous message"?  That's incorrect IMHO.
 
I'll try to debug the issue by running telnet, will keep you posted.
 
Cheers,
 
Bernard


From: Andrea Righi [mailto:[EMAIL PROTECTED]
Sent: Sun 07/05/2006 03:35
To: Bernard Li
Cc: sisuite-devel@lists.sourceforge.net
Subject: Re: [systemimager-commits] r3547 - trunk/sbin

Bernard Li wrote:
> Hi Andrea:
>
> Basically I was trying to fix the following "bug":
>
> After imaging has completed, the last message in
> /var/lib/systemimager/clients.xml usually is a message "Imaging
> Complete".  So when you invoke the virtual console after you lose
> connection, it would say "Unable to retrieve previous messages!" but
> then after that it will say "Imaging Complete".
>
> If you can fix this behaviour with the functionality you want intact,
> that's fine... :-)

Do you mean it's better to print only 'Imaging Complete'? so it should
be: if it's not able to retrieve previous messages but the last message
reported was 'imaging complete' then prints only 'imaging complete'.
Otherwise print also the error message... right?

>
> BTW, I have tested on x86_64 and for some reason it always say it
> could not gather previous messages (eg. no dmesg output at all) - I
> wonder if there are some network port issues...  do you know how I
> can debug that?  Alternatively, have you tested virtual console under
> x86_64?  It works fine for me under x86.

Try a `telnet <client> 8181` on your image server, the output should be
the same shown in the virtual console... if it doesn't work there's a
network problem or a bug in the client's autoinstallscript. Otherwise
the problem is in si_monitortk code...

Cheers,
-Andrea

Reply via email to