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

    Can't deploy images due to random incorrect IP address

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    4
    614
    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.
    • R
      rogerpenn
      last edited by

      When I try to deploy an image and boot the host via PXE, the fog client boots, then I get:

      Could not mount images folder (/bin/fog.download)
      Args Passed:
      Reason: mount: mounting 10.10.10.159:/images/ on /images failed: No route to host

      No, of course there isn’t. Because my fog server is not at 10.10.10.159, it’s at 10.10.10.34. It’s a static IP and DHCP is not running on the FOG server. I’m running dnsmasq and itsp.conf contains nothing but the correct IP (otherwise I wouldn’t be able to boot with the FOG client to begin with). There is nothing configured anywhere on the system that mentions 10.10.10.159. The tftp host is set to 10.10.10.34. The web host is set (and working) to 10.10.10.34. So where is it getting this random IP address and why?!?

      Here is my itsp.conf file:
      eef0aae2-dc01-44af-bed6-ed8881aa789f-image.png

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

        @rogerpenn I guess you have installed FOG when the machine still had the IP 10.10.10.159 (maybe pulled from a DHCP server at some point).

        Anyhow, here you find information on where to correct the IP address and what to do: https://docs.fogproject.org/en/latest/reference/change_fog_server_ip_address.html

        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

        R 1 Reply Last reply Reply Quote 1
        • R
          rogerpenn @Sebastian Roth
          last edited by

          @sebastian-roth Thank you so much! I think you’re right about the initial assignment, but I never would have guessed I needed to re-run the installer. The main problem though is that I never thought to look in the storage node configuration because I hadn’t actually created any “nodes” (just the default on the server) and found a separate setting for the IP address. Just changing that would probably have solved everything. I really feel silly because I didn’t find that document with everything I needed to know. I’m wondering where that storage node IP information is stored though, because I grepped my entire file system for that IP figuring it was in some file somewhere and found nothing. At any rate, all is well. Thank you again!

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

            @rogerpenn said in Can't deploy images due to random incorrect IP address:

            I’m wondering where that storage node IP information is stored though, because I grepped my entire file system for that IP figuring it was in some file somewhere and found nothing.

            It’s in the database, not in a config file.

            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

            217

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project