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

    1.3.0-RC-13 Can't import Hosts

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    32
    5.9k
    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.
    • F
      FlareImp @Wayne Workman
      last edited by

      @Wayne-Workman Here is the Log from one of the clients, I had to manully change the Host Name and add it to the domain. I changed the server IP and the MAC of the client for security reasons.

      9/2/2016 11:38 AM FOG::HostnameChanger General Error Returned:
      9/2/2016 11:38 AM FOG::HostnameChanger #!er:No Host Found
      9/2/2016 11:38 AM FOG::HostnameChanger Host name was not found in the database.
      9/2/2016 11:38 AM FOG::UserCleanup Starting user cleanup process…
      9/2/2016 11:38 AM FOG::UserCleanup Attempting to connect to fog server…
      9/2/2016 11:38 AM FOG::UserCleanup General Error Returned:
      9/2/2016 11:38 AM FOG::UserCleanup #!er:No Host Found
      9/2/2016 11:39 AM FOG::DirCleaner Starting directory cleaning process…
      9/2/2016 11:39 AM FOG::DirCleaner Attempting to connect to fog server…
      9/2/2016 11:39 AM FOG::DirCleaner Unknown error, module will exit.
      9/2/2016 11:39 AM FOG::GreenFog Starting green fog…
      9/2/2016 11:39 AM FOG::GreenFog Attempting to connect to fog server…
      9/2/2016 11:39 AM FOG::GreenFog General Error Returned:
      9/2/2016 11:39 AM FOG::GreenFog #!er:No Host Found
      9/2/2016 11:40 AM FOG::MODDebug Reading config settings…
      9/2/2016 11:40 AM FOG::MODDebug Reading of config settings passed.
      9/2/2016 11:40 AM FOG::MODDebug Starting Core processing…
      9/2/2016 11:40 AM FOG::MODDebug Operating System ID: 6
      9/2/2016 11:40 AM FOG::MODDebug Operating System Minor: 1
      9/2/2016 11:40 AM FOG::MODDebug MAC ID 00:00:00:00:00:00
      9/2/2016 11:40 AM FOG::MODDebug MAC POST String: 00:00:00:00:00:00
      9/2/2016 11:40 AM FOG::MODDebug A user is currently logged in
      9/2/2016 11:40 AM FOG::MODDebug Username: Master\Administrator
      9/2/2016 11:40 AM FOG::MODDebug Hostname: Master
      9/2/2016 11:40 AM FOG::MODDebug Attempting to open connect to: http://1.1.1.1/fog/service/debug.php
      9/2/2016 11:40 AM FOG::MODDebug Server responded with: Hello FOG Client
      9/2/2016 11:40 AM FOG::MODDebug Module has finished work and will now exit.
      9/2/2016 11:46 AM FOG::SnapinClient Attempting to connect to fog server…
      9/2/2016 11:46 AM FOG::SnapinClient General Error Returned:
      9/2/2016 11:46 AM FOG::SnapinClient #!er:No Host Found
      9/2/2016 11:46 AM FOG::ClientUpdater Attempting to connect to fog server…
      9/2/2016 11:46 AM FOG::ClientUpdater Unknown error, module will exit.
      9/2/2016 11:46 AM FOG::ClientUpdater Client update will be applied during next service startup.
      9/2/2016 11:46 AM FOG::ClientUpdater Client update process complete, exiting…
      9/2/2016 11:51 AM FOG::SnapinClient Attempting to connect to fog server…
      9/2/2016 11:51 AM FOG::SnapinClient General Error Returned:
      9/2/2016 11:51 AM FOG::SnapinClient #!er:No Host Found

      Wayne WorkmanW 2 Replies Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @FlareImp
        last edited by

        @FlareImp said in 1.3.0-RC-13 Can't import Hosts:

        #!er:No Host Found

        That’s the issue. Take this host’s MAC and use it to search in the web interface’s Host Management search box. See what comes up.

        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/

        Tom ElliottT F 2 Replies Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @Wayne Workman
          last edited by

          @Wayne-Workman Based on the error, I’ll guess nothing comes up.

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

            Update to RC-14 and importing hosts will be fixed.

            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
            • F
              FlareImp @Wayne Workman
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • F
                FlareImp
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @FlareImp
                  last edited by

                  @FlareImp I can see the deleted messages, Just to clairify, is your host import working now?

                  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
                  • F
                    FlareImp
                    last edited by

                    I updated to RC-14, tried to import my hosts, its still showing 0 across the board. I then reinstalled Ubuntu, installed Fog RC-14, imported my hosts, 0 were imported.

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @FlareImp
                      last edited by

                      @FlareImp I apologize for not looking at the file you sent me. I’m going to do that today. Something has got to be wrong with 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/

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        FlareImp @Wayne Workman
                        last edited by

                        @Wayne-Workman It’s the same file format I have used for my other fog servers. I have even tried using a file from another site that I know works.

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @FlareImp
                          last edited by

                          @FlareImp Are you sure you’re on rc-14? What does the cloud say in the top left of the web gui?

                          Also, can you please run the following two commands to completely clean out the fog web directory and then immediately re-run the rc-14 installer please - and then try again?
                          rm -rf /var/www/fog
                          rm -rf /var/www/html/fog
                          Then re-run installer.

                          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
                          • F
                            FlareImp
                            last edited by

                            The cloud says:
                            Tue Oct 18, 2016 15:25 pm
                            Running Version 1.3.0-RC-14
                            SVN Revision: 5974

                            I will give those commands a try in the next hour and let you know the outcome.

                            1 Reply Last reply Reply Quote 0
                            • F
                              FlareImp
                              last edited by

                              I ran the two commands and then ran the installer. Afterwards I rebooted the server and then tried to import the hosts again with the same result.

                              Total Rows 0
                              Successful Hosts 0
                              Failed Hosts 0
                              Errors

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

                                @Tom-Elliott The import was working in RC-11.

                                I have confirmed that the import file that @FlareImp supplied me imported successfully in this commit:

                                https://github.com/FOGProject/fogproject/commit/d6cff6cfc2272cbde7764217292715129fc8c2a6

                                And that the issue became present in this commit:

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

                                And the issue remained present in RC-12, RC-13, RC-14, and the present working-RC-15 branch.

                                His CSV file is just two columns of data that are not quoted at all, just separated by a comma. First column is a MAC address, the second column is hostname.

                                I’ve replicated the format with my computers here at home for you to test with, here it is:
                                0_1476832244270_host_export.csv

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

                                  Added better checking and allowing csv’s to contain equal to field count or less than from the csv.

                                  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

                                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @Tom Elliott
                                    last edited by

                                    @Tom-Elliott I just tried working-RC-15 version 51, its not importing the file I made, nor the file that @FlareImp gave me.

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

                                      Sorry had flipped check. I meant to check if the comma fields was greater than what was expected, but was checking that the comma fields was less than or equal to.

                                      This is fixed for sure now.

                                      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
                                      • Wayne WorkmanW
                                        Wayne Workman
                                        last edited by

                                        Confirmed fixed in rc-15.

                                        @FlareImp you can either wait for RC-15 to be released, or you can message me for instructions on getting rc-15 before release - which may or may not be ideal at the moment, but I can confirm that this particular problem is resolved.

                                        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/

                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          FlareImp @Wayne Workman
                                          last edited by

                                          @Wayne-Workman Cool, I’m just glad a fix was found, has been driving me nuts! lol

                                          Do you have an idea when RC-15 will go live?

                                          Thanks for all your help on this guys, I really appreciate all that hard work everyone puts into helping us out!

                                          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                          • Wayne WorkmanW
                                            Wayne Workman @FlareImp
                                            last edited by

                                            @FlareImp said in 1.3.0-RC-13 Can't import Hosts:

                                            Do you have an idea when RC-15 will go live?

                                            No idea, but if I had to guess, probably the next weekend.

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

                                            234

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.4k

                                            Posts
                                            Copyright © 2012-2024 FOG Project