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

    Image Storage Group Resets on Upload Task

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    storage node database upload task
    3
    10
    3.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

      I am on svn 5807 ver 8359
      I discovered the issue on ver 8355 and then updated and it persisted.

      I have 2 storage groups, default and Snode.
      Default is the main fogserver but it only has ~80 GB of space and I only store my main image on it.
      Snode is my larger storage group for specialized images, backup images, test/dev images etc.
      I needed to make a backup of a IT admin workstation before, so I made a image in the gui for it and pointed it to the Snode group. I double checked to make sure it set right and all was well. So then I started the upload.
      It starts uploading and then after it’s about halfway through it stops and throws errors. I took a look and discovered that right after I hit upload it changed the storage node to default and uploaded to my smaller node until it ran out of space.
      At the moment I have a work around. I just set the storage group on the image settings before booting the computer to start the task and it is now uploading to the right place. But there’s still something that causes a storage group reset on the database when a upload task starts.

      I did see this happen on download tasks too a while back, but I think it was resolved. But I did find that I had to set a couple of my images storage groups back to Snode today.

      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
      • JJ FullmerJ
        JJ Fullmer Testers
        last edited by

        When the image completed uploading it had a bunch of database errors saying that it couldn’t update the database. I didn’t see it with enough time to snap a picture sadly.
        I had to manually move the image files on the snode server and went and checked the gui to see that the storage group said Default again for that image. I’m not sure when that switched back.

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

          Are both nodes in the same 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

          JJ FullmerJ 1 Reply Last reply Reply Quote 0
          • JJ FullmerJ
            JJ Fullmer Testers @Tom Elliott
            last edited by

            @Tom-Elliott Yes and no…
            I do have two instances of Snode. One that is in the default group so my base image can replicate to it and then another instance of it with a different name in its own storage group.

            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

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

              @JJ-Fullmer Does this image have a proper “primary group” defined?

              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

              JJ FullmerJ 1 Reply Last reply Reply Quote 0
              • JJ FullmerJ
                JJ Fullmer Testers @Tom Elliott
                last edited by

                @Tom-Elliott It does

                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 @JJ Fullmer
                  last edited by

                  @JJ-Fullmer This sounds very, very, eerily similar to an issue I was having: https://forums.fogproject.org/topic/7798/8088-storage-group-changes-back-if-image-is-downloaded

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

                    @Wayne-Workman Pretty much the same thing except on upload instead of download. Haven’t tested download today. But that same problem you posted there happened to me around that time and was probably fixed via your request there. So thanks for that 😃

                    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

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

                      @JJ-Fullmer I believe/hope this is now fixed. I know it’s a long weekend for most but hopefully this can be solved on Monday.

                      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

                      JJ FullmerJ 1 Reply Last reply Reply Quote 1
                      • JJ FullmerJ
                        JJ Fullmer Testers @Tom Elliott
                        last edited by

                        @Tom-Elliott I do believe that is fixed. As far as I have tested anyway. I will report back if anything changes

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

                        178

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project