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

Cannot deploy images

Scheduled Pinned Locked Moved Solved
FOG Problems
3
39
9.6k
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.
  • T
    Tom
    last edited by Sep 5, 2017, 8:11 PM

    Server
    • FOG Version: 1.4.4
    • OS: Ubuntu 14.4
    Client
    • Service Version:
    • OS:
    Description

    Good Afternoon,
    I am able to get to the menu without a problem. Once I try to register a machine or deploy an image, it seems bzimage and INI are going, but then nothing happening.
    The screen gets black and the curser blinking.
    Thanks,

    Tom

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator @Tom
      last edited by Sep 6, 2017, 10:32 PM

      @tom Well I would start out by changing that value of bzImage412 in FOG_TFTP_PXE_KERNEL back to the default of bzImage. Then reboot your target computer and see if you can register it.

      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!

      T 1 Reply Last reply Sep 6, 2017, 10:36 PM Reply Quote 0
      • G
        george1421 Moderator
        last edited by Sep 5, 2017, 11:12 PM

        lets start with some background information.

        1. What is the manufacturer and model of the hardware you are trying to pxe boot?
        2. Is the firmware in uefi or bios (legacy) mode?
        3. What exactly do you have programmed for dhcp option 67 {boot-file}?
        4. Is this a new install or new hardware that won’t boot?

        I assume that you see it download bzImage (linux OS) and init.zx (virtual hard drive) but then it doesn’t proceed from there.

        Lets start there and see where we go with the new information.

        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!

        T 1 Reply Last reply Sep 6, 2017, 12:53 PM Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sep 6, 2017, 6:50 AM

          Just want to add one more question to the list. What kind (model and vendor) of Ethernet is this? Onboard or external USB NIC? Best of you can provide lspci -n and lsusb outputs.

          PS: If I had to guess I’d say it’s one of these realtek based USB NICs…

          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 @george1421
            last edited by Sep 6, 2017, 12:53 PM

            @george1421
            1.What is the manufacturer and model of the hardware you are trying to pxe boot? Dell Latitude 7240, I tried several machines.
            2.Is the firmware in uefi or bios (legacy) mode? legacy
            3.What exactly do you have programmed for dhcp option 67 {boot-file}? undionly.kkpxe

            The system was stable and working perfectly, suddenly it stopped.

            Please watch the short video here
            Thanks,

            Tom

            G 1 Reply Last reply Sep 6, 2017, 1:43 PM Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth Sep 6, 2017, 7:07 AM Sep 6, 2017, 1:07 PM

              @tom said in Cannot deploy images:

              The system was stable and working perfectly, suddenly it stopped.

              What exactly do you mean by that?

              What kind (model and vendor) of Ethernet is this? Onboard or external USB NIC? Best of you can provide lspci -n and lsusb outputs. For that boot a linux lice CD…

              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

              T 1 Reply Last reply Sep 6, 2017, 1:53 PM Reply Quote 0
              • G
                george1421 Moderator @Tom
                last edited by Sep 6, 2017, 1:43 PM

                @tom I guess the first question I have is, Is the firmware updated on the 7240s?

                When you say it suddenly stopped, can you determine an event that could have happened between when it did and when it didn’t work? (like upgrading fog??)

                I have the 7240s on my campus so if needed I can go grab one and test. The only time I’ve personally seen this happen is when the system was a Lenovo and in uefi mode the system would download 69% of init.xy and then switch to the black screen and cursor.

                Is this the only hardware that is doing this behavior or is it all?

                BTW: The video is perfect since we can see how you got to the error. Bravo.

                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!

                T 1 Reply Last reply Sep 6, 2017, 2:19 PM Reply Quote 0
                • T
                  Tom @Sebastian Roth
                  last edited by Sep 6, 2017, 1:53 PM

                  @sebastian-roth
                  The system is Latitude E7240 with Intel onboard NIC I218-LM.
                  0_1504705832738_lspci.JPG
                  attached is the result of lspci -n
                  when I tried to run lsusb, I got “unable to initialize libusb: -99”

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom @george1421
                    last edited by Sep 6, 2017, 2:19 PM

                    @george1421
                    We have only Latitude in our environment, the issue repeats on 7280 as well. All firmware are up to date.
                    I cannot tell what changed, I’ve upgraded to 1.4.4 awhile ago and it was working properly.
                    Is there any log I can look into?

                    Thanks,

                    Tom

                    G 1 Reply Last reply Sep 6, 2017, 4:14 PM Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sep 6, 2017, 2:29 PM

                      @Tom Ok I was wrong on this one. Not one of these realtek USB NICs, thank god! Searching the forum I can see that many people have used this model. So it definitely works or has worked. Let’s see if George can replicate the issue or not.

                      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 1 Reply Last reply Sep 6, 2017, 4:12 PM Reply Quote 0
                      • G
                        george1421 Moderator @Sebastian Roth
                        last edited by Sep 6, 2017, 4:12 PM

                        @sebastian-roth OK I can pxe boot these 7240s no problem. I set the bios back to factory, put laptop in bios (legacy mode), enabled pxe booting on built in network interface and then booted into FOG registration.

                        This is just for documentation purposes: this laptop has bios A21 with 4GB of ram and a 128GB SSD.

                        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 @Tom
                          last edited by Sep 6, 2017, 4:14 PM

                          @tom Can we make the statement that all latitudes have the issue, or all computers have the issue?

                          While this is just a wild (strange) idea, do you have an unmanaged switch you can place between the pxe booting computer and the building network switch? This really doesn’t sound like a spanning tree issue, but it just might. Those 7240s are pretty quick.

                          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!

                          T 1 Reply Last reply Sep 6, 2017, 4:53 PM Reply Quote 0
                          • T
                            Tom @george1421
                            last edited by Sep 6, 2017, 4:53 PM

                            @george1421

                            Actually, there is already unmanaged switch between.
                            Tom

                            G 1 Reply Last reply Sep 6, 2017, 5:00 PM Reply Quote 0
                            • G
                              george1421 Moderator @Tom
                              last edited by george1421 Sep 6, 2017, 11:01 AM Sep 6, 2017, 5:00 PM

                              @tom OK watching your video frame by frame (well almost). I see your fog server is on 192.168.2.196 but your pxe client computer and dhcp server are on 10.141.32.x/24 Is this expected?

                              Unfortunately the video doesn’t show me where its getting bzImage from (just off the top of the screen)

                              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!

                              T 1 Reply Last reply Sep 6, 2017, 5:36 PM Reply Quote 1
                              • T
                                Tom @george1421
                                last edited by Sep 6, 2017, 5:36 PM

                                @george1421
                                Yes, the IP’s are correct and expected.

                                G 1 Reply Last reply Sep 6, 2017, 5:56 PM Reply Quote 0
                                • G
                                  george1421 Moderator @Tom
                                  last edited by Sep 6, 2017, 5:56 PM

                                  @tom ok just to rule out a routing/router issue can you try and move the pxe booting client to the same subnet as the FOG server? I know I’m grasping at straws here, but it should but working… We have to find out where the issue isn’t at this point.

                                  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!

                                  T 1 Reply Last reply Sep 6, 2017, 6:40 PM Reply Quote 0
                                  • T
                                    Tom @george1421
                                    last edited by Sep 6, 2017, 6:40 PM

                                    @george1421
                                    That was not it. I put the laptop on the 192.168.2.x subnet and I got the same results.

                                    Thanks,

                                    Tom

                                    G 1 Reply Last reply Sep 6, 2017, 6:54 PM Reply Quote 0
                                    • G
                                      george1421 Moderator @Tom
                                      last edited by Sep 6, 2017, 6:54 PM

                                      @tom These next steps are shotgunning in several directions.

                                      1. Do you have any other models we can try. Like an older latitude or even a desktop. I’m interested to see if we can get FOS to boot at all.

                                      2. Lets assume that FOS is corrupted. From the fog server linux console, navigate to /var/www/html/fog/service/ipxe and then lets run the md5sum command and compare your images to mine.
                                        1 md5sum bzImage dfba0a3d8b0e8652857c69c45393465a
                                        2 md5sum bzImage32 87d61b318f111434f880e0d4b500e539
                                        3 md5sum init.xz edbd5936f81144d1afb888f4b8712de5

                                      3. If we put the pxe booting computer on the same subnet as the FOG server, we can use the fog server to listen in on the pxe booting process of the target computer. (I’m not sure this one is going to tell us much, but again your pxe booting process is not typical either). Follow the instructions here: https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue upload the pcap to a google drive or dropbox and I’ll take a look at it. Either post the link here or send me an IM and I will review it off-line. Use the provided instructions except use this tcpdump string. tcpdump -w output.pcap port 67 or port 68 or port 69 or port 4011 or port 80 because I want to see what is going on with the init.xz download, which uses http.

                                      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 T 2 Replies Last reply Sep 6, 2017, 6:56 PM Reply Quote 0
                                      • G
                                        george1421 Moderator @george1421
                                        last edited by Sep 6, 2017, 6:56 PM

                                        @george1421 Wait, I remember another situation just like this, where the OP was sending pxelinux.0 or any of the undionly.0 files as dhcp option 67 {boot-file} and it would run just fine but blow up while it was downloading the init.xz. This sure seems to fit that situation.

                                        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
                                        • T
                                          Tom @george1421
                                          last edited by Sep 6, 2017, 7:18 PM

                                          @george1421
                                          0_1504725515714_md5Sum.JPG
                                          seems to be correct.

                                          G 1 Reply Last reply Sep 6, 2017, 7:31 PM Reply Quote 0
                                          • G
                                            george1421 Moderator @Tom
                                            last edited by Sep 6, 2017, 7:31 PM

                                            @tom Ok then we can rule out something happened to the FOS image during or after the upgrade since the keys match.

                                            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!

                                            T 1 Reply Last reply Sep 6, 2017, 9:18 PM Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            1 / 2
                                            • First post
                                              1/39
                                              Last post

                                            157

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project