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

    IPXE problems with Broadcom netXtreme II

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    14
    7.3k
    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.
    • E
      emkey
      last edited by

      I will do and try again on monday. I’m already on my weekend.

      1 Reply Last reply Reply Quote 0
      • E
        emkey
        last edited by

        Okay, so I just tested build 2389 (current svn checkout).

        The good news is that it now boots to the fog menu without any problems.

        The bad news is that this is almost the only thing working.

        Problem 1: On the web interface I can only see hosts created BEFORE the upgrade to the current build. Newer hosts exist in the database and when I try to add them again I get told that they already exist, but I can’t see them.

        Problem 2: Quick Registration got stuck. The database entry still got created (at least the host entry, not sure about the rest).

        Problem 3: Although the host entry exists, it still says Host in NOT registered. Which is probably caused by…

        Problem 4: No network connectivity in FOG menu. In the IP settings there is no address attached to the network interface, therefore ping to the server fails of course.

        Compatibility check tells me I should be fine.

        Any more ideas at this stage? If i have some spare time I will try and do a fresh install instead of an upgrade.

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

          emkey,

          Do you have a gmail address you can share with me and BPSTravis in Convo?

          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
          • E
            emkey
            last edited by

            Yes, I will send you an address today.

            Meanwhile I tried a fresh installation and during the db schema installation I got the following error:
            [CODE]Update/Install Successful!

            Click here to login.

            The following errors occured
            Update ID: 130 - 5

            Database Error:

            No database selected
            Database SQL:

            INSERT INTO fog.hostMAC (hmMAC,hmHostID,hmPending) (SELECT pmAddress,pmHostID,‘1’ FROM pendingMACS)[/CODE]

            I think there is an error in the db setup script. Can you hint me where I can fidn it?

            1 Reply Last reply Reply Quote 0
            • B
              BPSTravis Developer
              last edited by

              If it’s a true fresh install there are no hosts to move so that won’t even matter.

              [SIZE=12px]signature:[/SIZE]
              [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

              1 Reply Last reply Reply Quote 0
              • E
                emkey
                last edited by

                Yes, it is. The only thing I reused is my datastore I mount as /images folder.

                After installation again i can log in and everything looks quite fine. But again newly added hosts are not shown in the host list.

                1 Reply Last reply Reply Quote 0
                • B
                  BPSTravis Developer
                  last edited by

                  Can you pull your /var/log/apache2/error.log? Are there any errors showing when viewing the hos list or searching for the newly added host? Better yet, is there an error when you create the new host(you can use tail-f /var/log/apache2/error.log to watch it real time.

                  Edit: I was able to duplicate this issue on my end, the issue is it’s inserting the mac record with no host id tied to it. We are looking into it and get back to you once we resolve it.

                  [SIZE=12px]signature:[/SIZE]
                  [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                  1 Reply Last reply Reply Quote 0
                  • B
                    BPSTravis Developer
                    last edited by

                    This is now fixed in svn 2391.

                    [SIZE=12px]signature:[/SIZE]
                    [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                    1 Reply Last reply Reply Quote 0
                    • E
                      emkey
                      last edited by

                      I will check the new version tomorrow morning, otherwise I will provide you the error log.

                      Also: PM with email. But maybe this might be interesting for other people, too.

                      1 Reply Last reply Reply Quote 0
                      • E
                        emkey
                        last edited by

                        Okay, tried the new build. After not being able to add a host via pxe register or manually via the web interface I checked the database and the hostMAC field is missing on table hosts. As it is a fresh installation there still seems to be some faults in your database setup script.

                        Can you tell me where the script is located to check it for errors?

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

                          emkey,

                          We’re transitioning from multiple points of mac addresses to a single table.

                          That table is called hostMAC.

                          In that table you should notice that your MAC’s are associated by Primary MAC, Pending Mac’s and there’s a couple other fields.

                          There can only be one primary mac per host and it should have the relevant host’s id in the hmHostID field.

                          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
                          • E
                            emkey
                            last edited by

                            Hey there,

                            sorry for letting you wait this long. Today I found some time to test a little bit and things look a lot better meanwhile.

                            I did another fresh install from the current svn and now the iPXE boot works without any flaws! I will now test to Up- and Download some images. I will keep you up to date!

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            203

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project