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

    Multicast task cancelled when you erase one task from WEBUI

    Scheduled Pinned Locked Moved Unsolved
    Feature Request
    2
    7
    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.
    • F
      Fernando Gietz Developer
      last edited by

      Server
      • FOG Version: 1.4.0
      • OS: RedHat 7.3
      Client
      • Service Version: 0.11.12
      • OS: windows 7
      Description

      I created one multicast task with three hosts, one of them was powered off and I deleted his task from the active task list and … surprise!! the multicast tasks was cancelled by the daemon

      From multicast.log file:

      [05-18-17 7:47:47 pm]  | Task (197) Multi-Cast Task is already running with pid: 17556.
      [05-18-17 7:47:57 pm]  | Task (197) Multi-Cast Task is no longer running.
      [05-18-17 7:47:57 pm]  | Task (197) Multi-Cast Task has been cancelled.
      [05-18-17 7:48:07 pm]  * No tasks found!
      

      the udp-sender command in the server was killed and the two host powered on are waiting forever 🙂

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

        Not a bug. The idea of Multicast is to be a “grouped” thing. They would be stuck “waiting forever” at least until the timeout occurred in this case.

        The method to use to allow “hosts to come in and leave” would be “multicast session” from the image menu.

        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
        • F
          Fernando Gietz Developer
          last edited by

          Then, is a normal behaviour? 🙂
          I would like not cancel the multicast task.

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

            @Fernando-Gietz The problem is when you create a “grouped” multicast task as you did here, you’re kind of requiring all of those hosts to join in the imaging. So cancelling the task, doesn’t update the whole command. This “mid-imaging” cancellation would cause all the other hosts to fall out.

            It’s confusing to try to explain I suppose.

            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
            • F
              Fernando Gietz Developer
              last edited by

              The situation:

              I send a multicast task to 30 hosts and the image has 3 partitions.
              For several causes someones of these hosts doesn’t power on (the net wire is not connected, the WOL packet doen’t reach to the host …). At last 25 hosts are power on and 5 power off. The task begins and, after timeout, the download process begins in 25 hosts, you go to the classroom and … Oh my God!!! I need all PC for the next hour!!! You can not stop the task because has downloaded the middle. The solution would be easy, cancel the five ones, and create a new multicast task with these five.

              With the actual behaviour you can do this.

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

                I’ll work on this, I still don’t like it much due to how we create tasks.

                I’ve moved it from bugs to feature requests as that’s what this sounds like to me.

                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
                • F
                  Fernando Gietz Developer
                  last edited by

                  Thank you 🙂

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

                  179

                  Online

                  12.1k

                  Users

                  17.3k

                  Topics

                  155.3k

                  Posts
                  Copyright © 2012-2024 FOG Project