Wrong Image size in web interface
-
I’m not aware of there being any problems. Even still, this is not a “make or break” feature.
-
What portion is this showing up at? The size on client or size on server? Once again, however, this element has no impact on the functionality/usability of the images in question.
-
Hello Tom,
this the size on client, but the size on serverFOG Configuration => Fog Settings => General Settings => FOG_FTP_IMAGE_SIZE (on)
is wrong also
Then, what is the meanings of these informations ?
-
@plegrand Try restarting the
FOGImageSize
service. (I Can’t remember if that got pushed out in 1.3.5 or 1.4.0 though) -
Image Size on Server is the ‘Space it physically takes up on the server.’
Image Size on Client is taken during imaging (capture or deploy) as the image is being applied. It updates the partition working on and then all of the information is taken together to try to tell the admin’s what the “smallest” drive acceptable for the image to still work.So, ideally, the Size on client should be larger than the size on server.
As stated before, neither of these fields is indicative of a problem with the image or its usability. It simply is there to help keep the admin’s informed.
-
@Tom-Elliott
i restarted FOGImage service which is present in 1.3.5 without successBut as you said :
“this element has no impact on the functionality/usability of the images in question.”No problem for me
-
@plegrand If you’d like you can try installing the RC versions? Maybe something was messed up unknowingly?
I’m not able to replicate. Would you also be able to post the fogimagesize.log file? Maybe something is erroring out that we just aren’t seeing? (This element only deals with Size on server for what its worth).
-
@Tom-Elliott
For the moment i prefer to keep the latest stable version.
There is no errors into fogimagesize.log. -
@plegrand Anything from:
systemctl -l status FOGImageSize
(Assuming this is a systemd based startup system)
-
@Tom-Elliott said in Wrong Image size in web interface:
systemctl -l status FOGImageSize
systemctl -l status FOGImageSize
● FOGImageSize.service - FOGImageSize Loaded: loaded (/lib/systemd/system/FOGImageSize.service; enabled) Active: active (running) since ven. 2017-05-12 14:32:36 CEST; 5min ago Main PID: 12288 (FOGImageSize) CGroup: /system.slice/FOGImageSize.service ├─12288 /usr/bin/php -q /opt/fog/service/FOGImageSize/FOGImageSize & └─12289 /usr/bin/php -q /opt/fog/service/FOGImageSize/FOGImageSize & mai 12 14:32:36 Fog systemd[1]: Started FOGImageSize. mai 12 14:32:38 Fog FOGImageSize[12288]: du: impossible d'accéder à « /home/images/PORTGLT650G2 »: Aucun fichier ou dossier de ce type
The last error is normal there is no directory PORTGLT650G2, i have to remove image in web interface
-
@plegrand After removing that image, and doing the same steps as needed, any luck?
That might be causing a break in the output of data for the Image Size on Server stuff which I should be able to address (if it is doing what I think it is).
-
@Tom-Elliott
No, same “problem” -
Alright, well I already addressed the “file not found” type problem in the RC’s thanks to this. So at least there’s that.