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

    Image not syncing between nodes

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    29
    7.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.
    • M
      msi Testers
      last edited by msi

      I just crated two new image but its not syncing between the nodes. getting below error:

      • Found Image to transfer to 7 nodes
        | Image Name: Win_10.1709
      • Not syncing Image between nodes
        | File or path cannot be reached.

      Please help.*

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

        @msi said in Image not syncing between nodes:

        I just don’t understand why suddenly it stopped working.

        There’s no telling. Probably to get this going though, you need to manually transfer the image with rsync from the storage node to the master node. Then this should be fixed.

        If you run this command from your Master Node, it will prompt you for the storage node’s local fog user’s password. You can find that in that node’s storage management area or from this file on it: /opt/fog/.fogsettings

        rsync <options> <source> <destination>

        rsync -r --bwlimit=6250 fog@10.134.200.230:/images/Laptop2.1 /images
        rsync -r --bwlimit=6250 fog@10.134.200.230:/images/Laptop /images
        

        The 6250 is supposed to be 6250Kbps, or 50Mbps. If you want slower, you can do the math to figure out what you need with the calculator I reference below.

        scp is another option if the rsync commands don’t work out. Something like this from the master node and again you’d be prompted for the remote node’s fog password.

        scp -r fog@10.134.200.230:/images/Laptop2.1 /images
        scp -r fog@10.134.200.230:/images/Laptop /images
        

        References:
        https://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html
        https://linux.die.net/man/1/rsync
        https://www.checkyourmath.com/convert/data_rates/per_second/megabits_kilobytes_per_second.php

        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/

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

          @msi said in Image not syncing between nodes:

          File or path cannot be reached.

          What is the output of this command on the master node:
          ls -laht /images/Win_10.1709

          What is the output of this command on the non-master node:
          ls -laht /images

          Please remove any sensitive information from the output before posting your reply.

          Also, you might want to look over this article as replication is affected by these things:
          https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP
          Try to test FTP to your storage nodes.

          Also look over this, try to test the MySQL connection to the storage nodes:
          https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL#Easy_.26_quick_MySQL_test

          Also, we should have a little more of the replication log from the master node - again please remove any sensitive information before posting.

          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/

          M 1 Reply Last reply Reply Quote 0
          • M
            msi Testers @Wayne Workman
            last edited by

            @wayne-workman Hi
            Created the image from branch node, It hasn’t been transferred to Master yet (Win_10.1709 and Laptop2.1). I think thats the problem.
            output for ls -laht /images is:
            0_1517427207986_9b6fcfed-bea2-44d1-b2c1-495568bbd45a-image.png

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

              @msi I’m not sure if we have the terminology correct here, but you can only capture to a master node in any single storage group. Images only replicate from master nodes to slave nodes.

              If you captured an image at a remote branch, that is only possible if the remote branch has a full fog server. Are you expecting that image to replicate somewhere maybe back to HQ?

              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!

              M 1 Reply Last reply Reply Quote 0
              • M
                msi Testers @george1421
                last edited by

                @george1421 yes, that is correct.

                @george1421 said in Image not syncing between nodes:

                @msi I’m not sure if we have the terminology correct here, but you can only capture to a master node in any single storage group. Images only replicate from master nodes to slave nodes.

                I have 7 node storage that are running fog 1.4.4. One master with the same fog version. I have created two other images (Win_10.1703 and Laptop) from a branch that has one of those 7 nodes. And those got transferred to Master fog server but the latest two aren’t transferring there.

                If you captured an image at a remote branch, that is only possible if the remote branch has a full fog server. Are you expecting that image to replicate somewhere maybe back to HQ?

                Yes, that what I am trying to accomplish.

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

                  @msi Where is your master fog server? HQ or the branch?

                  Did you capture the image created at the branch onto a storage node at a branch? I think I’m missing something when reading your post.

                  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!

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    msi Testers @george1421
                    last edited by

                    @george1421 Yes, I captured it at a branch; which located at NJ. Master is located at CA

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

                      @msi do you have a multi-master fog system setup? Perhaps both nodes are configured as masters in their very own storage groups and you have setup image sharing between the groups?

                      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/

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        msi Testers @Wayne Workman
                        last edited by

                        @wayne-workman no, I have only one master and 7 storage node

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

                          @msi said in Image not syncing between nodes:

                          no, I have only one master and 7 storage node

                          Captures have always and only gone to Master nodes during capture. So capturing to a non-master is not possible.
                          Please share with us a screenshot from your web gui -> Storage Management page.

                          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/

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            msi Testers @Wayne Workman
                            last edited by

                            @wayne-workman 0_1517432580197_4c1998d8-20da-488f-a172-7cd97126b831-image.png

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

                              @msi Ok, now verify that the image captured properly on the master node. I don’t know your image’s name, but you would check by changing into it’s directory like this:
                              cd /images/<image name here>/
                              and then running this command:
                              ls -laht

                              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/

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                msi Testers @Wayne Workman
                                last edited by

                                @wayne-workman the two images doesn’t exist on master. I can see those on NJED45; the place where I created those two images.
                                Below picture is from NJED45 0_1517434061889_b2ae5967-6483-4e90-b865-4a26e46b71ab-image.png

                                Below picture is from Master
                                0_1517434488068_83b2b2ee-85c8-4a67-bcb9-760332f18d01-image.png

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

                                  @msi Then I would ask you to ensure the IP addresses for your nodes are correct in the Storage Management area. Also check the IP addresses set on the nodes via CLI with this command: ip addr

                                  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/

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    msi Testers @Wayne Workman
                                    last edited by

                                    @wayne-workman
                                    NJED450_1517435219895_c549e361-baf6-46d4-91f4-471431550b20-image.png

                                    Master
                                    0_1517435257883_47cac79d-cbc3-4253-834f-32ff0b8f75a3-image.png

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

                                      @msi Please verify the IPs via CLI too. The command is ip addr

                                      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/

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        msi Testers @Wayne Workman
                                        last edited by msi

                                        @wayne-workman
                                        NJED 0_1517435386344_9c2de9fc-3519-4e0c-8e6c-7d936381a943-image.png

                                        Master 0_1517435421026_14d6fd89-fa73-42ee-9d77-8bf48768dd18-image.png
                                        It matches.

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

                                          @msi What happens when you go to http://10.134.200.230/fog/management using your browser?

                                          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/

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            msi Testers @Wayne Workman
                                            last edited by

                                            @wayne-workman Below Message
                                            ‘This is a storage node, please do not access the web ui here!’

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

                                              @msi Well then something is really messed up here. Going to ask for help from the @developers and @moderators for ideas.

                                              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/

                                              M Tom ElliottT 2 Replies Last reply Reply Quote 0
                                              • 1
                                              • 2
                                              • 1 / 2
                                              • First post
                                                Last post

                                              224

                                              Online

                                              12.0k

                                              Users

                                              17.3k

                                              Topics

                                              155.2k

                                              Posts
                                              Copyright © 2012-2024 FOG Project