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

RC6 - Snapins no longer working

Scheduled Pinned Locked Moved Solved
Bug Reports
3
13
3.4k
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.
  • B
    bluenix
    last edited by Aug 4, 2016, 8:11 AM

    Since upgrading to RC6, snapins no longer deploy.

    When sending a single snapin to a host, the status of the task changes to checked in after a while, but stays on that status indefinitely.

    fog.log on the client:

    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     4-8-2016 10:03 Client-Info Client Version: 0.11.4
     4-8-2016 10:03 Client-Info Client OS:      Windows
     4-8-2016 10:03 Client-Info Server Version: 1.3.0-RC-6
     4-8-2016 10:03 Middleware::Response Success
     4-8-2016 10:03 SnapinClient Snapin Found:
     4-8-2016 10:03 SnapinClient     ID: -1
     4-8-2016 10:03 SnapinClient     Name: 
     4-8-2016 10:03 SnapinClient     Created: -1
     4-8-2016 10:03 SnapinClient     Action: 
     4-8-2016 10:03 SnapinClient     Pack: False
     4-8-2016 10:03 SnapinClient     Hide: False
     4-8-2016 10:03 SnapinClient     Server: 
     4-8-2016 10:03 SnapinClient     TimeOut: -1
     4-8-2016 10:03 SnapinClient     RunWith: 
     4-8-2016 10:03 SnapinClient     RunWithArgs: 
     4-8-2016 10:03 SnapinClient     Args: 
     4-8-2016 10:03 SnapinClient     File: 
     4-8-2016 10:03 SnapinClient ERROR: Snapin hash does not exist
    ------------------------------------------------------------------------------
    
    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Aug 11, 2016, 1:04 AM

      Fairly sure we got this figured out tonight. I’ve added the changes to the head state of svn and git so the fixes are now a part of 1.3.0-RC-8 so no need to wait.

      Thanks @Wayne-Workman for the teamviewer which helped us narrow down what the issue was.

      For all following along, it basically boiled down to file hashing taking far too long on large files. The checker would fail if the script took longer than 30 seconds and would also fail if the connection time was too long. It would also fail if the connection time was too long (timeout was defaulted to 15 seconds). So by default, if large file was not hashed within 45 seconds, it would fail the snapin completely. The fix, for simplicity sake, is to allow the hashing call to run unlimited and increase the connection timeout to a day. This could’ve been fixed had I kept a hash within DB, but I have a hard time trusting it as if somebody manually updates a file it would always fail the hash.

      For Huge snapins (> 5gb) I’d recommend installing the software in your image rather than rely on the snapin system to install them. I say this, because even without hashing, having such a large file (especially spread out to many hosts) will create a lot of bandwidth usage (leaving the server less to perform imaging with if needed) and would be called that number of times to start transferring the file. Add in the hashing (which is another way The client and server help prevent bad files) and you have one big mess of Load and IO access issues.

      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

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Aug 4, 2016, 11:46 PM

        Confirmed issue.

        Sorry this was me working on commonizing and making a more friendly filesize checker/getter.

        The file that this references to get the hash was missing a required item that allows access to the rest of the FOG information. Is currently fixed in RC-7.

        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

        W 1 Reply Last reply Aug 5, 2016, 3:31 PM Reply Quote 1
        • W
          Wayne Workman @Tom Elliott
          last edited by Aug 5, 2016, 3:31 PM

          @Tom-Elliott When is RC-7 expected to be released?

          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/

          T 1 Reply Last reply Aug 5, 2016, 3:34 PM Reply Quote 0
          • T
            Tom Elliott @Wayne Workman
            last edited by Aug 5, 2016, 3:34 PM

            @Wayne-Workman I don’t know. It’s literally only 2 days old.

            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

            1 Reply Last reply Reply Quote 0
            • W
              Wayne Workman
              last edited by Aug 5, 2016, 7:50 PM

              So, I know this thread has been marked as solved already,

              but my building is on RC-6 and we have the same problem with snapins. None of our snapins work, and we’re hurting over it.

              I’m highly anticipating RC-7, and I hope it is released soon.

              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/

              1 Reply Last reply Reply Quote 0
              • W
                Wayne Workman
                last edited by Aug 8, 2016, 12:42 PM

                Confirmed working again in RC-7.
                I deployed 1,200 single-snapins this morning to mixed groups, some hosts got one single snapin, some hosts got 3. It’s knocking them out pretty quickly, the FOG server has a 1Gbps connection and it’s pegged right 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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

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

                  This exact problem still exists in the current working-RC-8 branch, for multi-node fog systems with locations enabled.

                  I have a 800MB MSI that I cannot deploy from anywhere except the main server.

                  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/

                  T 1 Reply Last reply Aug 10, 2016, 8:26 PM Reply Quote 0
                  • T
                    Tom Elliott @Wayne Workman
                    last edited by Aug 10, 2016, 8:26 PM

                    @Wayne-Workman Nothing changed for snapins.

                    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

                    W 1 Reply Last reply Aug 10, 2016, 8:27 PM Reply Quote 0
                    • W
                      Wayne Workman @Tom Elliott
                      last edited by Aug 10, 2016, 8:27 PM

                      @Tom-Elliott then it was never fixed for locations, then.

                      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/

                      T 1 Reply Last reply Aug 10, 2016, 8:27 PM Reply Quote 0
                      • T
                        Tom Elliott @Wayne Workman
                        last edited by Aug 10, 2016, 8:27 PM

                        @Wayne-Workman Yes it was. You just need to get all items on the same page. All nodes need the update, not just the main.

                        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

                        W 1 Reply Last reply Aug 10, 2016, 8:28 PM Reply Quote 0
                        • W
                          Wayne Workman @Tom Elliott
                          last edited by Aug 10, 2016, 8:28 PM

                          @Tom-Elliott All nodes are on RC-7. The main is on working-RC-8

                          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/

                          T 1 Reply Last reply Aug 10, 2016, 8:28 PM Reply Quote 0
                          • T
                            Tom Elliott @Wayne Workman
                            last edited by Aug 10, 2016, 8:28 PM

                            @Wayne-Workman Right but with the replication issue, it’s likely unable to use the location properly.

                            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

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tom Elliott
                              last edited by Aug 11, 2016, 1:04 AM

                              Fairly sure we got this figured out tonight. I’ve added the changes to the head state of svn and git so the fixes are now a part of 1.3.0-RC-8 so no need to wait.

                              Thanks @Wayne-Workman for the teamviewer which helped us narrow down what the issue was.

                              For all following along, it basically boiled down to file hashing taking far too long on large files. The checker would fail if the script took longer than 30 seconds and would also fail if the connection time was too long. It would also fail if the connection time was too long (timeout was defaulted to 15 seconds). So by default, if large file was not hashed within 45 seconds, it would fail the snapin completely. The fix, for simplicity sake, is to allow the hashing call to run unlimited and increase the connection timeout to a day. This could’ve been fixed had I kept a hash within DB, but I have a hard time trusting it as if somebody manually updates a file it would always fail the hash.

                              For Huge snapins (> 5gb) I’d recommend installing the software in your image rather than rely on the snapin system to install them. I say this, because even without hashing, having such a large file (especially spread out to many hosts) will create a lot of bandwidth usage (leaving the server less to perform imaging with if needed) and would be called that number of times to start transferring the file. Add in the hashing (which is another way The client and server help prevent bad files) and you have one big mess of Load and IO access issues.

                              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

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

                              194

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.3k

                              Posts
                              Copyright © 2012-2024 FOG Project