Bugs in FOG 0.33
-
Great feedback guys! This lets me know where to focus my energy.
-
851 trunk issues - 1 major bug introduced:
Just installed Ubuntu 12.04 today, and a clean install of the 851 trunk. Using firefox.- Item 1 from my initial post is fixed – I don’t get any errors there.
- Item 2 is still broken…my /etc/exports file still has the images dir as ro. Easily fixed as described above.
- Item 3 has been partially fixed. After uploading an image, the client was unable to delete the task, but when I clicked on the “Task Management” page and hit the red delete button, the file in /tftpboot/pxelinux.cfg/ was deleted and the task was deleted from the mysql db! Yeah.
- Item 4: still broken.
- Item 5: The “deploy” link next to the hostname now seems to work. I haven’t run a full test, but I don’t get an error now.
- Item 6: Still broken, though I’m unable to click the link or use the pull down menu now.
Big major issue:
When I attempt to deploy and image that I created, I get this far:
FOG Splash comes up (still says 0.32, BTW)
…
Send Method…Done.
Checking Queue…Done.- Failed to load class file: Class: NodeFailureManager, Error: Could not find file: File: NodeFailureManager.class.php, Paths: /var/www/fog/lib/fog, /var/www/fog/lib/db, /var/www/fog/lib/pages
That last message repeats forever. When I look in those directories, that file is not there. However, there is a “NodeFailure.class.php” in /var/www/fog/lib/fog. I can no longer deploy an image.
Thanks for working on the updates!
-
Astrouga, unless they’ve decided to change the way the /images directory creates and stores images, the /etc/exports file is correct. /images is for storing files that have been uploaded. /images/dev is for writing the image during the upload process. Once an image has completed uploading it is moved from /images/dev to /images. It’s to prevent people from just connecting over NFS to the /images share and start messing with image files.
Thanks for tracking down all these bugs. Knowing where things break makes it easier to find what’s wrong or hasn’t been converted yet.
-
BryceZ:
Thanks for explanation. My fix was just to get things working. I did another full, clean install this morning. Here is what the default install (851 trunk) does on an image upload:
"
- An error has been detected! *
Unable to create /images/d424be1d42d7
- Computer will reboot in 1 minute! *
[SIZE=2]"[/SIZE]
where d424be1d42d7 is the ethernet address of the client I am attempting to pull an image from.Here is the exports file:
more /etc/exports:
/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)Altering the exports file the way I described earlier allowed imaging to work. Perhaps there is just a mistake in their code and it is attempting to write to the wrong folder. I was hoping that by documenting my issues and fixes, it would help the developers, but also get some other folks to test out fog in their environment. I’m going to try to put some time aside later today to look at the init.gz file and see what the client is trying to do.
Cheers, astrouga
-
Where can I find the FOG 0.33 release ?
I would like to test it and report eventual issues. -
I just download a tarball of the trunk from:
[url]http://freeghost.svn.sourceforge.net/viewvc/freeghost/[/url]
851 is the latest.
–astrouga
-
Thank you.
I’m starting the installation. -
I have committed the missing class files - sorry!
#2 - this is by design, /images/ should be read-only.
The dir it’s writing to should be /images/dev/ i.e. /images/dev/mac_address
There must be a bug that is not adding the dev directory to the path.
#3 - good to hear, ill look into the service scripts more.
#4 - Web UI code is yet to be created
#5 - was missing ‘task type id’ from the link - also fixed this problem in group manager
#6 - not sure why the disk info fails - will look into this more when i look at the dashboard again
Keep the bug reports coming! It helps knowing where i should focus my efforts.
-
853 is up
- Renamed GroupMembers Classes to GroupAssociation Classes
- schemaupdater: Unique field setup for ‘groups’ and ‘groupMembers’ tables
- FOGManagerController: buildSelectBox(): ID is now listed after the object name
- Lots of ‘State ID’ changes for Tasks and Service Scripts - needs testing by imaging
- HostManagementPage: Action box to assign hosts to groups now works again
- HostManagementPage: Checkbox toggle works again
-
854
- FOGBase: Cleaned up logging functions - made more readable and less scary looking
- Group: Deploy: Hostnames now link to edit page of Host
- Updated edit icon
- JavaScript: FOGAjaxSearch: Fixed template issue not showing zeros
855
- JavaScript: Clean up unused JavaScript & tidy HTML for JavaScript - FOG now finds the JavaScript it needs automatically
- JavaScript: Condensed JavaScript
- AJAX Files: Removed unused AJAX files - these are deprecated as FOGPage now handles these requests
- Logging tweaks
- SystemUptime() function moved to FOGCore
- Dashboard: Fixed disk usage, image history and bandwidth meter
-
Need some imaging tests if possible as I’ve made a bunch of State ID changes.
I’d like to know if you can deploy -> boot -> image and have the task removed automatically.
-
Blackout, I’ll wipe my server and do a new install this morning. I’ll let you know how it goes.
Thanks for all the hard work!
-
I don’t manage to upload an image from a host. When I’m in the upload menu I have only the choice to press the blue button :
“Deploy to host”.
In the .32 release there is in “basic tasks / upload” a grey button named : “upload image” -
I did a clean install of Ubuntu 12.04 with Fog 33b (trunk 856) today. I only had time for limited testing. These are the items I came across. Sorry if some are the same as reported earlier…I just didn’t have time to compare:
-
Same issue with writing to the images directory. On an image creation task (upload), I get an error it can’t create a folder in /images/macaddressofclient. Looks like the /dev is being left out of the path.
I made /images folder rw so I could continue testing. -
When I click on “Hosts Tasks --> Upload”, the page is a little confusing. The top says “Deploy Task: Upload” and the button to start it says “Deploy to hostname” where hostname is your client name. When I click on that, The next page says “Deploy image to host”…that doesn’t sound like an upload to me, so that is confusing.
-
Image upload works with change in #1. The task finishes on the client. No error, just a single line repeats over and over:
" *
…
"I had to manually reboot the client. The task was still in the Task Management view and was listed in the mysql tasks table.
The delete task button (red box with x) removes the task from the view, but it does not remove the task from the mysql tasks table. If you refresh the Task Management page in the browser, the task comes back. I had to go back into the mysql db and delete the task. (One note is that I was able to remove tasks from the Task Management page if they had not started on the client.)
Also, the image file lives in a folder that is based on the mac address of the client, and not the task name that I assigned when I created the task. So to deploy that image, I had to change the name of the directory or the “image path” in the image defintion.
-
Deploying an image finished and the computer rebooted. The task was not deleted though. Had to do it manually through mysql. Also, my image did not actually work, but I think that is my fault. The imaging process is still really slow for me. I can provide more info on this later if needed.
-
All of the links on the “Other Information” page produce a FOG DEBUG error involving missing Methods in classes.
-
A few tiny version-related things to note: When I run the installfog.sh installer script, it still says version 0.32. Also, in the init.gz file used to boot the client, the /usr/share/fog/lib/funcs.sh file has the 0.32 version in the “displayBanner()” function, so you see that version when the client boots up and is about to start the task.
Cheers, astrouga
-
-
857
- schemaupdater: Added table: taskLog
- Added Classes: TaskLog, TaskLogManager
- Host: createImagePackage(): If task is upload, add ‘dev/’ to end of ‘storage’ kernel arg - fixes bug reported
- Task: Added: removePXEFile() - Removes PXE File
- Task: Added: cancel() - Sets Task to ‘Cancelled’ status and removes PXE File
- Active Tasks: “red x” now Cancels Task instead of Destroying
- Host + Group Management: Added ‘Deploy’ icon to row results
- Host + Group Management: Renamed various links
- Deploy: Update titles and buttons to reflect Task Type and Target
#1 - Fixed
#2 - Fixed
#3 - Probably not fixed - please test again
#4 - Related to #3
#5 - These pages arent complete yet
#6 - Will be updated on final packaging, thank you for reminding -
wow development is fast, even if it has been quite up until now. Hats of to Blackout and the other developers + those testing.
now ubuntu 12.04 Server is out i will give the 0.33 trunk a test
-
859
- Storage Management Web UI Pages completed
- schemaupdater: Added unique fields for tables: nfsgroups & nfsgroupmembers
- Updated remove icon
-
860
- Host: createImagePackage(): Now checks if a Storage Node was found before checking if it’s valid
- Host: Updated layout, MAC now sits under Hostname
- Tweaked icons on search results for Host, Group, Image and Snapins
- Image: Now enforces OS requirement
- Made ‘delete’ pages consistent between all Management Pages
-
861
- Installer: TFTP: Removed ‘\n’ in pxelinux file
- Installer: TFTP: Ubuntu: Installer now correctly detects /etc/default/tftpd-hpa file and installs if file found
862
- Task Status ID Updates in service script functions - image upload and download now work as intended - please verify
- StorageGroup Class simplified
-
I try the fog 0.33b installer under Centos 5. I found a “bug”: the packages are not right under this distro.
[CODE]lib/redhat/config.sh
packages=“httpd php php-gd php-cli php-gettext mysql mysql-server php-mysql dhcp tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ htmldoc perl perl-Crypt-PasswdMD5 lftp clamav-update”;
[/CODE]The php-gettext not exists in Centos nor RedHat. And the php packages install an old version of PHP, and this 0.33b version don’t works, you must install php53 packages.