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

    "Wipe Task" run amok.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    11
    690
    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.
    • V
      vangrimoire
      last edited by

      “List All Hosts”->“Host”->“Host Tasks”->“Advanced”->“Normal Wipe”

      This has set a task which wipes out both the target drive as well as the image associated with the host.

      Further more, this advanced task has wiped out my reference image for a separate host/group i.e. the task appears to be set for all machines.

      Finally, the Task does not show up anywhere in the interface.

      If I run a history report the “wipe task” is listed twice on the original host and is not listed for the next host/image pair that got wiped out.

      This is of course rather frustrating.

      1 Reply Last reply Reply Quote 0
      • V
        vangrimoire
        last edited by

        Fog is up to date version 1.5.7

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

          @vangrimoire said in "Wipe Task" run amok.:

          This has set a task which wipes out both the target drive as well as the image associated with the host.

          I’d need to do some testing on this. I can hardly believe what you described can happen just from scheduling a wipe task". Give me a bit more time to try and replicate this.

          Are you sure the image itself was removed? Do you mean the host lost the image association or is the image definition itself gone? What about the actual data on disk? Is /images/#IMAGENAME# on your disk still existent?

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

            @vangrimoire I have done some testing with “Normal Wipe” and I can’t replicate anything of what you mentioned. Image still exists in /images/test on my server disk as well as the image definition and association to that host in the web UI. The only thing that got wiped is the disk of the target host as expected.

            Are you absolutely sure there is no other user playing with the web UI while you write this?

            Don’t get me wrong. What you describe sounds terrible and FOG should never do something like this but from what I understand about it it’s almost impossible to make this happen by scheduling and running a wipe task (which essentially is only meant as wipe the target disk but nothing else!)

            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
            • V
              vangrimoire
              last edited by

              Oh it was terrible, it looks like the images are still there by browsing, but somehow unlinked in the interface. I deleted the hosts involved and recovered my images - hesitant to hit the “wipe task”.

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

                @vangrimoire none this makes sense at all. Wipe tasks are available but the only piece of that updates the database is checking in, and completing the task. At no point is it referencing an image or making updates to the image table.

                Did you create the task and start it, then upgrade your fog server? I ask this because there is a potential issue of fog server is Ubuntu and you upgrade your server, it will try to install mariadb which creates a new instance of the database.

                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

                1 Reply Last reply Reply Quote 0
                • V
                  vangrimoire
                  last edited by

                  actually I"ve still got one

                  eca9d6d3-0f8b-4875-99c8-fe1929d6c0e7-image.png

                  it reads 0.00 iB

                  1 Reply Last reply Reply Quote 0
                  • V
                    vangrimoire
                    last edited by

                    holy crap, it’s just an update to the size registry after a wipe task

                    5c218d92-4330-4746-a247-607a2f89d951-image.png

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

                      @vangrimoire that makes sense. That data is just a nice to have. It tries to calculate it during imaging tasks and likely resets it for any task. There is also a service that runs to update the data too. It is not indicative of a problem though.

                      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

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        vangrimoire @Tom Elliott
                        last edited by

                        @Tom-Elliott just confusing because it was attached to the image screen after the task had run on the host. I see what’s going on now though.

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

                          Marking as solved as we have addressed the size-reset to zero issue on client checkin already in dev-branch: https://github.com/FOGProject/fogproject/commit/9ff877627de44309f9eef8b07587efdb918d3d1e

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

                          200

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project