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

    Fog 1.5.7 Locations Plugin pulling image from wrong storage node

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    22
    1.7k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @Kiweegie I am wondering why you updated the Georgia nodes first but possibly my description was a bit confusing. As long as things are up and running now with all nodes being on dev-branch that’s fine.

      I have gone through the code now a few more times but can’t see any obvious problems with it. Though it’s very hard doing this kind of debugging based solely on assumptions. Could you please connect to your database on the master node, run a query as follows and post the full output here:

      shell> mysql -u root -p
      Password:
      ...
      mysql> use fog;
      ...
      mysql> SELECT * FROM location;
      ...
      

      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

      K 1 Reply Last reply Reply Quote 0
      • K
        Kiweegie @Sebastian Roth
        last edited by Kiweegie

        @Sebastian-Roth said in Fog 1.5.7 Locations Plugin pulling image from wrong storage node:

        SELECT * FROM location;

        +-----+--------------------+-------+-----------------+----------------+------------+---------------------+--------------+
        | lID | lName              | lDesc | lStorageGroupID | lStorageNodeID | lCreatedBy | lCreatedTime        | lTftpEnabled |
        +-----+--------------------+-------+-----------------+----------------+------------+---------------------+--------------+
        |   2 | Alabama	           |       |               2 |              4 | fog        | 2020-01-31 23:37:10 | 1            |
        |   3 | Connecticut	   |       |	           2 |              3 | fog        | 2020-01-31 23:37:28 | 1            |
        |   4 | Louisiana 	   |       |               2 |              7 | fog        | 2020-01-31 23:39:08 | 1            |
        |   5 | Arizona      	   |       |               2 |              6 | fog        | 2020-01-31 23:39:32 | 1            |
        |   6 | California         |       |               2 |              8 | fog        | 2020-01-31 23:41:10 | 1            |
        |   7 | Arkansas           |       |               2 |              5 | fog        | 2020-01-31 23:41:35 | 1            |
        |   8 | Colorado Shop      |       |               2 |              9 | fog        | 2020-01-31 23:42:51 | 1            |
        |   9 | Kentucky           |       |               2 |             12 | fog        | 2020-02-01 01:22:42 | 1            |
        |  10 | South Dakota       |       |               2 |             11 | fog        | 2020-02-01 01:23:37 | 1            |
        |  11 | Wisconsin          |       |               2 |             10 | fog        | 2020-02-01 01:23:53 | 1            |
        |  12 | Georgia            |       |               1 |              1 | fog        | 2020-02-01 01:24:45 | 1            |
        |  14 | Colorado Office    |       |               1 |             13 | kiweegie   | 2020-02-01 15:34:10 | 1            |
        +-----+--------------------+-------+-----------------+----------------+------------+---------------------+--------------+
        
        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth

          @Kiweegie Sorry, I’d need info from another query as well:

          SELECT ngmID,ngmMemberName,ngmIsMasterNode,ngmGroupID,ngmIsEnabled,ngmHostname,ngmMaxClients FROM nfsGroupMembers;
          

          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

          K 1 Reply Last reply Reply Quote 0
          • K
            Kiweegie @Sebastian Roth
            last edited by Kiweegie

            @Sebastian-Roth said in Fog 1.5.7 Locations Plugin pulling image from wrong storage node:

            SELECT ngmID,ngmMemberName,ngmIsMasterNode,ngmGroupID,ngmIsEnabled,ngmHostname,ngmMaxClients FROM nfsGroupMembers;

            Here you go

            +-------+---------------+-----------------+------------+--------------+----------------+---------------+
            | ngmID | ngmMemberName | ngmIsMasterNode | ngmGroupID | ngmIsEnabled | ngmHostname    | ngmMaxClients |
            +-------+---------------+-----------------+------------+--------------+----------------+---------------+
            |     1 | GEO01VFOG01   | 1               |          1 | 1            | 10.166.136.199 |            10 |
            |     2 | GEO01VFOG02   | 1               |          2 | 1            | 10.166.136.198 |            10 |
            |     3 | CON01VFOG01   | 0               |          2 | 1            | 192.168.7.1    |            10 |
            |     4 | ALA02VFOG01   | 0               |          2 | 1            | 192.168.1.1    |            10 |
            |     5 | ARK01VFOG01   | 0               |          2 | 1            | 192.168.9.1    |            10 |
            |     6 | ARI01VFOG01   | 0               |          2 | 1            | 192.168.11.1   |            10 |
            |     7 | LOU01VFOG01   | 0               |          2 | 1            | 192.168.6.1    |            10 |
            |     8 | CAL01VFOG01   | 0               |          2 | 1            | 192.168.2.1    |            10 |
            |     9 | COL02VFOG01   | 0               |          2 | 1            | 192.168.4.1    |            10 |
            |    10 | WIS02VFOG01   | 0               |          2 | 1            | 192.168.10.1   |            10 |
            |    11 | SOU01VFOG01   | 0               |          2 | 1            | 192.168.8.1    |            10 |
            |    12 | KEN02VFOG01   | 0               |          2 | 1            | 192.168.5.1    |            10 |
            |    13 | COL01VFOG01   | 0               |          1 | 1            | 192.168.3.1    |            10 |
            +-------+---------------+-----------------+------------+--------------+----------------+---------------+
            
            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @Kiweegie Sorry for the delay! I have some time tomorrow to work on this. I’ll try to set things up as close to what you have and try to find what’s wrong.

              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

              K 1 Reply Last reply Reply Quote 0
              • K
                Kiweegie @Sebastian Roth
                last edited by

                @Sebastian-Roth Appreciate the time and effort Sebastian. Let me know if you need anything tested my side please.

                regards Tom

                K 1 Reply Last reply Reply Quote 0
                • K
                  Kiweegie @Kiweegie
                  last edited by

                  Hi @Sebastian-Roth

                  In case it leads to any pointers or brainwaves.

                  I thought initially the main server was imaging fine as images sent from GEO01VFOG01 to devices within Georgia site pick up OK. However I can see an example this morning where a machine is trying to image from COL01VFOG01 (Colorado Office) which is the only storage node in the Toys 'R Us storage group. (I’ve updated my spreadsheet below which didn’t accurately reflect this).

                  In the greater number of cases imaging from Georgia office to Georgia machines is working but imaging to remote sites is pulling from the wrong storage node.

                  Looking at the dashboard I can the display for the Mattel Storage group displays 99.9999999

                  d530d3d3-aa13-44a8-b443-c84d420265e2-image.png

                  Instead of the split shown by the Toys 'R Us group

                  bf3269c6-dc97-43e6-b38f-dc113c47d990-image.png

                  This could be purely cosmetic and the display was not meant to handle more than 99 clients. I presume this shows the number of client activity per storage group?

                  I can’t seem to find any logs for the plugins, are there any?

                  regards Tom

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @Kiweegie Not sure if you saw the chat bubble in the top right corner yet. Trying to contact you via PM.

                    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

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      Kiweegie @Sebastian Roth
                      last edited by

                      @Sebastian-Roth I did now, and have replied 🙂

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        Kiweegie @Kiweegie
                        last edited by Sebastian Roth

                        Thanks to a support session from @Sebastian-Roth this evening we’ve confirmed that this is actually working as designed.

                        There are 2 things at play.

                        One: Location plugin

                        Albeit the location plugin being installed the active tasks list initially shows the task as linking to the wrong storage node. This is only until such time as the client boots and checks in then updates to show the correct storage node is actually being used.

                        Two: BIOS boot order on clients

                        In our case due to changes in the BIOS boot order on the remote site computers they were never seeing the FOG task on boot so the task still shows on the Active Tasks page as wrong storage node.

                        I will resolve the BIOS issue on the remote sites and then test again and confirm back that all is working as designed.

                        regards Tom

                        1 Reply Last reply Reply Quote 0
                        • AlexPDXA
                          AlexPDX
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by

                            @AlexPDX Please open a new topic as your request has nothing to do with the initial post as far as I can see. Just copy and paste your text from this.

                            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

                            1 Reply Last reply Reply Quote 0
                            • 1
                            • 2
                            • 1 / 2
                            • First post
                              Last post

                            267

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project