Failing to Upload TFTP Connection Failure Invalid Password
-
So as the topic describes, we’re having an issue when attempting to upload an image into fog.
The connection is failing at TFTP.
I’ve confirmed that I can TFTP from my windows desktop to Fog without issue, and download a file.
Any help would be appreciated.
Thanks guys.
-
Then it’s likely a DHCP issue - or - the machine is network booting in UEFI mode and DHCP is set to only hand out legacy files.
We have a few articles on those topics (below). What’s running DHCP in your environment? What model is the problem host? What version of FOG are you using? What does your settings look like? Also, can you please provide a short smart-phone video (via YouTube) of the failure, or photos of the failure so we can see what you’re seeing?
https://wiki.fogproject.org/wiki/index.php/Troubleshoot_TFTP
https://wiki.fogproject.org/wiki/index.php/Modifying_existing_DHCP_server_to_work_with_FOG
https://wiki.fogproject.org/wiki/index.php/BIOS_and_UEFI_Co-Existence -
Can you give us a better idea of your environment?
- What version of fog are you using? (i.e. 1.2.0 stable, or a trunk version, if trunk then what is the number in the cloud on the login page.
- What host OS are you using.
Are you seeing the ipxe FOG menu at all? I’m a bit confused since you mentioned invalid password and tftp together. Tftp doesn’t use passwords, thats why its trivial. If you are not getting the ipxe boot menu then what is the PXE error message?
-
Our fog server (fedora) is on a closed network, and handling DHCP for this network.
Fog Version 3748
Kernal Versionz
bzImage Version: 4.1.0 and bzImage32 4.1.0
-
@george1421 said:
Can you give us a better idea of your environment?
- What version of fog are you using? (i.e. 1.2.0 stable, or a trunk version, if trunk then what is the number in the cloud on the login page.
- What host OS are you using.
Are you seeing the ipxe FOG menu at all? I’m a bit confused since you mentioned invalid password and tftp together. Tftp doesn’t use passwords, thats why its trivial. If you are not getting the ipxe boot menu then what is the PXE error message?
We are able to get to the PXEi boot menu, and can deploy an image, but aren’t able to upload an image into fog.
Not sure what changed, as my colleague nor I have made any changes to the system in a very long time.
-
@Jarli is the server out of space?
df -h
-
-
@Wayne-Workman Any guidance on how I can expand the partition?
This is a VM running within Xen.
-
@Jarli Thanks to @george1421 we have an article on that. https://wiki.fogproject.org/wiki/index.php/Add_%26_Extend_a_2nd_Virtual_HDD
In a nutshell, just use your hypervisor to expand the disk, and then use the Linux OS to then expand the partition. Contigous space is required for it to work.
Otherwise just give the server a 2nd HDD via your hypervisor - and make it a respectable size like 500GB, and configure FOG to use it for images.
-
In short there are two ways to go about it.
-
If using LVM you can either add a new virtual hard drive to the vm and then attach it to the LVM device, then expand the file system to the size of the new LVM device.
-
Create a new virtual disk large enough to hold the entire content of the /images folder + what ever new space you need, copy all of the existing files in /images to the new disk and then mount the new virtual disk over the /images folder.
If you go for the first option there is still a risk of filling up the boot partition, which is not a good thing for linux. The second option puts all of the big files on its own (virtual) disk. Filling up this disk will not crash the OS since the root partition is on the original vmdk file.
I would hope with FOG 2.0 comes out there are recommendations to have a root partition and a data partition. Just a reminder the snapins are also stored on the root partition.
-
-
Well i temporarily configured internet access onto this VM, and downloaded gparted.
the full 80GB partition is visible within, but it’s not usable…
hrm…
-
So after a fresh cup of coffee, and thinking about it “normally” I just put the LiveCD into the Xen VM, booted from the LiveCD and extended the partition…
Now to test the upload and confirm if I have any other issues.
I do now have 30GB free space.
Thanks for the help guys
-
-
-
@Tom-Elliott Sorry last question,
in the TFTP_FTP_Password field in the configuration website, does the password have to be the encrypted form or will plain text work?
-
@Jarli Anything FTP/TFTP password is relating to user on linux side. This is stored plaintext.
THere’s only two password locations (in current) that need to be encrypted and only one that must be encrypted before storing. Those are the Active Directory Password (type plain text and it will encrypt and store the encrypted form for you.) ANd Active Directory Password Legacy (must be in FOG Crypted form for storage).
-
@Tom-Elliott Perfect thanks, so I’ll sysprep this and test the upload.
-
Got it fixed.
The Storage Management password was goof’d.
Corrected it to match, and it completed the TFTP upload.