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

    fog perform full host registration = no viable mac to use

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    5
    21
    4.8k
    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.
    • B
      buercky
      last edited by

      Im also getting this error. I have installed twice after deleting the .fogsettings file. Running on Ubuntu 16.04 on VMware.

      Surprisingly I am able to choose image device from the fog menu and it works for an existing device, but quick or full registration gives me the jq error and no viable mac to use.

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @buercky
        last edited by

        @buercky said in fog perform full host registration = no viable mac to use:

        Im also getting this error. I have installed twice after deleting the .fogsettings file. Running on Ubuntu 16.04 on VMware.

        Surprisingly I am able to choose image device from the fog menu and it works for an existing device, but quick or full registration gives me the jq error and no viable mac to use.

        Three points here.

        1. Deleting the .fogsettings file only removes the options you selected the last time you installed fog. All this does is ask the questions over again and really doesn’t reset anything from the previous install. If you were to delete the .fogsettings and then remove /var/www/html/fog directory THEN you would reset almost everything. Understand this is destructive, but you will not kill any images or your FOG database, only the fog programming code.

        2. Make sure you remove the .zip file from the root of the fog repo you downloaded with git before you rerun the fog installer. That zip file contains the suspected broken inits that are causing registration errors. The fog installer should download the latest zip file when it runs.

        3. If you manually register the target system with FOG, will it image?

        I’ll spin up a new FOG server in my dev environment to see if I can duplicate this error. I’m going to suspect that yes I can.

        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!

        K B 2 Replies Last reply Reply Quote 0
        • K
          kafluke @george1421
          last edited by

          @george1421 Yes manually registering through the gui works fine. I also completely deleted the whole directory where I temp stored the FOG install files forcing FOG to re-download everything fresh. Still didn’t work.

          1 Reply Last reply Reply Quote 0
          • B
            buercky @george1421
            last edited by

            @george1421 do you know the path to the .zip file once i get to the root of the repo i downloaded. I had deleted the download yesterday and re-downloaded and installed again yesterday with the same results.

            If i manually register the client Yes it will image but i still get the:

            jq: error (at <stdin>:0): Cannot index string with string “logicalname”
            jq: error (at <stdin>:0): Cannot index string with string “serial”

            Thanks for the help and sorry to hijack this thread

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @buercky
              last edited by

              @buercky It should have been in the root of the repo. In my case its /opt/fogproject others root /root/fogproject

              0_1528218786151_repo.png

              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!

              B 1 Reply Last reply Reply Quote 0
              • B
                buercky @george1421
                last edited by

                @george1421 this is mine none listed

                0_1528219760326_fog.JPG

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

                  1.5.3 didn’t have the binaries being downloaded. I missed an argument when I initially pushed up the release. (That was my bad). What this does mean, however, is you don’t need to do anything other than rerun the installer to get the new inits. I’m currently rebuilding them with the 1.5.2 getMACAddresses function as there’s a problem with the lshw -c network -json command. The idea was to use json data to parse and get our information.

                  I was able to get this to work, but it appears to only fix single mac machines. So the “next” fix would be to detect the number of nics first, then parse the information differently in the case of multiple nics found on the machine. This seems a bit strange and counterintuitive to me, so I’m reverting this function to the one that worked in 1.5.2. It’ll just be a few before they’re ready.

                  I’ll post here to say, just rerun the installer, and you’ll be all set hopefully with this issue.

                  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
                  • george1421G
                    george1421 Moderator @buercky
                    last edited by

                    @buercky One of the developers just ping’d me and he is working on the issue right now. He should have it resolved and pushed up in a few hours.

                    You have the right directory, those .zip files are only downloaded when the installer runs. So if you have a new git pull those files shouldn’t be there.

                    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
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      Please rerun the installer. I’ve updated the init’s. They now use the older version of the getMACAddress method, that used to work near flawlessly. It is newly built so it’s using Buildroot 2018.02.2 rather than 2017.11.2, but things appear to be working as expected.

                      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

                      B K george1421G 3 Replies Last reply Reply Quote 0
                      • B
                        buercky @Tom Elliott
                        last edited by

                        @tom-elliott YES!! thank you very much works great!

                        1 Reply Last reply Reply Quote 0
                        • K
                          kafluke @Tom Elliott
                          last edited by

                          @tom-elliott Thanks Tom it now works again

                          1 Reply Last reply Reply Quote 0
                          • george1421G
                            george1421 Moderator @Tom Elliott
                            last edited by

                            @tom-elliott said in fog perform full host registration = no viable mac to use:

                            Buildroot 2018.02.2

                            Interesting… I wonder if some of the utilities will work better with a fresh build of buildroot(thinking ntfs-3g)

                            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!

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

                              @george1421 the problem with mbr erasing is related to the kernel apparently. Using 4.15.2 appears to work properly, while 4.16.6 is broken, though I suppose it’s also likely I missed a patch on the kernel that fixed something like this a while ago. I haven’t needed to do it in a while so maybe there’s a regression in the kernel code base?

                              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

                              george1421G 1 Reply Last reply Reply Quote 0
                              • george1421G
                                george1421 Moderator @Tom Elliott
                                last edited by

                                @tom-elliott So you rolled back bzImage to 4.15.2 in the 1.5.4 release? (just for my knowledge)

                                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!

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

                                  @george1421 nope I haven’t because I don’t know that it slows everybody down, and even if it is slow, it’s not broken.

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

                                  198

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project