Latest FOG 0.33b
-
[quote=“JiC, post: 24288, member: 15487”]Hi to all,
I tried to install the latest 0.33b release (r1340) ; it’s a fresh install on a Debian 7 system.
I had 3 problems :
[LIST]
[]During the installation process, when Fog installer asks “What is the IP address to be used by this FOG Server? [adr:111.222.111.222]” if I submit as is for default value, the installer rejects the IP Address. I must specify it manually if I want to continue.[/LIST][/quote][LIST]
[/LIST]
This is a known issue. I haven’t quite been able to see where the issue lies exactly. As you can see it displays the IP just fine, but it doesn’t seem to like using it. My guess is just the place it’s looking at is adding more data than what it actually needs.
[quote=“JiC, post: 24288, member: 15487”]
[LIST]
[]When I go on the page “Service configuration”, if I enable/disable the status of a service (check/uncheck “Service Status” box) and click on the “update” button, I only have a white page ([url]http://myserver/fog/management/index.php?node=service&sub=edit&tab=displaymanager[/url]) and the change I made is not applied. If I edit the same settings in “FOG Configuration”->“FOG Settings”, it works. Maybe it’s a known bug ?[/LIST][/quote][LIST]
[/LIST]
It shouldn’t be a white page, but I’ll take a look today.
[quote=“JiC, post: 24288, member: 15487”]
[LIST]
[]After installing Fog, everything seems Ok. But I think there is a problem with TFTP Server settings :
[/LIST]
[LIST]
[]FOG_TFTP_PXE_CONFIG_DIR contains “TFTP_PXE_CONFIG_DIR” (which doesn’t seem set elsewhere)
[]FOG_TFTP_PXE_KERNEL_DIR contains nothing
[]FOG_TFTP_PXE_KERNEL only contains “bzImage”[/LIST][/quote][LIST]
[/LIST]
FOG_TFTP_PXE_CONFIG_DIR is no longer really required as we’ve moved the pxelinux.cfg directory to /var/www/fog/service/ipxe. The “config” is done dynamically from the boot.php/BootMenu.class.php files. Tasks aren’t “saved” anywhere anymore so we don’t need to ftp the 01-XX-XX-XX-XX-XX-XX files anymore.
FOG_TFTP_PXE_KERNEL_DIR should be set based on the variables during install time. If it’s not set, I don’t know why. However, this should be set to /var/www/fog/service/ipxe
FOG_TFTP_PXE_KERNEL should only contain “bzImage” as iPXE uses relative links. So when it chains to iPXE, it’s chaining to [url]http://{fogserverip}/service/ipxe/boot.php[/url]The relative location in full form when loading bzImage and init.xz would then be:
[url]http://{fogserverip}/service/ipxe/{bzImage,init.xz}[/url]The location of the init.xz and bzImage files is in: /var/www/fog/service/ipxe which is why you set the KERNEL_DIR parameter to that folder. If for some reason permissions weren’t setup properly, this folder should be chown -R fog.root /var/www/fog/service/ipxe
[quote=“JiC, post: 24288, member: 15487”]My /tftpboot folder contains this (there’s no file “bzImage”) :[INDENT=1] [/INDENT]
[INDENT=1][CODE]-rw-r–r-- 1 fog root 828 mars 18 12:17 boot.txt[/INDENT]
[INDENT=1]-rw-r–r-- 1 root root 75 mars 18 12:17 default.ipxe[/INDENT]
[INDENT=1]-rw-r–r-- 1 fog root 395760 mars 18 12:17 ipxe.krn[/INDENT]
[INDENT=1]-rw-r–r-- 1 fog root 25340 mars 18 12:17 memdisk[/INDENT]
[INDENT=1]-rw-r–r-- 1 fog root 16794 mars 18 12:17 pxelinux.0.old[/INDENT]
[INDENT=1]-rw-r–r-- 1 fog root 169248 mars 18 12:17 snponly.efi[/INDENT]
[INDENT=1]drwxr-xr-x 2 fog root 4096 mars 18 12:17 tftpboot[/INDENT]
[INDENT=1]-rw-r–r-- 1 fog root 100430 mars 18 12:17 undionly.kpxe[/INDENT]
[INDENT=1]-rw-r–r-- 1 fog root 147728 mars 18 12:17 vesamenu.c32[/CODE][/INDENT]
[INDENT=1] [/INDENT]
[INDENT=1]When I boot with a test computer, it can’t find any PXE Boot…[/INDENT]
[INDENT=1]Do you know what I must change ?[/INDENT]
[/quote]Please see above.
Also, you’ll need to change your dhcp option 67 (I think) to point to undionly.kpxe rather than pxelinux.0
-
I can not operate “Task manager” :
when I created a Task it does not execute the indicated time was, is this a problem date.timezone? my Linux CentOS 6.5 is a good time. -
r1341 released.
Should fix issue reported on Imaging Log.php line 137. It was missing a ). I’m sorry about that.
Add’s Delete label to the scheduled tasks. I’m sure other’s need this entered as well, but I still have to add hooking to this page, so it should be fixed once I complete that.
Thank you,
-
Warp,
I think you need to check your fog server and make sure the FOG services are actually running:
[code]sudo service FOGScheduler status
sudo service FOGMulticastManager status
sudo service FOGImageReplicator status
[/code]To restart, change the part that says status to restart.
Thanks,
-
[quote=“Tom Elliott, post: 24296, member: 7271”]Warp,
I think you need to check your fog server and make sure the FOG services are actually running:
[code]sudo service FOGScheduler status
sudo service FOGMulticastManager status
sudo service FOGImageReplicator status
[/code]To restart, change the part that says status to restart.
Thanks,[/quote]
Actually they are not Started, because I thought it was starting automatically after installation. -
When i start the service FOGScheduler there is this message : PHP Warning: filesize(): stat failed for /opt/fog/log/fogreplicator.log in /opt/fog/service/common/functions.php on line 24
-
That’s just a warning so it shouldn’t be affecting the operation.
Is the service started and still running?
Does the log have any information?
[code]cat /opt/fog/log/fogreplicator.log[/code] -
[quote=“Tom Elliott, post: 24302, member: 7271”]That’s just a warning so it shouldn’t be affecting the operation.
Is the service started and still running?
Does the log have any information?
[code]cat /opt/fog/log/fogreplicator.log[/code][/quote]
it’s ok for me, thank Tom -
When i give a “Storage Group” to a Image, the Image Path do not change…
example for the “Storage Group = NAS” the path do not modify to “/volume1/images/”[url=“/_imported_xf_attachments/0/594_img1.png?:”]img1.png[/url][url=“/_imported_xf_attachments/0/595_img2.png?:”]img2.png[/url][url=“/_imported_xf_attachments/0/596_img3.JPG?:”]img3.JPG[/url]
-
I’m going to guess that you have more than one node per group?
-
[quote=“Tom Elliott, post: 24307, member: 7271”]I’m going to guess that you have more than one node per group?[/quote]
I’ve one group and one node in this group. -
The way the path get’s specified is by the isMaster AND isEnabled node. So if your NAS is simply a storage node, but is not labeled as Master, (there can only be on master node within a group) it will display whichever node is the master which my guess is currently your FOG Server. The FOG Server’s storage path is /images/
-
[B]Storage Node Storage Group IP Address Image Path[/B]
DefaultMember default 172.16.8.43 /images
Storage_NAS NAS 172.16.8.44 /volume1/images -
In the picture, the Storage_NAS does NOT have the Master Node checkbox checked!
-
[quote=“Tom Elliott, post: 24309, member: 7271”]The way the path get’s specified is by the isMaster AND isEnabled node. So if your NAS is simply a storage node, but is not labeled as Master, (there can only be on master node within a group) it will display whichever node is the master which my guess is currently your FOG Server. The FOG Server’s storage path is /images/[/quote]
If i specify my NAS is the Master the scheduler say “I don’t appear to be the group manager, I will check back later.” and do not work -
r1343 released.
Fixes path display on Image Management Page, if you have multiple master nodes. It would only display the first node it found which would typically be the first ID in the sequence. It now pulls the master node based on the Group ID.
-
[quote=“Tom Elliott, post: 24314, member: 7271”]r1343 released.
Fixes path display on Image Management Page, if you have multiple master nodes. It would only display the first node it found which would typically be the first ID in the sequence. It now pulls the master node based on the Group ID.[/quote]
And so the “scheduler” will work ?
-
r1344
When i put my Storage NAS in master :
1°) The Scheduler service in log message say : “I don’t appear to be the group manager, I will check back later”
2°) If I change the Storage Group for NAS to default and i Update, the upate fail ! -
Which scheduler service says “I don’t appear to be the group manager, I will check back later”?
When you’re changing the Storage Group for nas, to default, make sure it isn’t set to default node!
-
And, I’m assuming your changing the Storage_NAS group to default and not trying to change the Group Name NAS to default?