Latest FOG 0.33b
-
[quote=“Tom Elliott, post: 21965, member: 7271”]r1150 released.
Should truly fix inventory deploy bug.
Was awaiting ##@GO but being sent ##. All the other scripts referencing the Post_Wipe.php file were requesting ##, so made the change to the script (fog.auto.reg) and updated the init.gz[/quote]
i’m unable to upload a image with r1150
the error on the client:
- Attempting to send inventory…
- Attempting to send inventory…
- Attempting to send inventory…
(loop)
the error on webserver:
Tue Jan 28 08:35:28.919146 2014] [:error] [pid 21583] [client 172.24.77.119:47788] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 109
[Tue Jan 28 08:35:28.919189 2014] [:error] [pid 21583] [client 172.24.77.119:47788] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 184
[Tue Jan 28 08:35:31.924901 2014] [:error] [pid 19660] [client 172.24.77.119:47789] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 109
[Tue Jan 28 08:35:31.924947 2014] [:error] [pid 19660] [client 172.24.77.119:47789] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 184
[Tue Jan 28 08:35:34.930731 2014] [:error] [pid 21580] [client 172.24.77.119:47790] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 109
[Tue Jan 28 08:35:34.930775 2014] [:error] [pid 21580] [client 172.24.77.119:47790] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 184
[Tue Jan 28 08:35:37.936858 2014] [:error] [pid 19659] [client 172.24.77.119:47791] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 109
[Tue Jan 28 08:35:37.936900 2014] [:error] [pid 19659] [client 172.24.77.119:47791] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 184
[Tue Jan 28 08:35:40.942841 2014] [:error] [pid 19662] [client 172.24.77.119:47792] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 109
[Tue Jan 28 08:35:40.942889 2014] [:error] [pid 19662] [client 172.24.77.119:47792] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 184and after mysqld restart:
Tue Jan 28 08:22:27.882090 2014] [:error] [pid 17254] [client 172.24.77.119:37640] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/inventory.php on line 16
[Tue Jan 28 08:22:30.888979 2014] [:error] [pid 17259] [client 172.24.77.119:37641] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/inventory.php on line 16
[Tue Jan 28 08:22:33.895766 2014] [:error] [pid 17261] [client 172.24.77.119:37642] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/inventory.php on line 16the error is releated to line 16 of inventory.php:
$Inventory = $FOGCore->getClass('InventoryManager')->find(array('hostID' => $Host->get('id')));
-
If you’re trying to upload an image, why is it sending inventory?
-
[quote=“Tom Elliott, post: 21974, member: 7271”]Perhaps more detail,
What kind of imaging? Download, Upload, Single Disk Resizable, Multi-Part Single Disk, Multi-Part-All Disk, raw/dd? Multicast?[/quote]
Sorry for the dalay I am trying to download an image it is a single disk Windows 7 image so it has two partations. It restores the 100mb partation fine then gets to about 2.51% before it errors out with “PIGZ abort: corrupted input – invalid deflate data : <stdin>”
-
Is it multicast, and if so, how many systems are in the image job?
Is it unicast, and does this same image work on other items. I’ve not seen this issue yet. I’ve tested upload/download, multicast, etc… and had no issues.
-
I am just trying to image one hyper-v machine the same imaged worked before with no issues. I may try to use the back up copy I have to make sure it did not get corrupted, but the image size and stuff looks fine.
-
I’m just trying to narrow down the issue.
I find it unlikely that my changeover has caused a corrupt data on your server, though there could be a typo in the new script that’s causing the issue.
That said, I’ve tested Single Disk Resizeable, download and all seems fine. I’ve also tested, Single Disk Resizeable upload, and all seems fine.
I’ll test some more again. I’m just using windows xp as my test, but will try a windows 7.
-
ok and Ill test what I can on my side.
-
Windows 7 seems (Single Disk Resizable) seems to work fine. I’m currently at 14.14% complete. Once it’s complete, I’ll perform a download of Windows 7 multi-part single disk to see if that works, then I’ll do the same image set as multi-part all disk. Then I’ll perform the same download through multicast. This should work out the kinks of the download script. I’m also doing the same for a windows xp image. Though I’ve never had any real luck with multi-part and windows xp, even on 0.32, I’ll give this a shot as well.
-
[quote=“Tom Elliott, post: 21989, member: 7271”]Windows 7 seems (Single Disk Resizable) seems to work fine. I’m currently at 14.14% complete. Once it’s complete, I’ll perform a download of Windows 7 multi-part single disk to see if that works, then I’ll do the same image set as multi-part all disk. Then I’ll perform the same download through multicast. This should work out the kinks of the download script. I’m also doing the same for a windows xp image. Though I’ve never had any real luck with multi-part and windows xp, even on 0.32, I’ll give this a shot as well.[/quote]
You may not have to I have tried on on another system same revision and it seems to be working some how my image might have got corrupted I will copy that image to the server where it is not working and see if it works.
-
It’s possible the drive containing your images is corrupt and needs a check?
Also,
Just so all are aware, I’ve found an issue in Windows XP imaging as Multi-part images. This may be what the problem was in 0.32 as well, though I’m not too sure.
As I stated, I’ve never had any luck imaging (Upload Specifically) Windows XP as multi-part. It would start, the upload would never happen, but would switch, after checking in, straight to Task Complete, then reboot. It does the same on 0.33b, but I think I’ve figured out the issue. I don’t have a proper fix for it, but I am currently uploading the image, so it’s still in testing.
Basically, what seems to happen, is fog tries to check the partitions, but the method WIndows XP used/uses to create the partitioning table, it places bits of data outside of the actual partition table. For this reason, the fogpart --list-parts $hd command never returns with any valid partitions, it actually reports (Can’t have partition table outside of disk.) Which is normal if we’re trying to deploy an image with a smaller hard-drive than the uploaded image originally had.
It seems to me, that the fix is to delete the partition (not the data) and regenerate the partition so we can actually upload the image. I’m currently testing, but hope this issue will not be too enforcing as Windows XP support goes away in April from Microsoft.
-
[quote=“Tom Elliott, post: 21983, member: 7271”]If you’re trying to upload an image, why is it sending inventory?[/quote]
Sorry, the problem is when I make quick inventory from grub fog menu, not the image upload
-
Should be fixed in r1151.
Already released. Basically checks and set’s host.
-
I just got the pigz corrupt issue. On my end, it’s because my storage server system had a kernel segfault and cut communication between the hosts and the image store.
-
Ok the image is copying back over to the site now (takes about 3 hours I am 1 hour in) so if it still happens after what should I do.
-
I’m just trying to help narrow down the issue, though I think trying to get the error debugged on your server is important.
-
Like I said, my pigz corrupt was because my kernel on that server dumped in the middle of operating.
-
ok I will take a look.
-
it is looking good since I resynced the image to the server currently at 10% will let you know once it finishes
-
The image finished successfully. Thanks Tom.
-
Hi Tom, testing capone on r1152.
client hangs at looking for images, with the following error in the apache2 error log.
[Tue Jan 28 18:26:57 2014] [error] [client 192.168.3.12] PHP Fatal error: Using $this when not in object context in /var/www/fog/service/capone.php on line 10
[Tue Jan 28 18:26:59 2014] [error] [client 192.168.3.12] PHP Fatal error: Using $this when not in object context in /var/www/fog/service/capone.php on line 10
[Tue Jan 28 18:27:01 2014] [error] [client 192.168.3.12] PHP Fatal error: Using $this when not in object context in /var/www/fog/service/capone.php on line 10
[Tue Jan 28 18:27:03 2014] [error] [client 192.168.3.12] PHP Fatal error: Using $this when not in object context in /var/www/fog/service/capone.php on line 10Any thoughts