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

    Force image download to stop

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    5
    1.7k
    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.
    • N
      Neil Underwood
      last edited by

      How in the heck do I get an image to stop the download process once it’s started? I just manually created a new host for a remote machine about 20+ miles from my current location, and it apparently did not save the location that I specified when creating the host in the web-ui. This caused it to start pulling from a node nowhere near it (down the street from me, actually). I cancelled the task in the web-ui but the image is still being transferred at about 450k/s with an ETA of 21 hours. I need to stop this process and restart it so that it pulls from the local node. I really don’t want to have to get in the truck and drive all the way out there right now. Please help. Thanks!

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • d4rk3D
        d4rk3
        last edited by

        This may or may not work:

        service "FOGImageReplicator" stop && service "FOGScheduler" stop
        
        1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by Wayne Workman

          Add a rule to the firewall to disallow that specific IP.

          iptables -A INPUT -s x.x.x.x -j DROP
          service iptables save
          

          Where x.x.x.x is the IP you wish to block.

          Here’s how you’d unblock an IP address.

          iptables -D INPUT -s x.x.x.x -j DROP
          service iptables save
          

          Reference: http://www.cyberciti.biz/faq/how-do-i-block-an-ip-on-my-linux-server/

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

            @Neil-Underwood

            The only way to stop the system from imaging, once it’s been started, is to go to the machine and turn it off. I haven’t, yet, implemented an API to cancel a task on the GUI that cancels it on the host if the host has started.

            I know this isn’t exactly what you’re looking to hear, but it really is the only answer I can give. If you knew that the location didn’t get set properly, you could reassign the host to the proper location and restart the system. Of course, again, this means you or somebody else has physical access to the Computer in order to shutdown/reboot it.

            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
            • N
              Neil Underwood
              last edited by

              OK. That’s what I was afraid of. No big deal and life goes on. Strange that it didn’t take the settings though. Thanks

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

              210

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project