SOLVED Force image download to stop

  • 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!

  • 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

  • @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.

  • 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


  • This may or may not work:

    service "FOGImageReplicator" stop && service "FOGScheduler" stop