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

    Kernel update - Storage Nodes

    Scheduled Pinned Locked Moved Solved
    Feature Request
    5
    11
    4.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.
    • JJ FullmerJ
      JJ Fullmer Testers
      last edited by

      This sounds more like a feature that doesn’t exist than a bug. Just saying ❤
      I mean what if you update the kernel in one node but then that kernel has a problem. Wouldn’t you want the stable kernel to stay put on the other nodes?
      Or maybe you have a custom kernel on one node but not any others?

      Granted it sounds like a useful feature, updating the master node causes all nodes to update, that would be cool. Doesn’t sound all that easy though.

      Have you tried the FogApi powershell module? It's pretty cool IMHO
      https://github.com/darksidemilk/FogApi
      https://fogapi.readthedocs.io/en/latest/
      https://www.powershellgallery.com/packages/FogApi
      https://forums.fogproject.org/topic/12026/powershell-api-module

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

        Moved to feature requests.

        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 1
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth

          @Wayne-Workman I am with Arrowhead here. Don’t think you want auto-update the kernel on all nodes. Why would you?

          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

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

            @Sebastian-Roth Perhaps an option to enable it would be a good idea? I can see it being useful in environments that are very uniform or have no compatibility issues.

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

              @Quazz Maybe I’ve spoiled myself, but why not just rerun the installer? It will automatically load the current kernels to the system.

              Building a new system to sync kernels is doable, but not very simple.

              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

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

                @Tom-Elliott Yeah, I get it, but people will forever be lazy 😉

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

                  I’m not even asking for syncing. And maybe I don’t need the latest kernel? Maybe I need an old one? All I’m asking is that the kernel update process cycle through all the storage nodes and put what you downloaded on them all.

                  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/

                  JJ FullmerJ 1 Reply Last reply Reply Quote 0
                  • JJ FullmerJ
                    JJ Fullmer Testers @Wayne Workman
                    last edited by

                    @Wayne-Workman Couldn’t this just be locally scripted? I mean personally if I update fog on my main server I run the update on my node too. But I only have one node, so it’s no big deal. But if you have a script to update fog you could probably have one script that runs it on each node after the first one finishes. I don’t know off the top of my head the command for it, but I’m pretty sure you can do it with an ssh command in a script. Would need to deal with the ssh key setup and stuff first, but it can be done.
                    I suppose that since fog should already have some access to the storage nodes, the fog installer could say hey I’m updating, and look at the database and say hey look storage nodes and force a git pull or svn up on each and run the installer with -y on each one.

                    So it would take some effort but I’m pretty sure it can be made into a script. I think a self made script would be better, because eventually Fog will be a stable release without so many updates.

                    Of course if you were only updating the kernel and not the whole installation, adding an optional scp or rsync command to all storage nodes after updating on the main server would be fairly easy I imagine.

                    Have you tried the FogApi powershell module? It's pretty cool IMHO
                    https://github.com/darksidemilk/FogApi
                    https://fogapi.readthedocs.io/en/latest/
                    https://www.powershellgallery.com/packages/FogApi
                    https://forums.fogproject.org/topic/12026/powershell-api-module

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      Well, I’d use clusterssh for that I guess. Scripting would be good as well but with clusterssh you see what is happening on all the storage nodes. Don’t bother about kernel updating via the web gui but do it all at once on all your nodes with clusterssh! 🙂

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

                        @Arrowhead-IT Of course I can script it. But not everyone is familiar enough with whats involved to do that. My intention is to eliminate extra manual work in the back-end involving FOG. I’ll see about writing a patch.

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

                        150

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project