Fog 0.33 Beta Issue
-
When I tried to upgrade. I got this error. I can pass through the error and login to fog web intereface but many links and other items do not work, Any advice to fix this. I really need to use the beta version as it allows my new lenovo pc’s to register and inventory. Unless there is a way to use the kernel that is in 0.33 version with 0.32 .
Here is the error I get during the database schema update.
[SIZE=6][B][FONT=Ubuntu][CENTER][SIZE=32px][COLOR=#666666]Database Schema Installer / Updater[/COLOR][/SIZE][/CENTER][/FONT][/B][/SIZE]
[FONT=Ubuntu][COLOR=#555555]FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 2, Error: Invalid key being set
Update/Install Successful!
Click [URL=‘http://10.0.5.19/fog/management’][COLOR=#7baa0f]here[/COLOR][/URL] to login.
[SIZE=5][B][CENTER][SIZE=18px][COLOR=#4c68a0]The following errors occured[/COLOR][/SIZE][/CENTER][/B][/SIZE][B]Update ID:[/B] 36 - 1
[B]Database Error:[/B]
Duplicate entry ‘417-23’ for key ‘gmHostID’[B]Database SQL:[/B]
ALTER TABLEfog
.groupMembers
ADD UNIQUE (gmHostID
,gmGroupID
)[/COLOR][/FONT] -
While I feel your pain, I’d say don’t do an upgrade.
First create a backup of the data you’ll need from Hosts, Images, Inventory, Groups, etc…
You may have to do this part manually. To my knowledge, the upgrade feature itself doesn’t work yet and I don’t know where to begin to get it working. I’m recommending people start with a new fog database so we know things will work properly.
That said, yes you can use the kernel in 0.33b as that’s just a kernel. It just contains the drivers needed for the systems you’re trying to image.
I’d start with trying maybe my kernel, as 0.33b is using 3.11.1 kernel which I created.
My current version of the kernel is based on 3.11.6
[url]https://mastacontrola.com/fogboot/kernel/bzImage[/url]
Place the file in:
[code]/tftpboot/fog/kernel/bzImage[/code]You can also create a backup of the kernel if you need it with:
[code]cp /tftpboot/fog/kernel/bzImage /tftpboot/fog/kernel/bzImage.original[/code]
-
What are the instructions to add your new kernel to the fog server. When I use filzilla to ftp in it wont let me chang eor rename the bzimage file. It looks like a permissions error. Thx in advance.
-
Use CoffeeCup FTP to ftp into your machine, I find that it works better and you can change permissions directly from the app.
You can even SSH from it if you like.
-
Well I have the kernel installed and now it goes to the point where it shows attempting to register host. It then has a flashing cursor which the screen continues to go up but nothing ever happens? Any other kernels I can try? or suggestions.
-
Are you on 0.33 or 0.32?
-
0.32
I am trying to get a Lenovo MT-M-10am to register up so I can image. -
Here is what I am trying to register and image.
[SIZE=6][B][COLOR=#4d4e53][FONT=Prelo-Bold][SIZE=24px]Lenovo ThinkCentre M83 10AM - Core i3 4130 3.4 GHz[/SIZE][/FONT][/COLOR][/B][/SIZE] -
A different kernel, at this point, isn’t what is seeming to be the issue. It seems that the system can’t communicate with the sql server. You got it so it now asks for hostname and attempts to register the host after you enter the host name. To verify where the issue is, I know this sounds odd, but keep the system “stuck” persay.
On the fog server, console/ssh in and tail the /var/log/httpd/error_log file, or on ubuntu, /var/log/apache2/error.log.
Print the output of that here and I can try helping even further.
-
Let me explain a little better where I am at. I copied your kernel from the link you provided above. When I tftp boot the machine it gets an ip address and the fog menu appears. When I select a quick register from the list it loads the kernel and I see your fog display and a couple peoples name that it is created by, then it continues on and then gets to a point where it says attempting to register host. This is where it hangs at a flashing cursor. I will send the log in the morning. Thank You for the help
-
There is nothing in my log file from this new Lenovo pc. It gets a ip on initial boot. But then once the kernel load the network fails. See attached image of the fog pc info menu. [ATTACH=full]423[/ATTACH]
[url=“/_imported_xf_attachments/0/423_photo.JPG?:”]photo.JPG[/url]
-
You need a different kernel then, just because your nic card works before “linux” boots doesn’t mean that “linux” is happy with the driver supplied.
To be more specific, you need to include your network card driver in the kernel.
-
How would I go about getting this nic card in the kernel?
[B][SIZE=6][COLOR=#4d4e53][FONT=Prelo-Bold][SIZE=24px]Lenovo ThinkCentre M83 10AM - Core i3 4130 3.4 GHz[/SIZE][/FONT][/COLOR][/SIZE][/B] -
I’ll need to look, which kernel are you using? Are you sure you’re using the one you downloaded?
The kernel I’ve created has all networking drivers capable so far. It jus doesn’t have wireless drivers.
-
I was using the one you gave in the download above. 3.11.1 I believe is what it was.
-
If you downloaded from my site, the kernel is 3.11.6, but can you provide more information about the type of network on your system? I can try to add that driver to the kernel.
-
I am running cat 5e cable to a mix of hp 2848 gb procurve switches and cisco 100mb cisco 3500 switches. The pc is a
[B][SIZE=6][COLOR=#4d4e53][FONT=Prelo-Bold][SIZE=24px]Lenovo ThinkCentre M83 10AM - Core i3 4130 3.4 GHz[/SIZE][/FONT][/COLOR][/SIZE][/B]My current pc’s that work with fog now are Lenovo M75’s
Is this what you are looking for
-
No I need to what what type of network is it. I’ll look up what it is if I can.
-
Thank You
-
So I’ve rebuilt a kernel, though it looks like the type of driver you need is an Intel driver, which I assure you has been built in. This new kernel is 18Mb and contains anything and everything I could find pertaining to drivers. It has many many things inside.
Give it a go, if it works, awesome, if not I’ll try again.
[url]https://mastacontrola.com/fogboot/kernel/bzImageAllDevice[/url]