Failed to upload image (Process Hung)
-
@Keating178 Yes the task will keep spinning unless it gets an all done message or a stat update message from the target computer.
In fog imaging the target computer (and FOS Linux running on it) does all of the work. The fog server sends the image between the network adapter and local storage and manages the overall process, but the FOS Linux engine running on the target is where the action is. It will report actually what is going on or wrong.
-
@Keating178 As George says, we definitely need pictures of what’s on the host’s screen to get an idea what’s wrong.
About the timeout messages you have: For me this sound like one of your drives/partitions is not found. It tries to mount the disk/partition and fails. This is probably something happening on server boot up and doesn’t have to do with the image hang I suppose. Unless this is the disk where you had stored your images…
Please run the following commands and post a screenshot here:
cat /etc/fstab df -h lsblk
-
Sorry for the delay, this is what is happening on the client side.
-
-
@Keating178 Ok, the timeout error is just complaining about the SWAP partition UUID not matching. That shouldn’t cause the capture issue. If you want to fix that you can edit /etc/fstab and put in
/dev/sda3
instead ofUUID=a5ff26a8-1f8b-4659-b897-e4cead8414e5
in line 13. Just be aware that messing things up in /etc/fstab can lease you with an unbootable OS. So do this with caution and on your own risk.Now about the “Invalid Storage Group” error. Please take a look at the apache and PHP-FPM error logs (see my signature) so see if there are any error messages in the logs while this happens.
As well login to the web UI, open the Storage Node and Storage Group view and edit those. Save the settings and then try again.
-
This is all my “Storage” section shows, should I add another one and see if that helps?
Apache2 logs:
[Wed Nov 06 06:25:04.992901 2019] [mpm_prefork:notice] [pid 1295] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1c configured – resuming normal operations
[Wed Nov 06 06:25:04.992969 2019] [core:notice] [pid 1295] AH00094: Command line: ‘/usr/sbin/apache2’
[Wed Nov 06 10:37:55.921388 2019] [proxy_fcgi:error] [pid 62954] [client 10.200.208.38:53305] AH01071: Got error ‘PHP message: PHP Warning: Illegal offset type in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 296\n’, refe$I am not sure what it is telling me here and if it is an error or just a warning.
PHP-FPM Logs:
x -
@Keating178 said in Failed to upload image (Process Hung):
This is all my “Storage” section shows, should I add another one and see if that helps?
No need to add a new one. Just click the “default” Storage Group here and click Update to save. As well click “All Storage Nodes” on the left -> “DefaultMember” -> Update.
Thanks for the logs doesn’t seem like there is anything of value in that. Though You might want to check an older file because the log file might have been rotated already:
cat /var/log/apache2/error.log.1 zcat /var/log/apache2/error.log.2.gz
-
@Sebastian-Roth said in Failed to upload image (Process Hung):
cat /var/log/apache2/error.log.1
I have clicked update on the storage options and I have listed the logs below from where you mentioned.
error.log.1:
[Wed Nov 06 06:25:04.992901 2019] [mpm_prefork:notice] [pid 1295] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1c configured -- resuming normal operations [Wed Nov 06 06:25:04.992969 2019] [core:notice] [pid 1295] AH00094: Command line: '/usr/sbin/apache2' [Wed Nov 06 10:37:55.921388 2019] [proxy_fcgi:error] [pid 62954] [client 10.200.208.38:53305] AH01071: Got error 'PHP message: PHP Warning: Illegal offset type in /var/www/fog/lib/fog/fogmanagercontroller.class.php on line 296\n', refe$ [Thu Nov 07 06:25:04.913077 2019] [mpm_prefork:notice] [pid 1295] AH00171: Graceful restart requested, doing restart
zcat error.log.2.gz:
[Tue Nov 05 06:25:04.838487 2019] [mpm_prefork:notice] [pid 1295] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1c configured -- resuming normal operations [Tue Nov 05 06:25:04.838555 2019] [core:notice] [pid 1295] AH00094: Command line: '/usr/sbin/apache2' [Tue Nov 05 15:32:27.701982 2019] [proxy_fcgi:error] [pid 17035] [client 10.200.208.71:64260] AH01071: Got error 'PHP message: PHP Warning: array_diff(): Argument #2 is not an array in /var/www/fog/lib/fog/fogcontroller.class.php on line 1080\nPHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/fog/fogcontroller.class.php on line 1100\nPHP message: PHP Warning: array_diff(): Argument #2 is not an array in /var/www/fog/lib/fog/fogcontroller.class.php on line 1080\nPHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/fog/fogcontroller.class.php on line 1100\nPHP message: PHP Warning: array_diff(): Argument #2 is not an array in /var/www/fog/lib/fog/fogcontroller.class.php on line 1080\nPHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/fog/fogcontroller.class.php on line 1100\n' [Wed Nov 06 06:25:04.699292 2019] [mpm_prefork:notice] [pid 1295] AH00171: Graceful restart requested, doing restart
-
I haven’t heard back from anyone on the issues that I am having. I have tried verifying all storage paths both in the GUI as well as the server shell and all is working correctly.
Were you able to see anything from the logs I uploaded last?
-
@Keating178 The Invalid Storage Group error you were seeing should be fixed if you can upgrade to the latest within the dev-branch from GIT.
Hopefully this will fix the issue you were seeing too.