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

Image Capture Issues

Scheduled Pinned Locked Moved Solved
Bug Reports
3
7
1.3k
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
    jburleson
    last edited by Jul 12, 2016, 3:26 PM

    OS: Ubuntu 16.04
    Fog:
    Running Version 8515
    SVN Revision: 5882

    After capturing an image, I can no longer click on the image link from the image list to edit it or view information about it. This is due to the storage group no longer being associated with the image.

    Prior to image capture, the image was associated with a storage node. After capture, the storage group was remove. I tested this on two different images and it happened both times.

    Database table imageGroupAssoc before capture

    *************************** 2. row ***************************
                igaID: 2
           igaImageID: 34
    igaStorageGroupID: 1
           igaPrimary: NULL
    

    Database table imageGroupAssoc after capture

    *************************** 2. row ***************************
                igaID: 10
           igaImageID: 34
    igaStorageGroupID: 0
           igaPrimary: 0
    

    Note that the igaStorageGroupID has changed from 1 to 0. Switching the igaStorageGroupID back to 1 fixes the problem.

    After capturing an image, the owner of the captured image directory is changed from ‘fog’ to ‘root’.

    Prior to capture

    drwxrwxrwx  2 fog root 4.0K Jul 6 11:05 OptiplexD1D4Fall2015
    

    After capture

    drwxrwxrwx  2 root root 4.0K Jul 12 09:58 OptiplexD1D4Fall2015
    
    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Jul 12, 2016, 9:30 AM Jul 12, 2016, 3:30 PM

      Issue confirmed on trunk 8529 @Tom-Elliott, When I clicked list all images - everything completely stopped working

      No PXE booting, no web interface.

      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
      • W
        Wayne Workman
        last edited by Jul 12, 2016, 3:57 PM

        My post was a false alarm - turns out the fog server was just under a really, really heavy load.

        There were 4 sites each imaging 3 computers, a large snapin was being replicated to 14 servers, a large image was being replicated to 14 servers, and there was an image upload going and there were 53 hosts queued for image deployment each sending a progress report poll every 3 seconds…

        Fog server was very busy. It’s settling down now a little.

        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
        • J
          jburleson
          last edited by Jul 12, 2016, 4:45 PM

          When I captured the image a second time, it did not change the storage group id. The filesystem owner did change back to root, but that may not be an issue since ‘other’ has rwx permissions.

          This may be in someway related to my migration from 0.32 to trunk as it only seems to affect my old images.

          T 1 Reply Last reply Jul 12, 2016, 6:51 PM Reply Quote 0
          • T
            Tom Elliott @jburleson
            last edited by Jul 12, 2016, 6:51 PM

            @jburleson I still have your db, so I’ll see if I can find the issue myself. I think you may be correct though. It’s updating the storage groups, but the info got double inserted, likely from one point where the image had not had an image group associated (so there’s probably two entries for these image groups) one that has a valid storage group/image id assocation and one with an invalid.

            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
            • T
              Tom Elliott
              last edited by Jul 14, 2016, 5:20 PM

              I have not had enough time quite yet to test this fully, but I’ve also not been able to replicate either. To test, i registered one of my vm’s. I then took one of the pre-existing images and associated it with that new host. Then I asked it to upload. I did not see it change the storageGroupID to 0. Of course I still need to test a few other things, but I also didn’t see any duplicate image information within the imageGroupAssoc table…

              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 Jul 14, 2016, 6:54 PM Reply Quote 0
              • J
                jburleson @Tom Elliott
                last edited by Jul 14, 2016, 6:54 PM

                @Tom-Elliott I think we can mark this as a one off problem. Maybe I missed a step when I migrated the old images. Thanks for looking into it.

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

                227

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project