• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

RC21 - Can't Deploy Images From GUI. "Image does not exist on any node"

Scheduled Pinned Locked Moved Solved
Bug Reports
5
18
5.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    JJ Fullmer Testers
    last edited by Nov 8, 2016, 9:53 PM

    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.

    Have you tried the FogApi powershell module? It's pretty cool IMHO
    https://github.com/darksidemilk/FogApi
    https://fogapi.readthedocs.io/en/latest/
    https://www.powershellgallery.com/packages/FogApi
    https://forums.fogproject.org/topic/12026/powershell-api-module

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Nov 8, 2016, 10:02 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Nov 8, 2016, 10:06 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 1
        • J
          JJ Fullmer Testers
          last edited by JJ Fullmer Nov 8, 2016, 4:21 PM Nov 8, 2016, 10:18 PM

          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.

          Have you tried the FogApi powershell module? It's pretty cool IMHO
          https://github.com/darksidemilk/FogApi
          https://fogapi.readthedocs.io/en/latest/
          https://www.powershellgallery.com/packages/FogApi
          https://forums.fogproject.org/topic/12026/powershell-api-module

          R 1 Reply Last reply Nov 9, 2016, 11:10 AM Reply Quote 0
          • R
            RobTitian16 @JJ Fullmer
            last edited by RobTitian16 Nov 9, 2016, 5:11 AM Nov 9, 2016, 11:10 AM

            @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.

            T 1 Reply Last reply Nov 9, 2016, 11:21 AM Reply Quote 0
            • T
              Tom Elliott @RobTitian16
              last edited by Nov 9, 2016, 11:21 AM

              @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.

              R 1 Reply Last reply Nov 9, 2016, 11:48 AM Reply Quote 0
              • R
                RobTitian16 @Tom Elliott
                last edited by Nov 9, 2016, 11:48 AM

                @Tom-Elliott Still the same, unfortunately, even after going through the steps suggested.

                T 2 Replies Last reply Nov 9, 2016, 11:50 AM Reply Quote 0
                • T
                  Tom Elliott @RobTitian16
                  last edited by Nov 9, 2016, 11:50 AM

                  @RobTitian16 Is it possible the image doesn’t exist on any of the nodes as it’s suggesting then?

                  R 1 Reply Last reply Nov 9, 2016, 11:53 AM Reply Quote 0
                  • R
                    RobTitian16 @Tom Elliott
                    last edited by Nov 9, 2016, 11:53 AM

                    @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).

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott @RobTitian16
                      last edited by Nov 9, 2016, 11:53 AM

                      @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.)

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Nov 9, 2016, 1:11 PM

                        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.

                        T 1 Reply Last reply Nov 9, 2016, 4:11 PM Reply Quote 0
                        • T
                          theWizard @Tom Elliott
                          last edited by Nov 9, 2016, 4:11 PM

                          @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.

                          R 1 Reply Last reply Nov 9, 2016, 4:26 PM Reply Quote 0
                          • R
                            RobTitian16 @theWizard
                            last edited by Nov 9, 2016, 4:26 PM

                            @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?

                            T 1 Reply Last reply Nov 9, 2016, 4:27 PM Reply Quote 0
                            • T
                              Tom Elliott @RobTitian16
                              last edited by Nov 9, 2016, 4:27 PM

                              @RobTitian16 It’s possible. Did your “remote site” also have lcoation plugin installed? It shouldn’t have been required for it, but…

                              R 1 Reply Last reply Nov 9, 2016, 4:28 PM Reply Quote 0
                              • R
                                RobTitian16 @Tom Elliott
                                last edited by Nov 9, 2016, 4:28 PM

                                @Tom-Elliott Yep, both have the location plugin installed.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tom Elliott
                                  last edited by Nov 9, 2016, 5:12 PM

                                  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.

                                  T 1 Reply Last reply Nov 9, 2016, 6:49 PM Reply Quote 0
                                  • T
                                    Tom Elliott @Tom Elliott
                                    last edited by Nov 9, 2016, 6:49 PM

                                    @Tom-Elliott Confirmation was made.

                                    RC-22 officially released. Please update and all should be much more betterer.

                                    1 Reply Last reply Reply Quote 0
                                    • 1 / 1
                                    1 / 1
                                    • First post
                                      11/18
                                      Last post

                                    261

                                    Online

                                    12.2k

                                    Users

                                    17.3k

                                    Topics

                                    155.5k

                                    Posts
                                    Copyright © 2012-2024 FOG Project