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

    Storagenode and queues

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    13
    2.1k
    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.
    • T
      theWizard
      last edited by

      Server
      • FOG Version: rc25
      • OS: ubuntu 14
      Client
      • Service Version: 11.5
      • OS: win7
      Description

      Hi guys, i have four storagenodes each with 5 slots available, main server slots set to 0 so gui/machine is always responsive.
      Now i launched an imaging task for 16 machines earlier and while 5 went in and started the rest just sat in the queue as if no slots available but there is 15 more! Checking the machines using
      http://fogserver/fog/service/ipxe/boot.php?mac=e0:69:95:dd:03:af

      I can see that the ones i looked at that are in the queue are all waiting for the same storagenode instead of spreading out over all of them, is this normal ? I would not of thought so but not sure how to resolve.

      1 Reply Last reply Reply Quote 0
      • T
        theWizard @Wayne Workman
        last edited by

        @Wayne-Workman
        I think i cracked it, after you mentioned DB connection issues i checked everything using workbench and found fogstorage user had no schema privaleges at all ! Not sure how they would dissapear but after adding back in fog seems to be picking other storagenodes correctly.
        Thank you for the help and guidance.
        This can be marked as no bug but maybe helpful for others to check if they encounter issues.

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

          If you’re using the location plugin and these 16 machines are all assigned to the same location, then this behavior is perfectly normal.

          Do you know if you’re using the location plugin?

          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 Reply Quote 0
          • T
            theWizard @Wayne Workman
            last edited by

            @Wayne-Workman
            I do have it enabled but i dont set a location on any of the hosts and all the storagenodes are in the same group/location.

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

              @theWizard If all storage nodes are assigned to the same location and are all in the same group, there’s no point in using the location plugin. You can uninstall it in the plugin management area, then try again, see what happens.

              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 2 Replies Last reply Reply Quote 0
              • T
                theWizard @Wayne Workman
                last edited by

                @Wayne-Workman
                There is because the machines that are used to build images on are set to the main server then when uploading/downloading those machines 1 slot is opened up and there is then no need to wait for replication ( we can be updating and uploading images at the same time as deploying machines with the image it will be replacing so our replication only runs once a day).
                Location plugin aside if i open 1 slot on server then deploy 5 machines only 1 will start and others will be queued.

                I can disable location plugin for testing purposes though no problem.

                1 Reply Last reply Reply Quote 0
                • T
                  theWizard @Wayne Workman
                  last edited by

                  @Wayne-Workman
                  Ok disabled location plugin and set main server queue to 1, meaning there is 1 slot on main server and 5 on each of the nodes ( 26 total )
                  Launched two machines to image and only one started, the other sits in the queue i assume because the result of
                  http://fogserver/fog/service/ipxe/boot.php?mac=28:f1:0e:15:34:e8

                  Is trying to use the server instead of any of the storage nodes.

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

                    @theWizard Did you disable the location plugin, or completely uninstall it? Also are you sure the image you’re working with exists on the other nodes?

                    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 Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      I’m going to setup a test at home to see if queuing works right. I’ll be back in a few hours.

                      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
                      • T
                        theWizard @Wayne Workman
                        last edited by theWizard

                        @Wayne-Workman
                        Yea i checked all nodes and the images are there as they should be, like i say if i set the queue on main server to 0 it will then use a single storagenode and not any others i.e queue of 5 on node A and fire a group of 20 to deploy only 5 will start and the other 15 will sit in the queue even tho Nodes B C D have 5 slots each too.

                        Yea i removed it from installed plugins.

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

                          Ok, just tested this at home with 2 storage nodes both on RC-25. I put both in the same storage group and waited for replication to complete. I didn’t install the Location Plugin. I set both storage nodes to 1 maximum clients, and then I started imaging two computers with the same image.

                          It load balanced properly (see pictures below). So now, the question is how do you have your system setup? Can you post a screenshot of your Storage Management area like I did in the 1st picture below so we can see how you have your nodes, groups, masters, and max clients arranged please?

                          0_1480011885525_Load-balance-3.png

                          0_1480011899269_Load-balance-1.png

                          0_1480011906895_Load-balance-2.png

                          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
                          • Wayne WorkmanW
                            Wayne Workman
                            last edited by Wayne Workman

                            Thinking more on this, it could be a DB connection issue or mis-matched version issue. For all of your storage nodes, visit this URL, replacing x.x.x.x with each of their IP addresses.

                            x.x.x.x/fog/service/getversion.php

                            • All should respond
                            • None should give any sort of error
                            • All should be on the exact same version as the main server, which should be RC-25.

                            Output for them all should look like:

                            1.3.0-RC-25
                            

                            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 2 Replies Last reply Reply Quote 0
                            • T
                              theWizard @Wayne Workman
                              last edited by

                              @Wayne-Workman

                              Completed on each one no errors at all each one returning RC-25 including server
                              Attached management page image
                              0_1480067022384_Untitled.jpg

                              1 Reply Last reply Reply Quote 0
                              • T
                                theWizard @Wayne Workman
                                last edited by

                                @Wayne-Workman
                                I think i cracked it, after you mentioned DB connection issues i checked everything using workbench and found fogstorage user had no schema privaleges at all ! Not sure how they would dissapear but after adding back in fog seems to be picking other storagenodes correctly.
                                Thank you for the help and guidance.
                                This can be marked as no bug but maybe helpful for others to check if they encounter issues.

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

                                156

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project