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

    Storage node added - But it's not in the list of nodes

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    13
    1.0k
    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.
    • K
      kafluke
      last edited by

      error_log:

      [Sun Apr 07 03:08:03.560444 2019] [auth_digest:notice] [pid 49472] AH01757: generating secret for digest authentication ...
      [Sun Apr 07 03:08:03.567275 2019] [lbmethod_heartbeat:notice] [pid 49472] AH02282: No slotmem from mod_heartmonitor
      [Sun Apr 07 03:08:04.240105 2019] [mpm_prefork:notice] [pid 49472] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/7.2.16 configured -- resuming normal operations
      [Sun Apr 07 03:08:04.240178 2019] [core:notice] [pid 49472] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
      [Mon Apr 08 13:36:17.462416 2019] [proxy_fcgi:error] [pid 61445] [client 192.168.2.137:65018] AH01068: Got bogus version 105, referer: http://192.168.2.75/fog/management/index.php?node=host&sub=list
      [Wed Apr 10 08:36:07.824757 2019] [proxy_fcgi:error] [pid 55545] [client 192.168.1.14:49812] AH01067: Failed to read entire header got 4 wanted 8
      [Wed Apr 10 08:36:07.824834 2019] [proxy_fcgi:error] [pid 55545] (22)Invalid argument: [client 192.168.1.14:49812] AH01075: Error dispatching request to :
      [Wed Apr 10 15:00:45.512847 2019] [proxy_fcgi:error] [pid 11943] (104)Connection reset by peer: [client 192.168.1.87:61627] AH01075: Error dispatching request to :
      [Wed Apr 10 15:00:45.622094 2019] [proxy:error] [pid 5975] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
      [Wed Apr 10 15:00:45.622198 2019] [proxy_fcgi:error] [pid 5975] [client 192.168.1.87:61628] AH01079: failed to make connection to backend: 127.0.0.1
      [Wed Apr 10 15:01:18.714531 2019] [proxy_fcgi:error] [pid 63224] (104)Connection reset by peer: [client 192.168.46.34:58535] AH01075: Error dispatching request to :
      [Wed Apr 10 15:01:18.715757 2019] [proxy_fcgi:error] [pid 7276] (104)Connection reset by peer: [client 192.168.6.25:54295] AH01075: Error dispatching request to :
      [Wed Apr 10 15:01:18.716404 2019] [proxy_fcgi:error] [pid 11943] (104)Connection reset by peer: [client 192.168.0.182:55258] AH01075: Error dispatching request to :
      [Wed Apr 10 15:01:18.722587 2019] [mpm_prefork:notice] [pid 49472] AH00170: caught SIGWINCH, shutting down gracefully
      [Wed Apr 10 15:01:28.294688 2019] [core:notice] [pid 19667] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
      [Wed Apr 10 15:01:28.301745 2019] [suexec:notice] [pid 19667] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
      AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::aa5d:527d:cf3f:18b6. Set the 'ServerName' directive globally to suppress this message
      [Wed Apr 10 15:01:28.626397 2019] [auth_digest:notice] [pid 19667] AH01757: generating secret for digest authentication ...
      [Wed Apr 10 15:01:28.629092 2019] [lbmethod_heartbeat:notice] [pid 19667] AH02282: No slotmem from mod_heartmonitor
      [Wed Apr 10 15:01:28.711599 2019] [mpm_prefork:notice] [pid 19667] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/7.2.17 configured -- resuming normal operations
      [Wed Apr 10 15:01:28.711700 2019] [core:notice] [pid 19667] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
      [Wed Apr 10 15:02:42.680530 2019] [proxy:error] [pid 19681] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
      [Wed Apr 10 15:02:42.680706 2019] [proxy_fcgi:error] [pid 19681] [client 192.168.2.107:51902] AH01079: failed to make connection to backend: 127.0.0.1
      [Wed Apr 10 15:02:42.697823 2019] [proxy:error] [pid 21989] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
      [Wed Apr 10 15:02:42.697943 2019] [proxy_fcgi:error] [pid 21989] [client 192.168.2.107:51904] AH01079: failed to make connection to backend: 127.0.0.1
      [Wed Apr 10 15:02:43.297983 2019] [proxy:error] [pid 19741] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
      [Wed Apr 10 15:02:43.298127 2019] [proxy_fcgi:error] [pid 19741] [client 192.168.12.118:61763] AH01079: failed to make connection to backend: 127.0.0.1
      [Wed Apr 10 15:02:43.503995 2019] [proxy:error] [pid 20298] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
      [Wed Apr 10 15:02:43.574231 2019] [proxy_fcgi:error] [pid 20298] [client 192.168.12.118:61764] AH01079: failed to make connection to backend: 127.0.0.1
      [Wed Apr 10 15:02:43.652284 2019] [proxy:error] [pid 19686] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
      [Wed Apr 10 15:02:43.652421 2019] [proxy_fcgi:error] [pid 19686] [client 192.168.12.118:61765] AH01079: failed to make connection to backend: 127.0.0.1
      [Wed Apr 10 15:02:43.755951 2019] [proxy:error] [pid 19684] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
      [Wed Apr 10 15:02:43.764106 2019] [proxy_fcgi:error] [pid 19684] [client 192.168.29.23:49977] AH01079: failed to make connection to backend: 127.0.0.1
      [Wed Apr 10 15:02:43.838116 2019] [mpm_prefork:notice] [pid 19667] AH00170: caught SIGWINCH, shutting down gracefully
      [Wed Apr 10 16:30:20.747680 2019] [core:notice] [pid 5090] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
      [Wed Apr 10 16:30:20.802020 2019] [suexec:notice] [pid 5090] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
      AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::aa5d:527d:cf3f:18b6. Set the 'ServerName' directive globally to suppress this message
      [Wed Apr 10 16:30:21.130633 2019] [auth_digest:notice] [pid 5090] AH01757: generating secret for digest authentication ...
      [Wed Apr 10 16:30:21.133799 2019] [lbmethod_heartbeat:notice] [pid 5090] AH02282: No slotmem from mod_heartmonitor
      [Wed Apr 10 16:30:21.671293 2019] [mpm_prefork:notice] [pid 5090] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/7.2.17 configured -- resuming normal operations
      [Wed Apr 10 16:30:21.671336 2019] [core:notice] [pid 5090] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
      
      

      php-fpm log:
      https://pastebin.com/ifjwE5SJ

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

        @kafluke Please run the following commands to see if there is something strange in the database:

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

        Post results here.

        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
          kafluke @Sebastian Roth
          last edited by Sebastian Roth

          @Sebastian-Roth

          MariaDB [fog]> SELECT * FROM nfsGroupMembers;
          +-------+------------------------+-------------------------------------+-----------------+------------+-------------+----------------------+------------+---------------+------------------+--------------+--------------+---------------+-------------------+---------+----------------------------------------------+--------+--------------+-----------------+------------+
          | ngmID | ngmMemberName          | ngmMemberDescription                | ngmIsMasterNode | ngmGroupID | ngmRootPath | ngmSSLPath           | ngmFTPPath | ngmMaxBitrate | ngmSnapinPath    | ngmIsEnabled | ngmHostname  | ngmMaxClients | ngmBandwidthLimit | ngmUser | ngmPass                                      | ngmKey | ngmInterface | ngmGraphEnabled | ngmWebroot |
          +-------+------------------------+-------------------------------------+-----------------+------------+-------------+----------------------+------------+---------------+------------------+--------------+--------------+---------------+-------------------+---------+----------------------------------------------+--------+--------------+-----------------+------------+
          |     1 | Park City Fog Server   | Auto generated fog nfs group member | 1               |          1 | /images     | /opt/fog/snapins/ssl | /images    |               | /opt/fog/snapins | 1            | 192.168.2.75 |            10 |                 0 | fog     | 8o0qgd/YwBipfLd5zr8wOKOpJZ09wn4oyljNGMdjZ/Q= |        | em1          | 1               | /fog       |
          |    17 | Park City Storage Node |                                     | 0               |          1 | /images     | /opt/fog/snapins/ssl | /images    |               | /opt/fog/snapins | 1            | 192.168.2.76 |            10 |             10000 | fog     | 8eYU5hbZj1P63WmOCmU3sPGISCT6oZW8YkhU02LRbw4= |        | ens160       | 1               | /fog       |
          |    18 | Buffalo Storage Node   |                                     | 0               |          1 | /images     | /opt/fog/snapins/ssl | /images    |               | /opt/fog/snapins | 1            | 192.168.0.75 |            10 |                 0 | fog     | GJ8ru+eIpsMzyuTPWx38DtdWYPO7Aan7oC3yYAWCjvs= |        | ens160       | 1               | /fog       |
          +-------+------------------------+-------------------------------------+-----------------+------------+-------------+----------------------+------------+---------------+------------------+--------------+--------------+---------------+-------------------+---------+----------------------------------------------+--------+--------------+-----------------+------------+
          3 rows in set (0.00 sec)
          
          MariaDB [fog]> SELECT * FROM nfsGroups;
          +------+----------------------+------------------------------+
          | ngID | ngName               | ngDesc                       |
          +------+----------------------+------------------------------+
          |    1 | Park City Fog Server | Auto generated fog nfs group |
          +------+----------------------+------------------------------+
          1 row in set (0.00 sec)
          
          MariaDB [fog]>
          
          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth

            @kafluke So do you still see the deleted node in the mysql/mariadb output??

            Please help us with some more context. Which node (name) did you delete?

            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
              kafluke @Sebastian Roth
              last edited by

              @Sebastian-Roth The name of the deleted node was “Dallas Storage Node”. I don’t see it below.

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

                @kafluke See if you can add the new storage node definition into the DB manually. I know this is ugly but we ought to see if this is working.

                shell> mysql -u root -p
                Password:
                ...
                mysql> use fog;
                ...
                mysql> INSERT INTO nfsGroupMembers VALUES ('', 'Dallas Storage Node', '', 0, 1, '/images', '/opt/fog/snapins/ssl', '/images', '', '/opt/fog/snapins', 1, '192.168.X.Y', 10, 0, 'fog', 'password', '', 'ens160', 1, '/fog');
                ...
                

                Make sure you use the correct IP address. Do not just copy & paste the command you see above. Most values are fine but definitely take a look at IP and maybe name…

                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 2 Replies Last reply Reply Quote 0
                • K
                  kafluke @Sebastian Roth
                  last edited by

                  @Sebastian-Roth Thanks I’ll try that if my VM import doesn’t work. We had a backup of the FOG Node that I moved. It won’t be done until tomorrow. Thanks for the responses.

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

                    @Sebastian-Roth Manually added it using your commands and now it shows up in the Fog Node list, however, I cannot make any changes to the node. Nothing I select sticks after I click on update. I go back and the change I made is back to what it was before.

                    Also, I have nothing in my dropdown list for the log viewer. Something got really messed up here.

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

                      Yeah, something’s definitely jacked. No snapins work any longer. That’s okay, we’ve been meaning to build a new FOG server on one of our ESXi hosts anyway. Now I just hope I can figure out how to migrate all the settings.

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

                        @kafluke Sounds really strange like if the table is read only. Don’t think I have seen this before.

                        @george1421 ???

                        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
                          kafluke @Sebastian Roth
                          last edited by

                          @Sebastian-Roth Okay so I just did a complete fresh install on a brand new server. Dev version 1.5.5.3. Absolutely no logs for me to look at inside the log viewer. Weird.

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

                          214

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.4k

                          Posts
                          Copyright © 2012-2024 FOG Project