Fog imaging error
-
Hello all,
I have a problem reimaging one of our workstation. Brand and model is Lenovo M81.
When trying to upload an image for the first time,. I am getting a error message saying that there’s a buffer IO error. I have tried different kernels and upgraded to the most recent SVN version. The first impression is that the image task is going fine but after a couple of sectors, the process stops with the buffer IO errors.I did check the hard drive on possible errors but there is none.
I only made a change to the disk using fixparts.Is anybody able to assist me with this?
Below some log files:
-
@kverkiss what boot file are you using? I’d recommend trying undionly.kkpxe with Lenovos.
Do you normally have no output from your “system activity” and “disk information” areas ???
-
These files have NOTHING to do with imaging or the buffer io problems you’re seeing.
As I understand it, buffer errors would seem, to me, to indicate more a problem with RAM than a problem with disk. While I suppose there is some buffering that occurs on disk, particularly if there is a cache on the disk, as you’re getting these errors during the upload process, my money would be on the RAM of that particular system.
-
@Tom the problem is resolved with the buffer IO errros. When I used fixparts /dev/sda I didn’t use ‘w’ to write it to the partition table.
@Wayne, I am indeed using undionly.kkpxe for all my hardware. I had output in my system activity when it stopped working after the SVN upgrade. Same applies for disk info.Since the last 20 revisions I am struggleing a lot to keep everything stable. Even after upgrading to the most recent SVN which is asking me to upgrade my database, when accessing the managment website for update the database I am no longer getting this website asking me to update the database. Also since the last 20 revisions.
Now at this moment I have uploaded the image without any problerms, however I can no longer register any hosts, all kinds of PHP errors show up… the overview which is empty should also be caused by these errors.
ation')\n#2 {main}\n thrown in /var/www/html/fog/lib/fog/FOGBase.class.php on line 107 [Tue Sep 08 15:14:51 2015] [error] [client 10.10.7.13] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class Registration does not exist' in /var/www/html/fog/lib/fog/FOGBase.class.php:107\nStack trace:\n#0 /var/www/html/fog/lib/fog/FOGBase.class.php(107): ReflectionClass->__construct('Registration')\n#1 /var/www/fog/service/auto.register.php(3): FOGBase->getClass('Registration')\n#2 {main}\n thrown in /var/www/html/fog/lib/fog/FOGBase.class.php on line 107 [Tue Sep 08 15:14:55 2015] [error] [client 10.10.7.13] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class Registration does not exist' in /var/www/html/fog/lib/fog/FOGBase.class.php:107\nStack trace:\n#0 /var/www/html/fog/lib/fog/FOGBase.class.php(107): ReflectionClass->__construct('Registration')\n#1 /var/www/fog/service/auto.register.php(3): FOGBase->getClass('Registration')\n#2 {main}\n thrown in /var/www/html/fog/lib/fog/FOGBase.class.php on line 107 [Tue Sep 08 15:14:57 2015] [error] [client 10.10.7.13] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class Registration does not exist' in /var/www/html/fog/lib/fog/FOGBase.class.php:107\nStack trace:\n#0 /var/www/html/fog/lib/fog/FOGBase.class.php(107): ReflectionClass->__construct('Registration')\n#1 /var/www/fog/service/auto.register.php(3): FOGBase->getClass('Registration')\n#2 {main}\n thrown in /var/www/html/fog/lib/fog/FOGBase.class.php on line 107 The whole register process is just looping.
-
These errors appear with quick register:
[Tue Sep 08 15:22:52 2015] [error] [client 10.10.7.19] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class ServiceModule does not exist' in /var/www/html/fog/lib/fog/FOGBase.class.php:107\nStack trace:\n#0 /var/www/html/fog/lib/fog/FOGBase.class.php(107): ReflectionClass->__construct('ServiceModule')\n#1 /var/www/fog/service/servicemodule-active.php(3): FOGBase->getClass('ServiceModule')\n#2 {main}\n thrown in /var/www/html/fog/lib/fog/FOGBase.class.php on line 107
-
I think you need to re-install the version of FOG you are using - do not SVN up anymore, do not upgrade what you have anymore - I’m just recommending reinstalling what you have.
But only this time, I’m recommending you use the -y argument like this:
./installfog.sh -y
This auto-updates the DB for you.
-
Ok Wayne. I will do that.
Can I completly backup all my database settings, inventory and images etc?
Strangly enough, when using SVN version 3600 everything starts to work again.Thanks for your help.
-
@kverkiss Yes you can backup - I’d recommend that. Try to use the web interface to do that. do a total configuration save - and do a host export using host management.
If the web interface fails you, there are other methods you can use to backup listed here:
https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL -
Some more errors (screenshot)
-
Hey Wayne, this problem is resolved. The problem appeared to be within the machine which the image was uploaded from. The hard disk containted IO errors which were untracable by Windows scandisk and chkdsk. Using a different hard drive resolved the problem.
Thanks for your help!.
-
@kverkiss Good !!! The next time I see a jumble of nonsense errors such as this I’ll recommend trying a different drive.