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

    Image Deploy Job doesn't show up in image history and shows as 2020+ years duration in imaging report

    Scheduled Pinned Locked Moved
    FOG Problems
    imaging report image-history
    2
    7
    744
    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.
    • JJ FullmerJ
      JJ Fullmer Testers
      last edited by

      Last night I queued up 3 computers to be re-imaged.
      They all imaged but one of the hosts didn’t get an updated image history.

      The imaging log report looks like this for the 3 computers

      2a3beb0d-da9c-414c-94c4-b66301b94261-image.png

      The one that didn’t get a history update has a duration that is really just the time it started.

      This may be related to my other ongoing post https://forums.fogproject.org/post/139217 I’m working with @Sebastian-Roth on, but this seems like a separate issue.

      Have you tried the FogApi powershell module? It's pretty cool IMHO
      https://github.com/darksidemilk/FogApi
      https://fogapi.readthedocs.io/en/latest/
      https://www.powershellgallery.com/packages/FogApi
      https://forums.fogproject.org/topic/12026/powershell-api-module

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

        @JJ-Fullmer Did the deployment finish fine? Task in the web UI was gone?

        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

        JJ FullmerJ 1 Reply Last reply Reply Quote 0
        • JJ FullmerJ
          JJ Fullmer Testers @Sebastian Roth
          last edited by

          @sebastian-roth Yes to both. It’s just the reporting and history that didn’t work.

          Have you tried the FogApi powershell module? It's pretty cool IMHO
          https://github.com/darksidemilk/FogApi
          https://fogapi.readthedocs.io/en/latest/
          https://www.powershellgallery.com/packages/FogApi
          https://forums.fogproject.org/topic/12026/powershell-api-module

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

            @JJ-Fullmer Please run the following DB query and post results here: SELECT ilID,ilHostID,ilStartTime,ilFinishTime FROM imagingLog WHERE ilHostID=(SELECT hostID FROM hosts WHERE hostName LIKE '%dr-wks-2943%');

            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

            JJ FullmerJ 1 Reply Last reply Reply Quote 0
            • JJ FullmerJ
              JJ Fullmer Testers @Sebastian Roth
              last edited by

              @sebastian-roth

              MariaDB [fog]> SELECT ilID,ilHostID,ilStartTime,ilFinishTime FROM imagingLog WHERE ilHostID=(SELECT hostID FROM hosts WHERE hostName LIKE '%dr-wks-2943%');
              +------+----------+---------------------+---------------------+
              | ilID | ilHostID | ilStartTime         | ilFinishTime        |
              +------+----------+---------------------+---------------------+
              |  987 |     1581 | 2017-11-06 16:43:25 | 2017-11-06 16:44:58 |
              | 1353 |     1581 | 2020-11-17 18:13:37 | 0000-00-00 00:00:00 |
              +------+----------+---------------------+---------------------+
              2 rows in set (0.07 sec)
              

              Have you tried the FogApi powershell module? It's pretty cool IMHO
              https://github.com/darksidemilk/FogApi
              https://fogapi.readthedocs.io/en/latest/
              https://www.powershellgallery.com/packages/FogApi
              https://forums.fogproject.org/topic/12026/powershell-api-module

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

                @JJ-Fullmer Have had this on my list but still not sure how we should tackle this. Do you still see machines that do not report a finish time after imaging?

                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

                JJ FullmerJ 1 Reply Last reply Reply Quote 0
                • JJ FullmerJ
                  JJ Fullmer Testers @Sebastian Roth
                  last edited by

                  @sebastian-roth I have not, it seems to have just been that one time.

                  Have you tried the FogApi powershell module? It's pretty cool IMHO
                  https://github.com/darksidemilk/FogApi
                  https://fogapi.readthedocs.io/en/latest/
                  https://www.powershellgallery.com/packages/FogApi
                  https://forums.fogproject.org/topic/12026/powershell-api-module

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

                  196

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project