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

KMV installation can not locate images folder upon image deploy or capture.

Scheduled Pinned Locked Moved Solved
FOG Problems
3
11
664
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.
  • L
    lperoma
    last edited by Jan 19, 2023, 10:52 AM

    Update:

    I was suspecting the images folder mount into the virtual machine. I have unmounted the filesystem, and now I have the local /images file (no images there).

    I still can’t capture images, no apparent error given, just the options to : ifconfig, gdisk, fdisk, fixparts, reboot. But no capture.

    No ideas ? Troubleshooting tips ?

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jan 20, 2023, 7:05 AM

      @lperoma May I ask you to take pictures of what you See on screen and post those here?

      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

      L 3 Replies Last reply Jan 20, 2023, 9:33 AM Reply Quote 0
      • L
        lperoma @Sebastian Roth
        last edited by Jan 20, 2023, 9:33 AM

        @Sebastian-Roth Here you go:

        https://naks.es/downloads/fog.mov

        Hope this can clarify a bit.

        1 Reply Last reply Reply Quote 0
        • L
          lperoma @Sebastian Roth
          last edited by lperoma Jan 20, 2023, 4:08 AM Jan 20, 2023, 10:08 AM

          @Sebastian-Roth One more:

          https://naks.es/downloads/fog-deploy.mov

          Best, LP

          L 1 Reply Last reply Jan 24, 2023, 7:09 PM Reply Quote 0
          • L
            lperoma @Sebastian Roth
            last edited by Jan 24, 2023, 9:10 AM

            Hi @Sebastian-Roth did you have the chance to see those 2 videos for capture and deploy ?

            We are a bit stuck. Yesterday I tried reinstalling fog to no avail.

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Jan 24, 2023, 9:17 AM

              @lperoma said in KMV installation can not locate images folder upon image deploy or capture.:

              did you have the chance to see those 2 videos for capture and deploy ?

              Not yet but will take a look and reply today.

              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
              • L
                lukebarone @lperoma
                last edited by Jan 24, 2023, 7:09 PM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth Jan 24, 2023, 4:04 PM Jan 24, 2023, 10:02 PM

                  @lperoma said in KMV installation can not locate images folder upon image deploy or capture.:

                  https://naks.es/downloads/fog.mov

                  In this video I see a capture task scheduled in debug mode. Just hit ENTER twice to get to the shell and start capturing by running the command fog. If you don’t want debug capture you should not enable the debug checkbox in the web UI when scheduling the capture task.

                  https://naks.es/downloads/fog-deploy.mov

                  This video shows a hanging deployment that seems to be waiting on post init scripts. Please check the following folders on your server to see what kind of scripts you have in place:

                  ls -al /images/dev/postinitscripts
                  cat /images/dev/postinitscripts/fog.postinit
                  ls -al /images/postinitscripts
                  cat /images/postinitscripts/fog.postinit
                  

                  Yesterday I tried reinstalling fog to no avail.

                  Do you still get the exact same error message mentioned in your initial post? I am wondering why we don’t see this in the video.

                  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

                  L 1 Reply Last reply Jan 25, 2023, 11:45 AM Reply Quote 0
                  • L
                    lperoma @Sebastian Roth
                    last edited by Jan 25, 2023, 11:45 AM

                    Thanks @Sebastian-Roth

                    Disabling the debug mode gave me a tip on the problem, as capture stopped with a failed to set permissions error.

                    In the end, I ended up narrowed down the problem to the type of filesystem presented to FOG from the KVM.

                    I had:

                    <filesystem type='mount' accessmode='passthrough'>
                      <driver type='virtiofs'/>
                      <source dir='/images/'/>
                      <target dir='ximages'/>
                    </filesystem>
                    

                    This is not quite OK for FOG, needs to be a raw disk presented to the guest. I changed it to a raw disk with :

                    <disk type='block' device='disk'>
                      <driver name='qemu' type='raw' cache='none'/>
                      <source dev='/dev/disk/by-uuid/7c4cf625-18de-4bd8-852b-952b9bc7fdc5' index='1'/>
                      <backingStore/>
                      <target dev='vdb' bus='virtio'/>
                      <alias name='virtio-disk1'/>
                    </disk>
                    

                    And all worked just fine then. Looks like a /filesystem declaration is not a proper ext4 filesystem when mounting on the guest.

                    All is working fine now. Thank you all for your help.

                    1 Reply Last reply Reply Quote 0
                    • [[undefined-on, L lperoma, Jan 25, 2023, 11:46 AM]]
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth Jan 25, 2023, 9:19 AM Jan 25, 2023, 3:19 PM

                      @lperoma Thanks for the update. Good to hear you found this and were able to fix it. Well done! This is beyond FOG itself and it would have taken a lot of posting forth and back to figure this out for us. Although I don’t know much about virtiofs I can imagine it causing problems when being exported as NFS (as FOG does).

                      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
                      • 1 / 1
                      1 / 1
                      • First post
                        11/11
                        Last post

                      166

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project