RC21 - Can't Deploy Images From GUI. "Image does not exist on any node"
-
Edited the title. I just tested and confirmed that I can still deploy from the pxe menu without issue.
So this issue is only in the GUI. -
This post is deleted! -
This post is deleted! -
Solved in working RC22. Something in these magical code lines https://github.com/FOGProject/fogproject/commit/42f104080e0f6a22df1890fe14f20fa2f4231de6
got it back up and running. Because @Tom-Elliott is amazing. -
@JJ-Fullmer When does RC22 go live? I’m currently running into this issue as well.
I tried updating but I’m still on RC21 and I attempted to use the files mentioned in the link to no avail. -
@RobTitian16 Before just updating files, please look in FOG Configuration Page -> FOG Settings -> General Settings.
Look near the bottom of that section. YOu should see three new timeout values.
The AVAILABLE timeout should display as 500. Try changing this to 1200. (1.2 seconds) as that should be plenty enough time even on a crowded network.
If it still causes issue, then update your files with:
wget -O /var/www/fog/lib/fog/fogurlrequests.class.php https://raw.githubusercontent.com/FOGProject/fogproject/ba2ba4fcf16a0940a443eca4ec622f3cc30dfa29/packages/web/lib/fog/fogurlrequests.class.php wget -O /var/www/html/fog/lib/fog/fogurlrequests.class.php https://raw.githubusercontent.com/FOGProject/fogproject/ba2ba4fcf16a0940a443eca4ec622f3cc30dfa29/packages/web/lib/fog/fogurlrequests.class.php
Then see if it starts working for you.
-
@Tom-Elliott Still the same, unfortunately, even after going through the steps suggested.
-
@RobTitian16 Is it possible the image doesn’t exist on any of the nodes as it’s suggesting then?
-
@Tom-Elliott This FOG server only has the default storage node, and the web gui does say it’s there. When browsing to /images/ I can also see it listed (can provide screenshots of anything if it helps).
-
@RobTitian16 How many nodes do you have? If I recall, you’re running from the UK to the US, correct?
Maybe try an even longer available timeout? Just a suggestion. I created the 500 millisecond as it seemed to work perfectly for my testing and for most will work fine. I made it a user adjustable value for the fact that my environment is NOT what everybody will experience.
Please also try a longer available timeout (though it will likely cause issues if you go longer than 20 seconds.)
-
So we remoted with one another and all seems to have worked properly, although the image does not exist was still problematic.
The fix, is a work around at the moment for functionality speaking. We are just forcing the checking to return true.
Mind you deploying is working properly from the UK site, this seems to be specific to the US site only.
-
@Tom-Elliott
Unfortunately i have to chime in and say i am also experiencing this issue, i can not launch an image task unless i have open slots on my main fog server and i set the host location to mainbox, if i leave host location blank like i always do it give me image does not exist in any node. -
@theWizard I can confirm my location was also left blank for the system I was trying to image with Tom earlier. Perhaps this is the culprit?
-
@RobTitian16 It’s possible. Did your “remote site” also have lcoation plugin installed? It shouldn’t have been required for it, but…
-
@Tom-Elliott Yep, both have the location plugin installed.
-
I believe I can now (fairly assuredly) state this is solved. Those with hosts defined to no location but with the location plugin enabled were seeing the issue.
Waiting on confirmation though.
-
@Tom-Elliott Confirmation was made.
RC-22 officially released. Please update and all should be much more betterer.