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

    Location plugin not working after update to 1.4.4

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    5
    14
    2.3k
    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.
    • A
      Al.cmb
      last edited by

      Server
      • FOG Version: 1.4.4
      • OS: Ubuntu 16.04.2 LTS
      Client
      • Service Version: 0.11.12
      • OS: All
      Description

      Location plugin not working after update to 1.4.4

      After the upgrade the location plugin does not work as expected.
      It does not take care of the site and always take the 1st node available instead of the location setted one.
      I have remove and reinstalled the plugin related to this topic (https://forums.fogproject.org/topic/10364/issues-after-upgrading-from-1-4-3-to-1-4-4/6) and executed the command but no luck. Still taking the 1st node.

      i have 2 storage nodes in the same storage group, and each one on different location.
      What i’am doing wrong?

      Thanks

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

        Is this for capture or deploy?

        For image capture the master node in the storage group is always used.

        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
        • A
          Al.cmb
          last edited by

          The 2 cases: Deploy and Capture.
          This is my config. As you can see i have set UN002-CDF as location (that contains UN-Syno2) and the working node is wrong (UN-Syno1 the other location)
          0_1499941500080_41afa921-63bd-4256-ab45-25182508a660-image.png
          0_1499941478364_ee34bff2-3e2c-4845-85f7-1c4f10326165-image.png
          0_1499941403552_f093fad7-258b-4586-b8b8-b7f858e60366-image.png
          0_1499941630462_addc38df-ad8e-4a2c-8572-735f3d3f2c1f-image.png

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

            You have set two different nodes as master node in the same Storage Group. This will cause all sorts of issues, only one node can be master node in a group.

            Wayne WorkmanW 1 Reply Last reply Reply Quote 1
            • A
              Al.cmb
              last edited by

              Sorry that was for tests. I have corrected that but still the same issue:
              0_1499943058405_241dcd8c-32f8-4528-9b6e-e3796b8d4519-image.png
              0_1499943070466_2b7bbd8f-7d89-4d2c-922b-60325884c493-image.png

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

                @Al.cmb As George said, image capture always goes to the Master node of the Group. The Master then copies it over to the rest of the group via the Image Replication service.

                If this is not the desired behavior, then you will need another Group.

                Deployment should work as expected, though, so that’s odd.

                1 Reply Last reply Reply Quote 0
                • A
                  Al.cmb
                  last edited by

                  How can i debug that?
                  Log files to check or anything else?

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

                    Cross linking threads, the experience seems to be similar: https://forums.fogproject.org/topic/10432/i-would-like-a-add-a-new-hdd

                    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 1
                    • george1421G
                      george1421 Moderator @Al.cmb
                      last edited by

                      @Al.cmb Just for clarity in your picture (referenced by this post) if you have a NAS as a master node replication will not happen to other storage nodes in the storage group. If a FOG server (normal install) is the master node in a storage group then replication happens. Just be aware of this. It doesn’t explain your current issue 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!

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

                        Image Captures are ALWAYS done to the Master Node in a group. Based on the Pictures I’m seeing, UN-002 CDF (location) is NOT a master node. However, when replication occurs it should be placed on UN-002 CDF’s defined storage location.

                        You MIGHT have to restart the Master node’s FOGImageReplicator/FOGSnapinReplicator services for the change to take effect.

                        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
                        • A
                          Al.cmb
                          last edited by

                          Thanks for all your answers!!

                          I know that my configuration is not standard but i am quite sure that was working for the deploy part:

                          My Fog Server is a VM that has not enough space to store images.
                          Only the Synology Nodes stores the images, snappins and tftp files.
                          I know that Synology Node cannot perform replication so i have made the replication by CloudShare Sync.

                          The workaround i have applied to deploy or capture my images since the problem appeared is to disable the storage node of the remote site when i make a deploy or capture.

                          I have tried to capture an image in this way and deploy on the other site ans it works.
                          Only the location is not working.

                          0_1499949064352_588a53eb-a90e-4d91-a8fc-d0674cf989c7-image.png

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

                            @Quazz said in Location plugin not working after update to 1.4.4:

                            You have set two different nodes as master node in the same Storage Group. This will cause all sorts of issues, only one node can be master node in a group.

                            This is off topic a bit but, I believe a couple years ago, @Tom-Elliott had the GUI setup so it wouldn’t allow you to set more than one master per group. I guess that’s not the case anymore?

                            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 Sorry didn’t see this till now, no, that is still the case.

                              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
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                For reference, setting master node to a group should reset all nodes to the group to no longer be master and define the chosen item. That said, when paired with the Location Plugin, there’s a hook to “trick” the nodes in a location to believe they are also master nodes to enable multicast to happen, maybe this is what made the GUI appear to have two master nodes in a single group?

                                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
                                • First post
                                  Last post

                                170

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project