Images menu - Image size 0GiB
Since upgrading to 1.1.0 I’m having trouble with imaging. When I checked the Image Management–>List All Images I am seeing all images listed with a size of 0.00 GiB. Under settings I verified that the images path was /images which seems correct. Any idea what might be happening?[ATTACH=full]993[/ATTACH]
[url="/_imported_xf_attachments/0/993_Screenshot 2014-06-13 10.36.06.png?:"]Screenshot 2014-06-13 10.36.06.png[/url]
The final resolution to this issue was related to additional Storage Nodes. There were two extra storage nodes that must have been created a few years ago for testing. Neither one of them was the Master Node. Once I deleted those two nodes the error about not being able to find a suitable storage node disappeared and everything started working.
Thanks for all of the help.
in a single fog server setup, where your fog server is also your master node storage server (as per normal install), your FOG_TFTP_FTP_USERNAME and storage management Management Username should match, as should their passwords, these should also match the linux server username “fog” and the password set for it.
I changed the login of the Default Storage Node to root and the long password. After doing that the image sizes are listed properly.
Can someone clarify for me? In a single server FOG setup, what login username/password should I be using in the following areas:
- for Management Username on the Default storage node?
- for FOG_STORAGENODE_MYSQLUSER in the FOG Storage Nodes section of the Fog Configuration page?
- for FOG_TFTP_FTP_USERNAME under the TFTP Server section of the Fog Configuration page?
I feel like some of these username/password combinations may not be set up correctly. Thanks for your help.
The IP is definitely correct.
As for the UN/password: The DefaultMember storage node originally had a username of fogstorage and a 6 character password that looked randomly generated. While troubleshooting this issue I changed the username and password to reflect the ones listed under FOG Configuration–>FOG Settings–>FOG Storage Nodes.
What is the default username/password that should be used for the storage node?
**** I edited this post to reflect the fact that the node originally had a username of fogstorage (right), not fogserver (wrong)
[url="/_imported_xf_attachments/0/999_Screenshot 2014-06-13 13.56.14.png?:"]Screenshot 2014-06-13 13.56.14.png[/url]
Can you give a screenshot of the Storagenode configured for the system?
Is the username and password correct?
Is the ip for the storage node correct?
Buddy, the image path and image name seem to match up. Thanks for the idea.
Buddy last edited by
This maybe already checked, but to make sure. If you go into your teminal and go to a particular fog (both windows open side by side). Do the “image path” and the image name in linux match? When I re-input my images they did not and I got the 0gb problem. Checked names and changed them to match - then everything worked fine.
[SIZE=2]I’m a bit of a newb with Linux so I’m not up on svn. Is [/SIZE]there[SIZE=2] a link that can show me how to install?[/SIZE]
Don’t think awk is the issue - when I do a man awk I get a man page for mask. It seems like “awk” is a valid command when I enter it at command line, though I am not familiar with syntax.
Additional info - When I try to image a computer I get the error “Unable to find a suitable storage node for transfer!”. This error seems related.
Thanks for your help and all of your QUICK replies Tom!
Try updated to SVN 1820, see if that helps.
If it doesn’t my guess is your server is missing commands. The commands that perform the size checking on the server side is
ls and awk. If you’re missing awk it’s possible it could return with 0 as well.
[quote=“Tom Elliott, post: 30204, member: 7271”]And the StorageNode is master and the path in that storage node is set to /images?[/quote]
Yes, the storage node is master and set to /images.
And the StorageNode is master and the path in that storage node is set to /images?
At least some of those images exist under /images and I think the permissions are okay. The .img files have a real size to them, they look fine. Does this look right?
[url="/_imported_xf_attachments/0/994_Screenshot 2014-06-13 10.58.49.png?:"]Screenshot 2014-06-13 10.58.49.png[/url][url="/_imported_xf_attachments/0/995_Screenshot 2014-06-13 11.01.40.png?:"]Screenshot 2014-06-13 11.01.40.png[/url]
Do those images exist under /images ?
Do you have permission to read the information for those images?