• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • J
    JJ Fullmer Testers
    last edited by Jul 1, 2016, 8:07 PM

    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

    W 1 Reply Last reply Jul 1, 2016, 9:45 PM Reply Quote 0
    • J
      JJ Fullmer Testers
      last edited by Jul 1, 2016, 8:30 PM

      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
      • T
        Tom Elliott
        last edited by Jul 1, 2016, 9:31 PM

        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

        J 1 Reply Last reply Jul 1, 2016, 9:41 PM Reply Quote 0
        • J
          JJ Fullmer Testers @Tom Elliott
          last edited by Jul 1, 2016, 9:41 PM

          @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

          T 1 Reply Last reply Jul 1, 2016, 9:42 PM Reply Quote 0
          • T
            Tom Elliott @JJ Fullmer
            last edited by Jul 1, 2016, 9:42 PM

            @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

            J 1 Reply Last reply Jul 1, 2016, 9:42 PM Reply Quote 0
            • J
              JJ Fullmer Testers @Tom Elliott
              last edited by Jul 1, 2016, 9:42 PM

              @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
              • W
                Wayne Workman @JJ Fullmer
                last edited by Jul 1, 2016, 9:45 PM

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

                J 1 Reply Last reply Jul 1, 2016, 10:36 PM Reply Quote 1
                • J
                  JJ Fullmer Testers @Wayne Workman
                  last edited by Jul 1, 2016, 10:36 PM

                  @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

                  T 1 Reply Last reply Jul 2, 2016, 2:38 AM Reply Quote 0
                  • T
                    Tom Elliott @JJ Fullmer
                    last edited by Jul 2, 2016, 2:38 AM

                    @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

                    J 1 Reply Last reply Jul 5, 2016, 9:34 PM Reply Quote 1
                    • J
                      JJ Fullmer Testers @Tom Elliott
                      last edited by Jul 5, 2016, 9:34 PM

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

                      214

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project