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

DHCP problems on storage nodes

Scheduled Pinned Locked Moved Solved
FOG Problems
4
62
15.1k
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.
  • G
    Greg Plamondon Testers @george1421
    last edited by george1421 Jan 16, 2018, 11:49 AM Jan 16, 2018, 5:48 PM

    @george1421

    #!ipxe
    set fog-ip 192.168.10.238
    set fog-webroot fog
    set boot-url http://${fog-ip}/${fog-webroot}
    kernel http://10.21.40.39/fog/service/ipxe/bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.10.238/fog/ consoleblank=0 rootfstype=ext4 mac=c0:3f:d5:9d:e9:50 ftp=10.21.40.39 storage=10.21.40.39:/images/ storageip=10.21.40.39 osid=9 irqpoll hostname=PC3181 chkdsk=0 img=Win10x64-1703-R1 imgType=n imgPartitionType=all imgid=124 imgFormat=0 PIGZ_COMP=-6 adon=1 addomain="MTSTRANS.COM" adou="" aduser="Administrator" adpass="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" isdebug=yes type=down
    imgfetch http://10.21.40.39/fog/service/ipxe/init_32.xz
    boot
    
    G 1 Reply Last reply Jan 16, 2018, 5:52 PM Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jan 16, 2018, 5:49 PM

      @Greg-Plamondon Take a look at the Storage Settings in your FOG web UI. I am fairly sure you’ll find the old IP there.

      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

      G G 2 Replies Last reply Jan 16, 2018, 5:50 PM Reply Quote 0
      • G
        george1421 Moderator @Sebastian Roth
        last edited by Jan 16, 2018, 5:50 PM

        @sebastian-roth Am I missing something, what he just posted looks correct with a master fog server and a storage node.

        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!

        1 Reply Last reply Reply Quote 0
        • G
          george1421 Moderator @Greg Plamondon
          last edited by Jan 16, 2018, 5:52 PM

          @greg-plamondon This looks right.

          So a little bit more background on this. Are all target computers at this location doing this or only just this one computer?

          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!

          G 1 Reply Last reply Jan 16, 2018, 5:53 PM Reply Quote 0
          • G
            Greg Plamondon Testers @george1421
            last edited by Jan 16, 2018, 5:53 PM

            @george1421

            Its doing this at all locations. I have 30 locations

            1 Reply Last reply Reply Quote 0
            • G
              Greg Plamondon Testers @Sebastian Roth
              last edited by Jan 16, 2018, 5:58 PM

              @sebastian-roth

              alt text

              Sorry it took so long it takes a good 5 minutes for the page to display.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth Jan 16, 2018, 12:05 PM Jan 16, 2018, 6:04 PM

                @Greg-Plamondon Sorry my fault. Take a look at FOG Configurations -> FOG Settings -> Web Server -> WEB HOST…

                And check /opt/fog/.fogsettings before running the installer again.

                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

                G 2 Replies Last reply Jan 16, 2018, 6:22 PM Reply Quote 0
                • G
                  Greg Plamondon Testers @Sebastian Roth
                  last edited by Jan 16, 2018, 6:22 PM

                  @sebastian-roth

                  alt text

                  1 Reply Last reply Reply Quote 0
                  • G
                    Greg Plamondon Testers
                    last edited by Jan 16, 2018, 6:58 PM

                    I have a tech @ the remote location but he will be heading to the Airport at 3PM Eastern Time. Testing will be limted after that, if anyone has a fix or suggestion please dont hesitate 😉

                    1 Reply Last reply Reply Quote 0
                    • G
                      Greg Plamondon Testers
                      last edited by Greg Plamondon Jan 16, 2018, 1:07 PM Jan 16, 2018, 7:03 PM

                      i have backup folders:
                      “fog_web_1.5.0-RC-9.BACKUP”
                      "fog_web_1.4.4.BACKUP "
                      “fog_web_1.5.0-RC-10.BACKUP”

                      how do I roll back to this with GIT?
                      and what one should I roll back to?

                      1 Reply Last reply Reply Quote 0
                      • G
                        Greg Plamondon Testers @Sebastian Roth
                        last edited by Jan 16, 2018, 7:39 PM

                        @sebastian-roth
                        If I set the “Location” to use the main management fogserver it works but I am pulling a lot of data across the wire consuming the entire circuit.

                        W G 2 Replies Last reply Jan 17, 2018, 12:21 AM Reply Quote 0
                        • W
                          Wayne Workman @Greg Plamondon
                          last edited by Jan 17, 2018, 12:21 AM

                          @greg-plamondon I just got done skimming through this thread, I’m unsure of the problem now? Is it still DHCP related or what?

                          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/

                          G 1 Reply Last reply Jan 17, 2018, 2:26 PM Reply Quote 0
                          • G
                            george1421 Moderator @Greg Plamondon
                            last edited by george1421 Jan 16, 2018, 7:12 PM Jan 17, 2018, 1:05 AM

                            @greg-plamondon Sorry for the delay on this, I needed some time to research this issue. I think I have a test for us to understand what is going on here.

                            Hopefully you have a virtualization environment at one of the remote locations. Assuming you do, this is what I want to test.

                            1. Create a new (tiny) virtual machine. This just needs to be the bare minimum, it needs to be able to pxe boot.
                            2. Manually register that virtual machine with fog.
                            3. Schedule a capture / deploy (doesn’t matter) but be sure to enable the debug option.
                            4. PXE boot that target computer. It should boot to a command prompt. It may complain about the same ip address thing but it should display a bunch of commands and then drop you at a linux command prompt.
                            5. At the linux command prompt I want you to key in the following command. set | grep web. The hope is the response will be web=http://192.168.10.238/fog/
                            6. Now try to ping your main fog server ip address at 192.168.10.238

                            Something should fail above. I looked at the script where its going sideways in FOS. That script is here: https://github.com/FOGProject/fos/blob/master/Buildroot/board/FOG/FOS/rootfs_overlay/etc/init.d/S40network specifically at line 40. FOS will make a curl call back to your master FOG server to test if the link is up. FOS uses this command
                            curl -Ikfso /dev/null "${web}"/index.php --connect-timeout 5
                            Expanded the command is
                            curl -Ikfso /dev/null http://192.168.10.238/fog/index.php --connect-timeout 5

                            curl flags decoded
                            -I Doc Info
                            -k allow ssl connection, ignore cert
                            -f fail silently
                            -s silent
                            -o output file /dev/null

                            The other thing that could be stopping the works could be the 5 second timeout. But I would hope your fog server can respond within 5 seconds…

                            Wait didn’t you comment it was taking a long time to call up a web page? If your master fog server is overloaded and doesn’t respond with the index.php page within 5 seconds the remote clients will give up pxe booting. The curl command calls up a web page and not just a simple ping to see if it can reach the fog server.

                            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!

                            G 1 Reply Last reply Jan 17, 2018, 2:17 PM Reply Quote 0
                            • G
                              Greg Plamondon Testers @george1421
                              last edited by Jan 17, 2018, 2:17 PM

                              @george1421
                              I ran the command you requested on the TEST client PC.
                              alt text

                              I didn’t get any out from the command I rand…
                              I was able to ping the fogserver.

                              There are parts of the web interface that take a VERY long time to load and those are the “Storage” and “Fog Configuration” pages. The fogserver dashboard is very responsive.

                              G 2 Replies Last reply Jan 17, 2018, 2:25 PM Reply Quote 0
                              • G
                                george1421 Moderator @Greg Plamondon
                                last edited by Jan 17, 2018, 2:25 PM

                                @greg-plamondon This vm is at one of the remote locations?

                                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!

                                G 1 Reply Last reply Jan 17, 2018, 2:28 PM Reply Quote 0
                                • G
                                  Greg Plamondon Testers @Wayne Workman
                                  last edited by Jan 17, 2018, 2:26 PM

                                  @wayne-workman

                                  Yes as far as I can tell.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    george1421 Moderator @Greg Plamondon
                                    last edited by george1421 Jan 17, 2018, 8:28 AM Jan 17, 2018, 2:27 PM

                                    @greg-plamondon As for the output of the curl command we probably want to remove the “fso /dev/null” from the command so it prints out the results on the screen. The script uses the error level generated by curl to know success or fail.

                                    Make the command now curl -Ik http://192.168.10.238/fog/index.php --connect-timeout 5

                                    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!

                                    G 1 Reply Last reply Jan 17, 2018, 2:30 PM Reply Quote 0
                                    • G
                                      Greg Plamondon Testers @george1421
                                      last edited by Jan 17, 2018, 2:28 PM

                                      @george1421

                                      yes,

                                      alt text

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        Greg Plamondon Testers @george1421
                                        last edited by Jan 17, 2018, 2:30 PM

                                        @george1421
                                        alt text

                                        G 1 Reply Last reply Jan 17, 2018, 2:31 PM Reply Quote 0
                                        • G
                                          george1421 Moderator @Greg Plamondon
                                          last edited by george1421 Jan 17, 2018, 8:31 AM Jan 17, 2018, 2:31 PM

                                          @greg-plamondon you want to change the option switches as in the command I posted. That error threw me for a second.

                                          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!

                                          G 1 Reply Last reply Jan 17, 2018, 2:32 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 2 / 4
                                          2 / 4
                                          • First post
                                            25/62
                                            Last post

                                          204

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project