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

    Storage node disk usage missing

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    13
    3.0k
    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.
    • george1421G
      george1421 Moderator
      last edited by

      you have me a bit confused on where your original issue is. You are linking settings that should not be linked.

      First lets review your .fogsettings file (I don’t need to see it).

      What I need you to do is confirm a few things.

      1. You can log into mysql using the user id and passwords found in snmysqluser and snmysqlpass. These values need to be correct or fog will fall on its face. You just need to log into mysql using mysql -u <snmysqluser> -p and then enter snmysqlpass for the password. If that works then go on to the next step.
      2. Confirm that you can login to the FOG server linux OS using the user account referenced by user id fog and the password listed in the field password in /opt/fog/.fogsettings file.

      If those are set correctly then rerun the installer.

      After that is done look at the storage node setting for this fog server. Ensure that Management Username == fog and Management Password matches the password found in the password field in /opt/fog/.fogsettings.

      Don’t edit any other files.

      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
      • H
        Hugo
        last edited by

        Yeah sorry, it’s clear for me because of the time I spent on trying to solve it ahah.

        The original issue is the blank section for “Storage Node Disk Usage” on the dashboard.

        So :

        1. I can log into mysql with root user (with no password as set by default when installing) and with fogstorage user (with STORAGENODE MYSQLPASS)

        2. I can log on my FOG Server linux OS with fog account and password of .fogsettings.

        Then comes the second problem : The script always failed on “Backing up database” when I rerun it…

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

          @hugo said in Storage node disk usage missing:

          whereas my proxy settings are correctly set in wgetrc file and in bashrc environment variables (with “export” command)

          Ok lets focus on this statement then.

          So your fog server is behind a proxy server right?

          If you key in the following command, please post the results here: set |grep proxy

          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
          • H
            Hugo
            last edited by

            Yes that’s right, here’s what i got :

            0_1501261331027_set.JPG

            I can’t disclose the IP’s but the three lines are the same -> IP and Port of the proxy server

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

              @hugo OK I wanted to make sure you had the no_proxy in there. Typically you would put your proxy settings in like this

              export http_proxy="http://<IP_Addr>:<Port>"
              export https_proxy="http://<IP_Addr>:<Port>"
              export ftp_proxy="http://<IP_Addr>:<Port>"
              no_proxy="127.0.0.1, <fog_server_ip>"
              

              For the proxy ones you need to ensure you have http:// in front of the proxy server address, and for no_proxy the loopback ip address and the network interface for the FOG server.

              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!

              H 1 Reply Last reply Reply Quote 0
              • H
                Hugo @george1421
                last edited by

                @george1421 Yes the problem is that I have no longer access to the server until monday morning… I did this config on a VM to post you the result but that’s not the real server (http:// is set on the good one).

                So I will add the fog_server_ip for the no_proxy variable on Monday and i’ll keep you in touch 😉

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

                  can we see a picture of the problem please?

                  Can you also include the Information as it’s stored on the GUI? Proxy is not used to get storage node information.

                  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

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

                    @tom-elliott I don’t have access to the server now but my problem is exactly the same as this post, only difference is that in my case that’s a fresh install and not an upgrade :

                    0_1501266720939_Capture d’écran 2017-07-28 à 20.30.03.png

                    What do you mean by Information stored on the GUI ?

                    And we talked about proxy because of the “Backing up database” failed that I have when trying to rerun the script.

                    1 Reply Last reply Reply Quote 0
                    • H
                      Hugo
                      last edited by

                      @george1421 @Tom-Elliott Hi guys, just successfully reran the script after adding the fog_server_ip for the $no_proxy variable.

                      So I’m now on 1.5.0-RC-6 but still the same problem, no Sotrage node disk usage on Dashboard …

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

                        @hugo this is the same node that you access the GUI from? Or is GUI different? I ask because I added code that switched from always using http to access node information. If the nodes are all setup without https but you access the GUI with https it would have won’t even display the node in the list. Otherwise I don’t quite now for the moment.

                        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

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

                          @tom-elliott That’s my master server so yes, this is the same node that I access the GUI from.

                          1 Reply Last reply Reply Quote 0
                          • H
                            Hugo
                            last edited by

                            Ok I don’t know why, but creating a new user on the GUI made the disk usage come back !

                            Maybe it has updated the db ? Really don’t know but IT WORKS ! You can mark it as “Solved”.

                            Thanks for your help 😉

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

                            137

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.4k

                            Posts
                            Copyright © 2012-2024 FOG Project