• 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.1k
    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.
    • JJ FullmerJ
      JJ Fullmer Testers
      last edited by

      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
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 1
          • JJ FullmerJ
            JJ Fullmer Testers
            last edited by JJ Fullmer

            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

            RobTitian16R 1 Reply Last reply Reply Quote 0
            • RobTitian16R
              RobTitian16 @JJ Fullmer
              last edited by RobTitian16

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

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @RobTitian16
                last edited by

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

                RobTitian16R 1 Reply Last reply Reply Quote 0
                • RobTitian16R
                  RobTitian16 @Tom Elliott
                  last edited by

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

                  Tom ElliottT 2 Replies Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @RobTitian16
                    last edited by

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

                    RobTitian16R 1 Reply Last reply Reply Quote 0
                    • RobTitian16R
                      RobTitian16 @Tom Elliott
                      last edited by

                      @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
                      • Tom ElliottT
                        Tom Elliott @RobTitian16
                        last edited by

                        @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
                        • Tom ElliottT
                          Tom Elliott
                          last edited by

                          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 Reply Quote 0
                          • T
                            theWizard @Tom Elliott
                            last edited by

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

                            RobTitian16R 1 Reply Last reply Reply Quote 0
                            • RobTitian16R
                              RobTitian16 @theWizard
                              last edited by

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

                              Tom ElliottT 1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott @RobTitian16
                                last edited by

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

                                RobTitian16R 1 Reply Last reply Reply Quote 0
                                • RobTitian16R
                                  RobTitian16 @Tom Elliott
                                  last edited by

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

                                  1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott
                                    last edited by

                                    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 ElliottT 1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @Tom Elliott
                                      last edited by

                                      @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
                                      • First post
                                        Last post

                                      148

                                      Online

                                      12.1k

                                      Users

                                      17.3k

                                      Topics

                                      155.4k

                                      Posts
                                      Copyright © 2012-2024 FOG Project