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

    Cant image from FOG Nodes?

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    52
    14.5k
    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.
    • C
      cojohnson
      last edited by

      Hello all,

      I ran into this problem after upgrading FOG about a week ago to version 1.3.0-RC-1. After the upgrade, I have not been able to send any images from my 6 storage nodes. I have been able to previously.

      I have created 2 locations (default and GREEN) and 2 storage groups (default and GREEN). My images that I am trying to send are assigned to the “default” storage group. I am perplexed because all of the settings look right in FOG

      Any help is app

      2_1470140729623_Slots.PNG 1_1470140729623_Location.PNG 0_1470140729623_Image Group.PNG 0_1470140781924_Storage Man.PNG

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        I would suggest that you upgrade to RC5 on all of your storage nodes and your master node. Then we can check into this more. I know there have been about 40 fixes since rc1.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 3
        • Q
          Quazz Moderator
          last edited by

          I do believe this is fixed in the latest version if I’m not mistaken, so upgrade upgrade upgrade.

          1 Reply Last reply Reply Quote 1
          • C
            cojohnson
            last edited by

            Ok. I will give this a try and will let you know the results!

            Thanks for the suggestion!

            1 Reply Last reply Reply Quote 0
            • C
              cojohnson
              last edited by

              I have upgrade all of the fog storage nodes and the server to RC-5. I am still having the same issue. Any other suggestions?

              Thanks in advance!

              Q george1421G 2 Replies Last reply Reply Quote 0
              • Q
                Quazz Moderator @cojohnson
                last edited by

                @cojohnson Anything in the apache error logs?

                1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @cojohnson
                  last edited by

                  @cojohnson Ok I know this isn’t what you want to do in a production environment. But on you master node, change that value to 5. What I’m interest in seeing is if master node =0 then no imaging can happen.

                  With all of these storage nodes, are you using the location plugin to direct the clients to the right storage node?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                  C 1 Reply Last reply Reply Quote 1
                  • C
                    cojohnson @george1421
                    last edited by

                    @george1421

                    If i set the Master node to 5, imaging will occur. However, like you said, we do not want this and would rather have the nodes handle imaging. Do I have to manually configure the nodes for location services somehow?

                    I am also getting a bunch of errors in the Apache Log file. I dont know what the errors are referring to? Any ideas?

                    [Tue Aug 02 11:01:20.603605 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.603408 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.603209 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.603009 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.602809 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.602602 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.602383 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.602172 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.601684 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.601193 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.600697 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.600186 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.599637 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.599447 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.598458 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.597482 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.597262 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.596545 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.593323 2016] [:error] [pid 10375] [client 10.21.4.17:57712] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    [Tue Aug 02 11:01:20.049037 2016] [:error] [pid 4980] [client 10.21.4.17:57711] PHP Strict Standards: Only variables should be assigned by reference in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 23, referer: http://10.21.0.105/fog/management/index.php?node=about&sub=logviewer
                    
                    
                    Q george1421G 2 Replies Last reply Reply Quote 0
                    • Q
                      Quazz Moderator @cojohnson
                      last edited by Quazz

                      @cojohnson Those errors will be fixed next release, nothing serious I believe.

                      Is the host you’re trying to deploy the image to assigned to the correct storage node?

                      1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @cojohnson
                        last edited by george1421

                        @cojohnson Ooops you ran into a bug in rc5. I think tom posted a “you can fix it patch”. Let me see if I can find it.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @george1421
                          last edited by george1421

                          @george1421 I think this was the fix/band-aid

                          https://forums.fogproject.org/topic/8238/database-update-failed-after-image-capture/3

                          With your favorite text editor edit /var/www/fog/lib/fog/fogmanagercontroller.class.php

                          “change the =& on line number 23 and remove the & symbol”
                          Then save and exit that file.

                          I’m not sure on the timing of RC6 being released, it WILL be a few days though.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            cojohnson @george1421
                            last edited by cojohnson

                            Hmmmnn interesting. I used an ftp client on windows and line 23 contains =& on that file. However, when i view the SAME file on the fog server using vi, vim, and nano i do not see the =& on line 23.
                            0_1470153210668_Screenshot from 2016-08-02 11:50:06.png

                            Looks like i will just wait a few days and then upgrade again.

                            Thanks for all of your help!

                            george1421G 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @cojohnson
                              last edited by

                              @cojohnson Just an update here. I put a request in the developers queue to look at this thread to see if it is similar to the issue I linked. They may be related… or not.

                              Please wait for their feedback.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by Wayne Workman

                                I’m just now reading through this thread, it’s good you updated to RC-5.

                                The way I’m reading the OP,

                                You have one node called “DefaultMember”, in an earlier picture from Location Management, it’s listed twice, with two different locations and two different storage groups. In a later picture from Storage Management, I only see one storage group, “default”.

                                Another thing to note is that “DefaultMember” 's max clients is set to 0 in a picture above. This would mean it would not image anything at all, because max clients is zero.

                                Maybe it’s best to explain what you’re trying to accomplish first?

                                Also, you may find this article and the video in it highly helpful:
                                https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                Tom ElliottT 1 Reply Last reply Reply Quote 1
                                • Tom ElliottT
                                  Tom Elliott @Wayne Workman
                                  last edited by

                                  @Wayne-Workman I think this is absolutely what’s happening.

                                  The task queue is seeing 0 before that host, but since there are 0 available slots, it will NEVER make it that far. At least not for that particular node.

                                  Remember, the location definitions are based on Group and Group/Node pairings. Do you have a second storage group named “Green”? Is there a second node that uses “Green” but is named DefaultMember?

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @Tom Elliott
                                    last edited by

                                    @Tom-Elliott So, below he says if he sets the node to something besides 0 that things image.

                                    But, what I’d like is screenshots taken all at once of location management listing and storage management node listing. No changes between the pictures.

                                    And, I’d like a detailed explanation of what the OP even wants to do.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

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

                                      @Wayne-Workman The last part was a partial bug in the location plugin. It would allow a user to change the group of a node, rather than ensuring the node’s group defined the group the location was pointing it. It would also allow the user to remove the storage group AND storage node. At the least it should’ve halted editing the removal of group. Those two fixes are in RC-6 now.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      C 1 Reply Last reply Reply Quote 2
                                      • C
                                        cojohnson @Tom Elliott
                                        last edited by cojohnson

                                        @Tom-Elliott @Wayne-Workman Thanks for looking into this. I manage 2 school district which is why i was trying to implement 2 locations. “default” being the main district and “GREEN” being the second district.
                                        Originally, The goal was to set up a server to be hosted on site at GREEN but that never happened. Consequently, we do all of the imaging from our building and I currently have all of the “GREEN” images also assign to the “default” storage group.
                                        I do all of the imaging currently at our building.

                                        I set the master to handle clients so I can image for now. This is sufficient for the moment.

                                        Should I upgrade to RC-6

                                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                        • Wayne WorkmanW
                                          Wayne Workman @cojohnson
                                          last edited by

                                          @cojohnson said in Cant image from FOG Nodes?:

                                          Should I upgrade to RC-6

                                          No. Not right now, there’s line ending problems. Wait on it until things are fixed.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

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

                                            @Wayne-Workman They’re already fixed.

                                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                            C 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            205

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project