Image not being copied from temp on storage
-
So I have had a FOG server running for a couple of years now and we decided to branch it out with storage nodes with everything running 1.2 on Ubuntu 12.04. We followed the instructions on using multiple tftp servers as our sites are on different sub nets. For the life of me, I can not figure out why the image says that is was uploaded successfully but it stays in the /dev folder with the mac address as the name.
I have checked everything from permissions to the ftp user name and password and it still will not migrate the image to it’s proper place.
-
It is FTP related - but to determine where the problem is exactly, do you mean it sits in the /dev folder of the master storage node and never moves over to the /images directory? Or do you mean it DOES do those things but does not replicate to the other storage nodes in the group?
-
It is sitting in the /dev folder on the storage node. It is not being copied to /images or being replicated between the two nodes.
-
@derekself said:
It is sitting in the /dev folder on the storage node. It is not being copied to /images or being replicated between the two nodes.
Can you try the FTP connection of your fog server using a FTP client ?
-
I can connect via FTP to both my master node and storage node.
-
@derekself said:
I can connect via FTP to both my master node and storage node.
You can write in the /images folders of each ?
-
Check this out: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP
Ch3i was working towards verifying if you had an FTP issue or not. I think you do and most often the “credentials” section in this article will fix it. -
Everything credential wise checks out… At least I’m pretty certain it is. Does the management password on the storage node need to be the same as the TFTP password?
Also our admin username for our FOG box is the owner on images.
-
@derekself said:
Does the management password on the storage node need to be the same as the TFTP password?
Generally, and for simplicity, yes. My goal is to get you functional - you can play with alternative configurations all you want after you’re setup is functional.
Did you do the tests in the article?
-
I am able to move files between my workstation and the FOG server via FTP. I am also able to log into both the master and storage node via FTP through a webgui. Firewall is turned off.
-
I guess I should ask… Are you able to upload an image from the subnet of the storage node to the storage node and then have it replicate to the master node.
-
@derekself said:
I guess I should ask… Are you able to upload an image from the subnet of the storage node to the storage node and then have it replicate to the master node.
No. that’s not how it works.
Ok I’ve said what I’m about to say way too many times so this time after I’m done it’s going in the WiKi…
You can have many storage nodes in a storage group. You can have one master storage node in a storage group. You can not have more than one master storage node in a storage group. You must have one master storage node for replication to take place to other nodes in the group. If a master storage node is set, all uploads first go to the master storage node of the storage group the image is assigned to.
-
Thanks for that! It being in the wiki would be a great help! Thanks for all of your help as well.
-
WiKi’d here, briefly: https://wiki.fogproject.org/wiki/index.php/Managing_FOG#Storage_Management
However that article already explains this… I just summed it all up.