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

Max task for single snapin

Scheduled Pinned Locked Moved Unsolved
FOG Problems
2
6
1.4k
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
    jmeyer
    last edited by jmeyer Mar 20, 2017, 8:00 AM Mar 20, 2017, 1:56 PM

    Server
    • FOG Version: 1.3.4
    • OS: Ubuntu 14.04.5 LTS
    Description

    I have a group of 260 hosts, I try to deploy a “Single Snapin” task.
    More than 250 host had image associated.
    None has snapins associated (it’s my first snapin).
    Only 64 hosts hast task created at the end.

    Cancel from GUI all task or run :

    DELETE FROM `tasks` WHERE `taskStateID` IN ("1","2","3");
    DELETE FROM `snapinTasks` WHERE `stState` in ("1","2","3");
    

    only end to create the same amount of task each time.

    Thank you

    1 Reply Last reply Reply Quote 0
    • J
      jmeyer
      last edited by Mar 20, 2017, 2:11 PM

      I have also run as Thomas asked :

      truncate table snapinJobs;
      truncate table snapinTasks;
      delete from tasks where taskTypeID IN (12,13);
      

      but without success

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Mar 20, 2017, 2:12 PM

        Just informed that 1.3.5 is out and he is now installing it. Hopefully it addressed this problem, though I doubt it. I don’t know what the problem is yet, just giving foresight on what we’re “trying”.

        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 Mar 20, 2017, 2:33 PM Reply Quote 0
        • J
          jmeyer @Tom Elliott
          last edited by Mar 20, 2017, 2:33 PM

          Problem remain the same with version 1.3.5.

          T 1 Reply Last reply Mar 21, 2017, 4:14 AM Reply Quote 0
          • T
            Tom Elliott @jmeyer
            last edited by Mar 21, 2017, 4:14 AM

            @jmeyer with my testing in regards to taking snapins I did not encounter such a problem with a group tallying up at just over 1000 total hosts. I’m suspecting you may have some bad entries in the snapins assoc table that might be giving you the issue you’re seeing.

            Based on this would you mind trying SQL statements such as:
            delete from snapinAssoc where saHostID not in (select hostID from hosts) or saSnapinID not in (select sID from snapins); and rerun the cleanup from earlier, then try your tasking?

            You may need to reassociate snapins to hosts but you’re using groups to deploy which will schedule snapin tasking regardless of host snapin associations.

            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 Mar 21, 2017, 12:46 PM Reply Quote 0
            • J
              jmeyer @Tom Elliott
              last edited by jmeyer Mar 21, 2017, 7:05 AM Mar 21, 2017, 12:46 PM

              @Tom-Elliott

              Your command has changed something.
              Now, it runs “single snapin” only on the host that have it added (it means only 1).
              Is this normal ? lol

              edit : Found out, with Thomas, that I have to associate this snapin to each host to create a working task for every host using group single snapin task.

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

              221

              Online

              12.1k

              Users

              17.3k

              Topics

              155.4k

              Posts
              Copyright © 2012-2024 FOG Project