Failing to Upload TFTP Connection Failure Invalid Password
-
@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
-
Well the drive has enough space, but after the upload completes is where I’m getting this issue.
-
-
@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.