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

FOG 1.3.4 RC 1 Released

Scheduled Pinned Locked Moved
Announcements
5
21
6.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.
  • T
    Tom Elliott @neodawg
    last edited by Jan 23, 2017, 3:35 PM

    @neodawg When the update occurs it will wipe out any duplicates.

    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
    • T
      Tom Elliott
      last edited by Jan 24, 2017, 5:09 PM

      I still feel like I have to clarify more cause this really isn’t making sense to me. If it’s not making sense to me, how can it make sense to anybody else?

      Let’s say you have a USB NIC with primar MAC Address 00:01:02:03:04:05 that’s registered with Name USB_NIC_1

      Let’s say you have another device who’s primary MAC Address is 00:22:33:44:55:11 with Name SOME_HOST_1.

      Now let’s say you put the USB NIC on SOME_HOST_1.

      It would not work. You would get an error stating “Multiple Hosts”. This would be the expected action. Does this make any more sense?

      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
      • S
        sudburr
        last edited by Jan 24, 2017, 6:51 PM

        The circle of logic my head is spinning around is what happens when you have x number of mobile devices that can only connect by using the USBNIC one at a time.

        I guess you would be forced to change the host definition before starting each time to avoid auto-naming each subsequent device with the same name.

        But then thinking out loud … I’m going to guess that the best practice would then be that the USBNIC must be removed from MOBILEDEVICE_1 before it boots for the first time, so that if there is a pre-installed fog client, it doesn’t confuse the database.

        [ Standing in between extinction in the cold and explosive radiating growth ]

        T 1 Reply Last reply Jan 24, 2017, 6:52 PM Reply Quote 0
        • T
          Tom Elliott @sudburr
          last edited by Jan 24, 2017, 6:52 PM

          @sudburr You can set the mac address to “client ignore”.

          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
          • W
            Wayne Workman
            last edited by Jan 25, 2017, 1:12 AM

            I’ve been looking through the commit history between 1.3.3 and 1.3.4 RC1 and I can’t find a commit with a message that has “mac” in it. Exactly what commit does 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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            T 1 Reply Last reply Jan 25, 2017, 1:19 AM Reply Quote 0
            • T
              Tom Elliott @Wayne Workman
              last edited by Jan 25, 2017, 1:19 AM

              @Wayne-Workman What do you mean?

              The ignore client and ignore image have been in for a VERY long time. They are those checkboxes next to the MAC Addresses.

              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

              W 1 Reply Last reply Jan 25, 2017, 1:22 AM Reply Quote 0
              • W
                Wayne Workman @Tom Elliott
                last edited by Jan 25, 2017, 1:22 AM

                @Tom-Elliott I’m trying to find the commit where you did this:

                Fix Host MAC table to only have one mac address (not one per host).

                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/

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Jan 25, 2017, 1:29 AM

                  https://github.com/FOGProject/fogproject/commit/3fe54ced5c8beede71434ffc5227b2c1ee97e190

                  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
                  • J
                    jjacobs
                    last edited by Jan 26, 2017, 1:26 PM

                    Hi Tom,

                    First I had version 1.3.3 installed and had the error:

                    26/01/2017 12:25 Middleware::Response Error multiple hosts returned for list of mac addresses
                    

                    After the update to
                    Thu Jan 26, 2017 13:22 pm
                    Running Version 22
                    SVN Revision: 6063

                    I still had the following issue:

                    26/01/2017 14:05 Middleware::Communication URL: http://CA-FOG/fog/management/index.php?sub=requestClientInfo&mac=34:E6:D7:1F:47:3E|48:51:B7:5D:83:42|48:51:B7:5D:83:43|00:09:0F:FE:00:01|48:51:B7:5D:83:46||00:00:00:00:00:00:00:E0|80:93:87:50:50:47&newService&json
                    26/01/2017 14:05 Middleware::Communication ERROR: Could not contact FOG server
                    26/01/2017 14:05 Middleware::Communication ERROR: De externe server heeft een fout geretourneerd: (500) Interne serverfout.
                    26/01/2017 14:05 Middleware::Response Success
                    

                    When I disabled the Mobile Broadband card (80:93:87:50:50:47) the client (Latitude E7440) stopped giving the error and renamed and joined the computer.

                    Kind regards,
                    Johan

                    T 1 Reply Last reply Jan 26, 2017, 1:32 PM Reply Quote 1
                    • T
                      Tom Elliott @jjacobs
                      last edited by Jan 26, 2017, 1:32 PM

                      @jjacobs et al,

                      When you see Server 500 fault, please try to catch the apache error logs. This will tell me more definitively where a problem is. I don’t have systems with mac’s that “could” appear on multiple systems or trying to register a strange mac address, so it’s very difficult for me to help fix any problems. I simply can’t replicate them, so I think all is good to go.

                      Almost always an error 500 is some sort of syntax error which will show up in your apache error logs.

                      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
                      • T
                        Tom Elliott
                        last edited by Jan 26, 2017, 1:48 PM

                        So indeed an error 500 was being thrown, but it was not a direct “syntax” issue persay.

                        @jjacobs provided me with:

                        [Thu Jan 26 14:33:59.112512 2017] [php7:error] [pi d 23964] [client 10.62.122.9:54522] PHP Fatal error: Uncaught Exception: Too ma ny MACs in /var/www/fog/lib/client/registerclient.class.php:100\nStack trace:\n# 0 /var/www/fog/lib/fog/fogpage.class.php(2701): RegisterClient->json()\n#1 /var/ www/fog/lib/fog/fogpage.class.php(262): FOGPage->requestClientInfo()\n#2 /var/ww w/fog/lib/fog/processlogin.class.php(57): FOGPage->__construct(’’)\n#3 [internal function]: ProcessLogin->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.p hp(406): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/ind ex.php(29): FOGBase::getClass(‘ProcessLogin’)\n#6 {main}\n thrown in /var/www/f og/lib/client/registerclient.class.php on line 100
                        [Thu Jan 26 14:34:00.277606 2017] [php7:error] [pid 24798] [client 10.52.225.22: 60380] PHP Fatal error: Uncaught Exception: Too many MACs in /var/www/fog/lib/c lient/registerclient.class.php:100\nStack trace:\n#0 /var/www/fog/lib/fog/fogpag e.class.php(2701): RegisterClient->json()\n#1 /var/www/fog/lib/fog/fogpage.class .php(262): FOGPage->requestClientInfo()\n#2 /var/www/fog/lib/fog/processlogin.cl ass.php(57): FOGPage->__construct(’’)\n#3 [internal function]: ProcessLogin->__c onstruct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(406): ReflectionClass->new InstanceArgs(Array)\n#5 /var/www/fog/management/index.php(29): FOGBase::getClass (‘ProcessLogin’)\n#6 {main}\n thrown in /var/www/fog/lib/client/registerclient. class.php on line 100
                        [Thu Jan 26 14:34:01.817646 2017] [php7:error] [pid 24693] [client 10.52.97.18:4 9655] PHP Fatal error: Uncaught Error: Call to a member function isValid() on n ull in /var/www/fog/lib/client/registerclient.class.php:67\nStack trace:\n#0 /va r/www/fog/lib/fog/fogpage.class.php(2701): RegisterClient->json()\n#1 /var/www/f og/lib/fog/fogpage.class.php(262): FOGPage->requestClientInfo()\n#2 /var/www/fog /lib/fog/processlogin.class.php(57): FOGPage->__construct(’’)\n#3 [internal func tion]: ProcessLogin->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(40 6): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.ph p(29): FOGBase::getClass(‘ProcessLogin’)\n#6 {main}\n thrown in /var/www/fog/li b/client/registerclient.class.php on line 67
                        [Thu Jan 26 14:34:14.930038 2017] [php7:error] [pid 24797] [client 10.62.115.239 :55222] PHP Fatal error: Uncaught Error: Call to a member function isValid() on null in /var/www/fog/lib/client/registerclient.class.php:67\nStack trace:\n#0 / var/www/fog/lib/fog/fogpage.class.php(2701): RegisterClient->json()\n#1 /var/www /fog/lib/fog/fogpage.class.php(262): FOGPage->requestClientInfo()\n#2 /var/www/f og/lib/fog/processlogin.class.php(57): FOGPage->__construct(’’)\n#3 [internal fu nction]: ProcessLogin->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php( 406): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index. php(29): FOGBase::getClass(‘ProcessLogin’)\n#6 {main}\n thrown in /var/www/fog/ lib/client/registerclient.class.php on line 67
                        [Thu Jan 26 14:34:25.060571 2017] [php7:error] [pid 23964] [client 10.52.225.8:5 5053] PHP Fatal error: Uncaught Error: Call to a member function isValid() on n ull in /var/www/fog/lib/client/registerclient.class.php:67\nStack trace:\n#0 /va r/www/fog/lib/fog/fogpage.class.php(2701): RegisterClient->json()\n#1 /var/www/f og/lib/fog/fogpage.class.php(262): FOGPage->requestClientInfo()\n#2 /var/www/fog /lib/fog/processlogin.class.php(57): FOGPage->__construct(’’)\n#3 [internal func tion]: ProcessLogin->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(40 6): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.ph p(29): FOGBase::getClass(‘ProcessLogin’)\n#6 {main}\n thrown in /var/www/fog/li b/client/registerclient.class.php on line 67
                        [Thu Jan 26 14:34:31.481057 2017] [php7:error] [pid 24795] [client 10.52.48.27:6 0003] PHP Fatal error: Uncaught Exception: Too many MACs in /var/www/fog/lib/cl ient/registerclient.class.php:100\nStack trace:\n#0 /var/www/fog/lib/fog/fogpage .class.php(2701): RegisterClient->json()\n#1 /var/www/fog/lib/fog/fogpage.class. php(262): FOGPage->requestClientInfo()\n#2 /var/www/fog/lib/fog/processlogin.cla ss.php(57): FOGPage->__construct(’’)\n#3 [internal function]: ProcessLogin->__co nstruct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(406): ReflectionClass->newI nstanceArgs(Array)\n#5 /var/www/fog/management/index.php(29): FOGBase::getClass( ‘ProcessLogin’)\n#6 {main}\n thrown in /var/www/fog/lib/client/registerclient.c lass.php on line 100
                        [Thu Jan 26 14:34:44.043988 2017] [php7:error] [pid 24795] [client 10.52.225.1:5 2387] PHP Fatal error: Uncaught Exception: Too many MACs in /var/www/fog/lib/cl ient/registerclient.class.php:100\nStack trace:\n#0 /var/www/fog/lib/fog/fogpage .class.php(2701): RegisterClient->json()\n#1 /var/www/fog/lib/fog/fogpage.class. php(262): FOGPage->requestClientInfo()\n#2 /var/www/fog/lib/fog/processlogin.cla ss.php(57): FOGPage->__construct(’’)\n#3 [internal function]: ProcessLogin->__co nstruct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(406): ReflectionClass->newI nstanceArgs(Array)\n#5 /var/www/fog/management/index.php(29): FOGBase::getClass( ‘ProcessLogin’)\n#6 {main}\n thrown in /var/www/fog/lib/client/registerclient.c lass.php on line 100
                        [Thu Jan 26 14:34:46.877791 2017] [php7:error] [pid 24798] [client 10.52.225.4:5 8369] PHP Fatal error: Uncaught Exception: Too many MACs in /var/www/fog/lib/cl ient/registerclient.class.php:100\nStack trace:\n#0 /var/www/fog/lib/fog/fogpage .class.php(2701): RegisterClient->json()\n#1 /var/www/fog/lib/fog/fogpage.class. php(262): FOGPage->requestClientInfo()\n#2 /var/www/fog/lib/fog/processlogin.cla ss.php(57): FOGPage->__construct(’’)\n#3 [internal function]: ProcessLogin->__co nstruct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(406): ReflectionClass->newI nstanceArgs(Array)\n#5 /var/www/fog/management/index.php(29): FOGBase::getClass( ‘ProcessLogin’)\n#6 {main}\n thrown in /var/www/fog/lib/client/registerclient.c lass.php on line 100
                        [Thu Jan 26 14:34:48.411504 2017] [php7:error] [pid 24693] [client 10.52.33.123: 56726] PHP Fatal error: Uncaught Exception: Too many MACs in /var/www/fog/lib/c lient/registerclient.class.php:100\nStack trace:\n#0 /var/www/fog/lib/fog/fogpag e.class.php(2701): RegisterClient->json()\n#1 /var/www/fog/lib/fog/fogpage.class .php(262): FOGPage->requestClientInfo()\n#2 /var/www/fog/lib/fog/processlogin.cl ass.php(57): FOGPage->__construct(’’)\n#3 [internal function]: ProcessLogin->__c onstruct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(406): ReflectionClass->new InstanceArgs(Array)\n#5 /var/www/fog/management/index.php(29): FOGBase::getClass (‘ProcessLogin’)\n#6 {main}\n thrown in /var/www/fog/lib/client/registerclient. class.php on line 100
                        [Thu Jan 26 14:35:07.054702 2017] [php7:error] [pid 24693] [client 10.62.118.222 :54653] PHP Fatal error: Uncaught Exception: Too many MACs in /var/www/fog/lib/ client/registerclient.class.php:100\nStack trace:\n#0 /var/www/fog/lib/fog/fogpa ge.class.php(2701): RegisterClient->json()\n#1 /var/www/fog/lib/fog/fogpage.clas s.php(262): FOGPage->requestClientInfo()\n#2 /var/www/fog/lib/fog/processlogin.c lass.php(57): FOGPage->construct(’’)\n#3 [internal function]: ProcessLogin-> construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(406): ReflectionClass->ne wInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(29): FOGBase::getClas s(‘ProcessLogin’)\n#6 {main}\n thrown in /var/www/fog/lib/client/registerclient .class.php on line 100
                        

                        What this is showing is there’s already a specified number of MAC addresses associated to the host.

                        I’ve modified the code base to return the error as expected instead of throwing the error into the “Fatal 500” zone.

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

                        266

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project