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

[RC19] Snapin Replication not working

Scheduled Pinned Locked Moved Solved
Bug Reports
2
17
3.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.
  • M
    mp12 @Tom Elliott
    last edited by mp12 Nov 7, 2016, 1:16 AM Nov 7, 2016, 7:15 AM

    @Tom-Elliott

    No one is going to slap you! Thanks for the great support. I update to RC-20.

    Unfortunately I am get a new error when creating a snapin.

    Snapin ID 110 is not valid
    

    /var/log/apache2/error.log shows:

    [Mon Nov 07 07:57:40.073360 2016] [:error] [pid 14613] [client x.x.x.x:28288] PHP Warning:  array_map(): Argument #2 should be an array in /var/www/fog/lib/fog/storagenode.class.php on line 216, referer: http://x.x.x.x/fog/management/index.php?node=snapin
    
    T 1 Reply Last reply Nov 7, 2016, 12:34 PM Reply Quote 0
    • T
      Tom Elliott @mp12
      last edited by Nov 7, 2016, 12:34 PM

      @mp12 There were two things going on here, which have no been republished as RC-20 to ensure all will be well.

      I renamed a variable for ease, but where it set’s the snapin name was calling the “bad” variable (which was unset) leaving the snapin without a name. All other things worked right (the upload, args, etc…) but would report failed because it was setting the name to a null value which is not allowed.

      The ID you see shows it actually did get created though.

      The error message you posted had nothing to do with the create of the snapin, but rather the creating of the “File Exists” listing. My isAvailable method was working properly but not removing the requests from the url queue after it returned the available status. Both of these things are now fixed in RC-20 if you’d be so kind as to repull and reinstall.

      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

      M 1 Reply Last reply Nov 7, 2016, 1:50 PM Reply Quote 0
      • M
        mp12 @Tom Elliott
        last edited by Nov 7, 2016, 1:50 PM

        @Tom-Elliott

        Thanks Tom!
        Replication works fine again. I also deleted the snapin with ID 110 manully from the db.

        M 1 Reply Last reply Nov 9, 2016, 2:13 PM Reply Quote 0
        • M
          mp12 @mp12
          last edited by Nov 9, 2016, 2:13 PM

          @Tom-Elliott

          Server

          • list itemFOG Version: 1.3.0 RC-21 (6014)
          • list itemOS: Ubuntu 14.04

          Client

          • Service Version: 0.11.5
          • OS: Win7

          Description

          Replication stopped working 😞
          The Snapins which should get replicated won’t appear in the fogsnapinrep.log file.

          T 1 Reply Last reply Nov 9, 2016, 3:59 PM Reply Quote 0
          • T
            Tom Elliott @mp12
            last edited by Nov 9, 2016, 3:59 PM

            @mp12 Should be re-fixed in the latest.

            Had a cleanup bit for 21 and missed the count grading system. This should be corrected for now in the working-RC-22 branch (which if I get a test I will push up probably this evening.)

            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 Nov 9, 2016, 6:50 PM

              RC-22 officially released.

              I’m seeing stuff replicating once again.

              Thanks for informing.

              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

              M 1 Reply Last reply Nov 10, 2016, 11:06 AM Reply Quote 0
              • M
                mp12 @Tom Elliott
                last edited by Nov 10, 2016, 11:06 AM

                @Tom-Elliott

                Nodes are not replicating yet. Restarted the FOGSnapinReplication but nothing new.
                fogsnapinrep.log shows only existing snapins but not new created ones.
                apache2/error.log shows nothing new.

                T 1 Reply Last reply Nov 10, 2016, 11:09 AM Reply Quote 0
                • T
                  Tom Elliott @mp12
                  last edited by Nov 10, 2016, 11:09 AM

                  @mp12 Is the snapins set to replicate?

                  Thanks for reminding me on this. I realized recently (but had bigger bugs to tackle first) that the replicate checkbox is not set on fresh creations.

                  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

                  M 1 Reply Last reply Nov 10, 2016, 11:18 AM Reply Quote 0
                  • M
                    mp12 @Tom Elliott
                    last edited by Nov 10, 2016, 11:18 AM

                    @Tom-Elliott

                    Found the error. After creating a new snapin and enabling it on creation, I rechecked the snapin and found that the checkbox Snapin Enabled was empty. Set a check mark, restarted replication and it uploaded the snapisn to the nodes.

                    1 Reply Last reply Reply Quote 1
                    • T
                      Tom Elliott
                      last edited by Nov 10, 2016, 11:31 AM

                      I found the isEnabled issue. This was only present on new snapins. It’s fixed for RC-23 (while annoying it’s not as important as the functionality of the client which I’m more focused on anyway, among the other issues RC-22 was released to help correct).

                      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
                        17/17
                        Last post

                      170

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project