UNSOLVED New storage node not showing stats on dashboard

  • Just installed a fresh storage node on a new CentOS VM I spun up. The install went smoothly, but after adding it to the management interface it wouldn’t show the stats on the dashboard. If I click on it to open the details all the hardware stats show, but next to kernel it reads “A valid database connection could not be made”@@general. As far as I can tell everything is set correctly. What can I do to troubleshoot this?

  • Senior Developer

    @Shad0wguy Can you please take a screenshot of the message you see in the kernel page where is says “A valid database connection …”?

    Please take a look at /var/www/html/fog/lib/fog/config.class.php to see if the database credentials are set correctly. You can try connection to the database on your main server from your storage node using the mysql command line client:

    mysql -h x.x.x.x -u fogstorage -D fog -p

    Put in the master server’s IP instead of x.x.x.x!

    We have someone else reporting a similar issue when upgrading the storage node from 1.5.3 to 1.5.4. Possibly there is a bug/problem that we are not aware of yet. On the other hand I have done storage node installs and tests lately without running into such an issue.