image path not found
-
Server
- FOG Version: 1.3.5
- OS: Ubuntu 14.04.5
Physical server with Ubuntu VM.
Client
- Service Version:
- OS: Windows 7
Description
I’ve rebuilt Ubuntu and fog about 6 times, numerous versions and don’t know what the heck I’m doing wrong. Every time I capture an image, It shows it went through successfully, but shows no valid data, it ends up in images/dev/mac address instead of images. I have verified FOG is the owner and has full permissions. When going to deploy the image it says FOG image path not found. I have went into image management and tried changing it to /dev/mac address but it reverts back every time even after reboot. I have also tried moving the folder into the images folder as other threads have mentioned and it doesn’t work either same error every time. I’m about to pull my hair out. Any advice or recommendations would be awesome.
-
What it sounds like is the ftp password does not match the linux account. FWIW FTP is used to move the image from /images/dev/<mac_address> to /images/<image_name>. Almost 99% of the time when the files stay in /images/dev the ftp process didn’t happen because the user account was not setup correctly.
There is a wiki on this: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP
But typically what we see is that someone will change the fog user id in linux to something other than what the fog installer is configured for.
How I would confirm this review this file /opt/fog/.fogsettings search for the fog user ID and password. The default should be fog and some crazy password. From a windows computer confirm that you can ftp login to the FOG server with that account information. If that is correct then look at the settings in the storage management for the FOG master node. Confirm that the user info there is set correctly.
One thing to be aware of. With fog there are 2 user accounts called fog. One is the linux user called
fog
that the fog services use. This user ID and password is created by the fog installer. You should never adjust this account. The second account is the web gui default administrator account calledfog
. This account is only for managing the web interface and is not associated with the linuxfog
account in any way. -
@george1421 Thank you George I will take a look in the areas you mentioned and see if I can get it to work. Much appreciated, will post follow up shortly.
-
@george1421 All good now, thank you George! I have my image being deployed now after updating the FTP info. You sir are a bad ass, much appreciated.
-
@shaneb Just remember that your .fogsettings file must be correct. Because that is the info the foginstaller uses the next time fog is updated. So the foginstaller, linux
fog
account and the storage node page must be in agreement. Then also never directly change the linuxfog
account because that is managed by the installer.I’m glad you got it worked out.
-
@george1421 Got it, thank you again!