Fog 0.33b fresh install on kubuntu 14.04.1 - record not found1
-
Fog 0.33b
Kubuntu 14.04.1
fresh install
have installed fog 0.33b for several times - getting the same all times, all variations
“FOG ERROR: StorageGroup: Record not found, Error: No data array or ID passed!” when trying to assign a task to fresh created host (MAC address)[url=“/_imported_xf_attachments/0/705_snapshot1.png?:”]snapshot1.png[/url]
-
Set the OSID on the images in your system.
Also, set an Image on the Host.
-
[Sat May 03 13:07:29.430239 2014] [mpm_event:notice] [pid 3350:tid 140121394902912] AH00489: Apache/2.4.7 (Ubuntu) configured – resuming normal operations
[Sat May 03 13:07:29.430377 2014] [core:notice] [pid 3350:tid 140121394902912] AH00094: Command line: ‘/usr/sbin/apache2’
[Sat May 03 13:07:48.742157 2014] [mpm_event:notice] [pid 3350:tid 140121394902912] AH00491: caught SIGTERM, shutting down
[Sat May 03 13:07:49.827127 2014] [mpm_prefork:notice] [pid 5022] AH00163: Apache/2.4.7 (Ubuntu) configured – resuming normal operations
[Sat May 03 13:07:49.827248 2014] [core:notice] [pid 5022] AH00094: Command line: ‘/usr/sbin/apache2’
[Sat May 03 13:07:50.167447 2014] [mpm_prefork:notice] [pid 5022] AH00169: caught SIGTERM, shutting down
[Sat May 03 13:07:51.312480 2014] [mpm_prefork:notice] [pid 5096] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured – resuming normal operations
[Sat May 03 13:07:51.312554 2014] [core:notice] [pid 5096] AH00094: Command line: ‘/usr/sbin/apache2’
[Sat May 03 13:11:09.446843 2014] [mpm_prefork:notice] [pid 5096] AH00169: caught SIGTERM, shutting down
[Sat May 03 13:11:10.520438 2014] [mpm_prefork:notice] [pid 16560] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured – resuming normal operations
[Sat May 03 13:11:10.520509 2014] [core:notice] [pid 16560] AH00094: Command line: ‘/usr/sbin/apache2’
[Sat May 03 13:15:12.231095 2014] [:error] [pid 16566] [client 192.168.1.250:49922] PHP Warning: mysql_close(): 2 is not a valid MySQL-Link resource in /var/www/fog/lib/db/MySQL.class.php on line 45, referer: [url]http://192.168.1.250/fog/commons/schemaupdater/index.php?redir=1[/url]
[Sat May 03 13:20:30.325098 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: current() expects parameter 1 to be array, string given in /var/www/fog/lib/pages/HostManagementPage.class.php on line 306, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342121 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342166 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342192 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342214 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342234 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342255 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342275 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342296 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342329 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342350 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342371 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 13:20:30.342394 2014] [:error] [pid 18627] [client 192.168.1.250:49990] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 654, referer: [url]http://192.168.1.250/fog/management/index.php?node=host&sub=add[/url]
[Sat May 03 16:22:31.240591 2014] [mpm_prefork:notice] [pid 16560] AH00169: caught SIGTERM, shutting down
[Sat May 03 16:38:02.667415 2014] [mpm_prefork:notice] [pid 2458] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4 configured – resuming normal operations
[Sat May 03 16:38:02.700437 2014] [core:notice] [pid 2458] AH00094: Command line: ‘/usr/sbin/apache2’ -
sorry, I am a newbee to fog - how to set an image to the host?
[url=“/_imported_xf_attachments/0/706_snapshot2.png?:”]snapshot2.png[/url]
-
I have searched the wiki, but did not find any helpful information to fix this issue
-
you must create an image “profile” on the image management page. this profile tells fog where to store an image when it is saved, what kind of image it is, and allows you to assign that information to hosts for download. I suggest you create one named “default” and assign it to all of your hosts, for now. an image must be assigned to hosts before tasks can be scheduled.
-
thank you, this helped… now I do have the problem that the machine is not booting into PXE… I will look up the forum and wiki…