• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Jan 31, 2018, 1:13 PM Jan 31, 2018, 6:56 PM

    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.*

    W 1 Reply Last reply Jan 31, 2018, 7:23 PM Reply Quote 0
    • W
      Wayne Workman @msi
      last edited by Wayne Workman Jan 31, 2018, 8:51 PM Feb 1, 2018, 2:47 AM

      @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 Feb 5, 2018, 6:26 PM Reply Quote 0
      • W
        Wayne Workman @msi
        last edited by Wayne Workman Jan 31, 2018, 1:25 PM Jan 31, 2018, 7:23 PM

        @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 Jan 31, 2018, 7:34 PM Reply Quote 0
        • M
          msi Testers @Wayne Workman
          last edited by Jan 31, 2018, 7:34 PM

          @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

          G 1 Reply Last reply Jan 31, 2018, 7:50 PM Reply Quote 0
          • G
            george1421 Moderator @msi
            last edited by Jan 31, 2018, 7:50 PM

            @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 Jan 31, 2018, 8:37 PM Reply Quote 0
            • M
              msi Testers @george1421
              last edited by Jan 31, 2018, 8:37 PM

              @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.

              G 1 Reply Last reply Jan 31, 2018, 8:39 PM Reply Quote 0
              • G
                george1421 Moderator @msi
                last edited by Jan 31, 2018, 8:39 PM

                @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 Jan 31, 2018, 8:53 PM Reply Quote 0
                • M
                  msi Testers @george1421
                  last edited by Jan 31, 2018, 8:53 PM

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

                  W 1 Reply Last reply Jan 31, 2018, 8:58 PM Reply Quote 0
                  • W
                    Wayne Workman @msi
                    last edited by Wayne Workman Jan 31, 2018, 2:59 PM Jan 31, 2018, 8:58 PM

                    @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 Jan 31, 2018, 8:59 PM Reply Quote 0
                    • M
                      msi Testers @Wayne Workman
                      last edited by Jan 31, 2018, 8:59 PM

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

                      W 1 Reply Last reply Jan 31, 2018, 9:00 PM Reply Quote 0
                      • W
                        Wayne Workman @msi
                        last edited by Jan 31, 2018, 9:00 PM

                        @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 Jan 31, 2018, 9:03 PM Reply Quote 0
                        • M
                          msi Testers @Wayne Workman
                          last edited by Jan 31, 2018, 9:03 PM

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

                          W 1 Reply Last reply Jan 31, 2018, 9:05 PM Reply Quote 0
                          • W
                            Wayne Workman @msi
                            last edited by Wayne Workman Jan 31, 2018, 3:05 PM Jan 31, 2018, 9:05 PM

                            @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 Jan 31, 2018, 9:34 PM Reply Quote 0
                            • M
                              msi Testers @Wayne Workman
                              last edited by Jan 31, 2018, 9:34 PM

                              @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

                              W 1 Reply Last reply Jan 31, 2018, 9:36 PM Reply Quote 0
                              • W
                                Wayne Workman @msi
                                last edited by Wayne Workman Jan 31, 2018, 3:39 PM Jan 31, 2018, 9:36 PM

                                @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 Jan 31, 2018, 9:47 PM Reply Quote 0
                                • M
                                  msi Testers @Wayne Workman
                                  last edited by Jan 31, 2018, 9:47 PM

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

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

                                  W 1 Reply Last reply Jan 31, 2018, 9:48 PM Reply Quote 0
                                  • W
                                    Wayne Workman @msi
                                    last edited by Jan 31, 2018, 9:48 PM

                                    @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 Jan 31, 2018, 9:50 PM Reply Quote 0
                                    • M
                                      msi Testers @Wayne Workman
                                      last edited by msi Jan 31, 2018, 3:51 PM Jan 31, 2018, 9:50 PM

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

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

                                      W 1 Reply Last reply Jan 31, 2018, 9:53 PM Reply Quote 0
                                      • W
                                        Wayne Workman @msi
                                        last edited by Wayne Workman Jan 31, 2018, 3:53 PM Jan 31, 2018, 9:53 PM

                                        @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 Jan 31, 2018, 9:54 PM Reply Quote 0
                                        • M
                                          msi Testers @Wayne Workman
                                          last edited by Jan 31, 2018, 9:54 PM

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

                                          W 1 Reply Last reply Jan 31, 2018, 9:55 PM Reply Quote 0
                                          • W
                                            Wayne Workman @msi
                                            last edited by Jan 31, 2018, 9:55 PM

                                            @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 Jan 31, 2018, 10:17 PM Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            1 / 2
                                            • First post
                                              3/29
                                              Last post

                                            159

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project