Latest FOG 0.33b
-
[quote=“Tom Elliott, post: 21557, member: 7271”]That doesn’t make sense to me. I haven’t had any issues running memtest on my systems. I use it to quickly restart my VM’s as they’re running from virtualbox. it’s quicker to (from the menu) choose memtest then right when it starts, press escape to restart for. I’ve never seen that error. That said, it makes me wonder how old your memtest kernel is as it shouldn’t be creating a ramdisk anyway, that I’m aware of. memtest is it’s own utility to my understanding.
You say you got hostname changer to work, was there any steps for this or did it just start working?
I’ve tested, slightly, with testdisk surface test, but not much. It appeared to work fine to me, so I just let be. I’ll do more testing.[/quote]
Ok so I figured out the memtest thing if you do it from the PXE boot menu it works, but if you deplay it from a basic task it gives you the error I told you about. Also for the host name changer I think I just had to encrypt my password in fog… but thats just what I remeber. I have to build another server so I will go through my steps again and report everything I did to get it working. I am trying the surface test in a VM as of now and it says…
[QUOTE]
Starting Disk Surface Test on
/dev/sdaChecking blocks 0 to 62914559
Checking for bad blocks (read-only test):
[/QUOTE]but it just stopps there the blocks does not increase or anything.
And the last thing under Active Snapins I am getting this
[QUOTE]
FOG ERROR: Snapin: Record not found, Error: No data array or ID passed!
FOG ERROR: Host: Record not found, Error: No data array or ID passed!
FOG ERROR: Host: Record not found, Error: No data array or ID passed!
FOG ERROR: Snapin: Record not found, Error: No data array or ID passed!
FOG ERROR: Host: Record not found, Error: No data array or ID passed!
FOG ERROR: Host: Record not found, Error: No data array or ID passed!
FOG ERROR: Snapin: Record not found, Error: No data array or ID passed!
FOG ERROR: Host: Record not found, Error: No data array or ID passed!
FOG ERROR: Host: Record not found, Error: No data array or ID passed
[/QUOTE] -
I’m not seeing an issue with Snapins. What revision are you on? What steps can I do to get the same results?
Fixed the memtest issue. It’s due to the fact the ramdisk option is being set. Remember, none of the task associations were setup so something where missed. I just corrected the memdisk issue by, basically, keeping the append options off. I’ll post the revision shortly.
I imagine this same issue is what we’re seeing on surface checks, and possibly, other task types as well. I’ll have to dedicate time to each one to get each one working properly.
-
During testing, it seems like badblocks is being checked. I performed the same tasks that are performed on the system during this particular task and killed the task just to see if I’d get any info.
Don’t forget, this surface test performs the surface test from each block on the system, so I expect that it would take it a while to perform. I didn’t write the program, but it looks like there is a progress indicator. I’ll add that to the fog.surfacetest script. and post in a moment.Hopefully this two items (from a tasking standpoint) will work for you now.
-
r1109 released. Should add progress information for surfacetest as well as perform checkin on the task. I’ll work on implementing more checkins. The one I can’t is the memtest task as it never loads anything where you have a console.
-
[quote=“Tom Elliott, post: 21562, member: 7271”]r1109 released. Should add progress information for surfacetest as well as perform checkin on the task. I’ll work on implementing more checkins. The one I can’t is the memtest task as it never loads anything where you have a console.[/quote]
Thanks I will try it what is the easist way to check the revision I just did an update this morning so I know it is recent. I just was testing pusing out some snapins and it says successfully deployed, but then on the client side it says it has an image task waiting so I have to cancel the task under active task and usually they deploy but now its giving me that error instead.
I am thinking a task is corrupt in the database is there anyway to go in and clear out all task that may be pending?
-
I think you need to delete all tasks with a stateID of 1,2,3
Something like
DELETE FROM tasks WHERE taskStateID IN (‘1’,‘2’,‘3’);Then delete the 01- files relating to those tasks.
-
To check which revision you’re at, I’m assuming you’re using SVN?
From the trunk folder perform:
[code]svn info | grep “Revision” | awk ‘{print $2}’[/code] -
[quote=“Tom Elliott, post: 21564, member: 7271”]I think you need to delete all tasks with a stateID of 1,2,3
Something like
DELETE FROM tasks WHERE taskStateID IN (‘1’,‘2’,‘3’);Then delete the 01- files relating to those tasks.[/quote]
I am still having issues its not in active task though it is in snapin task I am uploading a pdf (screenshot) of the issue).
[url=“/_imported_xf_attachments/0/499_Active Snapins _ Task Management _ FOG _ Open Source Computer Cloning Solution.pdf?:”]Active Snapins _ Task Management _ FOG _ Open Source Computer Cloning Solution.pdf[/url]
-
[quote=“Troye Johnson, post: 21566, member: 3048”]I am still having issues its not in active task though it is in snapin task I am uploading a pdf (screenshot) of the issue).[/quote]
Also I was on 1097 when this occurred.
-
If you don’t want any of the tasks there, try this:
TRUNCATE TABLE snapinTasks;
TRUNCATE TABLE snapinJobs; -
[quote=“Tom Elliott, post: 21569, member: 7271”]If you don’t want any of the tasks there, try this:
TRUNCATE TABLE snapinTasks;
TRUNCATE TABLE snapinJobs;[/quote]Now that I ran this it cleared the errors but when I try to assign a task now it will not show under active task or snapin task.
Also I just wanted to think you for all your help and hard work I really appreciate it.
-
It seems your /var/www/fog/ OR /var/www/html/fog/ may be corrupted. Has anybody else been “playing” with your fog installation?
I’d also try updating. I’m now at r1110.
-
[quote=“Tom Elliott, post: 21571, member: 7271”]It seems your /var/www/fog/ OR /var/www/html/fog/ may be corrupted. Has anybody else been “playing” with your fog installation?
I’d also try updating. I’m now at r1110.[/quote]
No I am the only one who has access to it the odd thing is I have three of fog servers two of which is doing the same thing.
-
also they are all at different sites and and they only talk to each other when I need to copy an image from one to another.
-
Do your hosts have the snapins associated before trying to deploy it?
-
[quote=“Troye Johnson, post: 21572, member: 3048”]No I am the only one who has access to it the odd thing is I have three of fog servers two of which is doing the same thing.[/quote]
Quick update all task, but the snapin task all or single will start or even show under active task or snapin task.
-
[quote=“Tom Elliott, post: 21574, member: 7271”]Do your hosts have the snapins associated before trying to deploy it?[/quote]
That was it must have associated them when I did that database command. I will try to test the deploy now and see if it works.
-
Hey Tom I may have found another bug when ever I go to edit a snapin it is giving me this error “Failed to add snapin, no file was uploaded.” but the file was already uploaded it should just let me make changes.
Also with the hostname changer I found out that it only works when making the computer join a domain. Is that how it was ment to function because I was under the impression it should work with or without joining a domain.
-
I’ll look into that.
I agree it should work all the time, but haven’t figured out where it needs to be changed. The file for this is called service/hostname.php and I’ve added the code base so it should work. If you’re still on 1093, I might have made the change after that so I don’t know. Initially it was throwing an exception rather than just reporting back. If this is still an issue let me know and I’ll try to dedicate to getting that fixed.
-
I found an issue with mps deploy in that it wouldn’t cycle thru the partitions. I’ve modified the code base so that, from my perspective, it seems to cycle through the partitions again, though I don’t know how well it actually works.
I’ve also added some checks/balances if using windows 8. I’m told the EFI Partition is fat32, so I added a base element to partclone.fat on the second partition if the os is windows 8. There’s a third partition that is blank, but seems to be needed, so I also added a base of code that adds partclone.dd on the third partition if the os is windows 8. Hopefully this will work, but I have no way of knowing as I don’t have windows 8.