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

    What should happen when I create an image?

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    4
    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.
    • P
      peterloron
      last edited by

      When I create an image in the web UI, should that create any directories/files on disk?

      I’m running Fog 1.2.0 on Ubuntu 14.04. I’m trying to get things running, but am having some difficulties. I can go into the web UI and create and image. After that, I PXE boot a machine (Lenovo T430s in this case) and register it successfully. When I tell the client to take an image I get an error “unable to locate image store”.

      The image path in the UI is “/images/<imagename>”. When I look at that path on disk, I see the “dev” and “postdownloadscripts” folders, but nothing in any of the folders with the image name. I tried changing the path of the image to “/images/dev/<imagename>” and creating a directory in that path on disk. Then I get a different error when I try to image about it not being able to find a particular file.

      I’m guessing that there should be a directory and files created when I create an empty image, but it is not happening.

      Can any kind soul provide some troubleshooting pointers?

      Thanks.

      -Pete

      1 Reply Last reply Reply Quote 0
      • JunkhackerJ
        Junkhacker Developer
        last edited by

        directories do not get created until an image file is created. during an upload, images are uploaded to /images/dev/<file named after macaddress of computer> by nfs. when completed, they are moved to /images/<imagename> by ftp.
        make sure your image is set to a valid image store

        signature:
        Junkhacker
        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

        1 Reply Last reply Reply Quote 0
        • P
          peterloron
          last edited by

          Hmm. As far as I can tell, things are set up ok. The storage node is set to “/images” as the base path (which exists on disk). NFS exports looks right. The image is set to use the default storage group, and the path is set ok there, too.

          Is there a place that documents the individual commands I can run on the client in debug mode to see if I can pin down where the issue is?

          Thanks.

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

            I’m confused.

            Have you tried uploading an image?

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

            184

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project