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

1.5.0-RC-10 - Storage Nodes Displaying Incorrectly - "A valid database connection could not be made"

Scheduled Pinned Locked Moved Solved
Bug Reports
3
5
944
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.
  • S
    Steveo
    last edited by Sebastian Roth Jan 13, 2018, 7:55 AM Jan 13, 2018, 9:43 AM

    This issue is encountered on the main screen under storage nodes

    0_1515835945421_528630ab-c570-45c0-a840-122a6b921041-image.png

    When entering the node - all details are offset.

    0_1515836223073_16360646-f2e3-4959-b93b-7d6ccff2eef1-image.png

    I have blanked out the IP on the above screenshot. This replicated on 2 fresh installations. Am I missing something and this is a legitimate database issue or is this an interface issue?

    W 1 Reply Last reply Jan 13, 2018, 2:12 PM Reply Quote 0
    • W
      Wayne Workman @Steveo
      last edited by Wayne Workman Jan 13, 2018, 8:15 AM Jan 13, 2018, 2:12 PM

      @steveo said in 1.5.0-RC-10 - Storage Nodes Displaying Incorrectly - “A valid database connection could not be made”:

      Am I missing something and this is a legitimate database issue or is this an interface issue?

      It’s a legitimate issue, and plain enough. The storage nodes are unable to connect to the main fog database. This article has everything you need in it to get this fixed:
      https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL

      From the storage nodes, try the remote tests under the “Manually Testing MySQL” section. The fogstorage password can be found in the web gui at: web gui -> fog configuration -> fog settings -> FOG Storage Nodes -> STORAGENODE MYSQLUSER and STORAGENODE MYSQLPASS respectively.

      Using that information, and while on a storage node, you’d run a command. Say the storage user is fogstorage and the storagenode password is Password1 and the main fog server’s ip is 1.2.3.4 the command would look like this:
      mysql -u fogstorage -pPassword1 -h 1.2.3.4 -D fog
      Note that there is no space between the -p and the Password1, that is on purpose.

      We don’t know what’s exactly wrong until you run the test though. Based on if that succeeds or fails determines what we look at next.

      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/

      S 1 Reply Last reply Jan 15, 2018, 11:27 PM Reply Quote 0
      • S
        Steveo @Wayne Workman
        last edited by Jan 15, 2018, 11:27 PM

        @wayne-workman , Thank you for clarifying. After some confusion I finally managed to resolve this on my test hosts. I will now replicate the change on my original environment. (My database knowledge is to blame).

        Maybe if I ask nicely, we could request that this error be made a little more intuitive within the interface? (The error statement itself caused a slight offset within the interface, which is corrected after fixing the error)

        0_1516058585439_90491f35-d9d1-4417-9f38-b571f7b7947b-image.png
        (Again, I blanked out the IP)

        W 1 Reply Last reply Jan 16, 2018, 3:04 AM Reply Quote 0
        • W
          Wayne Workman @Steveo
          last edited by Jan 16, 2018, 3:04 AM

          @steveo Cool, let us know if you need more help.

          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 17, 2018, 8:40 PM

            Marking solved as this was not a bug, it really was a valid db connection not being able to be made. (this means the storage nodes it was asking for could not communicate to the main 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! 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
            • 1 / 1
            1 / 1
            • First post
              5/5
              Last post

            205

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project