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

    Task error after IP address change

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    20
    2.7k
    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.
    • Tom ElliottT
      Tom Elliott @martyassembly
      last edited by

      @martyassembly may seem a bit odd but exactly what error are you getting?

      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

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

        @Tom-Elliott I see now the error but now what version of fog are you running?

        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

        M 1 Reply Last reply Reply Quote 0
        • M
          martyassembly @Tom Elliott
          last edited by

          @Tom-Elliott I am running Trunk via Git - Running Version: 7853

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

            @martyassembly would you mind updating?

            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

            M 1 Reply Last reply Reply Quote 0
            • M
              martyassembly @Tom Elliott
              last edited by

              @Tom-Elliott Sure, Running Version: 7923 - same error

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

                @martyassembly Likely you need to edit the node so it’s got the updated IP address for the node. I’d also confirm that the global settings web_host setting is correct as well.

                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

                M 1 Reply Last reply Reply Quote 0
                • M
                  martyassembly @Tom Elliott
                  last edited by

                  @Tom-Elliott
                  Ok thanks for the info. Is it possible to clarify in the context of this, what do you mean by ‘node’ ?
                  I have queried the DB with;

                  'use fog; SELECT * FROM globalSettings;' | grep HOST
                  

                  which returned;

                  1	FOG_TFTP_HOST	Hostname or IP address of the TFTP Server.	10.10.10.20	TFTP Server
                  19	FOG_WEB_HOST	This setting defines the hostname or ip address of the web server used with fog.	10.10.10.20	Web Server
                  

                  I have also ensured that the server has been updated with the correct IP address (this is supplied via a DHCP reservation)

                  ifconfig
                  eth0      Link encap:Ethernet  HWaddr **:**:**:**:**:**  
                            inet addr:10.10.10.20  Bcast:10.10.10.255  Mask:255.255.255.0
                  

                  Is there somewhere else to check to ensure that I have updated every where I need to?

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

                    The node is under nfsGroupMembers table.

                    The node is where all the data is retained as far as images.

                    My guess, the original setup was using the 192 ip address, and this node never got updated.

                    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

                    M 2 Replies Last reply Reply Quote 0
                    • M
                      martyassembly @Tom Elliott
                      last edited by

                      @Tom-Elliott Ah great yes I can see that IP in the table, is there a way to edit that entry in the table via the web-gui or is that something I need to change via mysql? 🙂 thanks for your help!

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

                        @martyassembly It will be under the GUI.

                        Go to Storage Management->All Storage Nodes->Your relevant storage node

                        It should be near the top of the page.

                        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
                        • M
                          martyassembly @Tom Elliott
                          last edited by martyassembly

                          @Tom-Elliott
                          I updated that manually and away we go!

                          Not sure this will come in handy for anyone but in the interest of keeping all this together

                          After changing my fogserver IP from 192.168.168.3 to 10.10.10.20 I got this error when attempting to deploy an image to a host;

                          Failed to create deployment tasking for the following hosts
                          Type: 8, File: /var/www/html/fog/lib/fog/fogmanagercontroller.class.php, Line: 59, Message: Undefined variable: whereArray, Host: 192.168.168.3, Username: fog
                          

                          I ran this in terminal of my fog server;

                          sudo mysql -u root -p
                          use fog
                          UPDATE nfsGroupMembers
                          SET ngmHostname = '10.10.10.20'
                          WHERE ngmID = 1;
                          

                          And that has fixed it.

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

                            @martyassembly ngmHostname is just the address for the node. You can set this in the web interface.

                            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/

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              martyassembly @Wayne Workman
                              last edited by

                              @Wayne-Workman
                              Great, any chance you could direct me as to where that is just for future reference…

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

                                @martyassembly Yes.
                                Web interface -> Storage Management -> [click node name] -> IP Address

                                That’s it. That field is what is stored into nfsGroupMembers, along with all those other fields.

                                For normal FOG operations, you don’t need to access CLI or MySQL. Of course it’s great that you can with ease and know how, but you should use the web interface where possible.

                                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/

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  martyassembly @Wayne Workman
                                  last edited by

                                  @Wayne-Workman
                                  Totally if I had worked out where it was then I would of changed it in the web interface as per your note here!

                                  Anyway thanks for your help!

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

                                  158

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.4k

                                  Posts
                                  Copyright © 2012-2024 FOG Project