Storage Nodes not showing in GUI
-
Something must be wrong in the DB. Get into MySQL via the CLI interface and run these queries, post the output here, use the code wrapping tool, it looks like this:
</>
Change the passwords in the output before you post it here, to something like PASSWORD.select * from nfsGroups; select * from nfsGroupMembers;
-
+------+--------------+------------------------------+ | ngID | ngName | ngDesc | +------+--------------+------------------------------+ | 1 | default | Auto generated fog nfs group | | 2 | troubleshoot | | +------+--------------+------------------------------+ 2 rows in set (0.01 sec) +-------+---------------+----------------------+-----------------+------------+---------------------+----------------------+------------+---------------+------------------+--------------+---------------+---------------+-------------------+---------+---------+--------+--------------+-----------------+------------+ | ngmID | ngmMemberName | ngmMemberDescription | ngmIsMasterNode | ngmGroupID | ngmRootPath | ngmSSLPath | ngmFTPPath | ngmMaxBitrate | ngmSnapinPath | ngmIsEnabled | ngmHostname | ngmMaxClients | ngmBandwidthLimit | ngmUser | ngmPass | ngmKey | ngmInterface | ngmGraphEnabled | ngmWebroot | +-------+---------------+----------------------+-----------------+------------+---------------------+----------------------+------------+---------------+------------------+--------------+---------------+---------------+-------------------+---------+---------+--------+--------------+-----------------+------------+ | 3 | media | | 1 | 1 | /mnt/pool/it/images | /opt/fog/snapins/ssl | | | /opt/fog/snapins | 1 | 10.228.255.10 | 100 | 0 | fog | * | eth0 | | /fog | | 4 | troubleshot | | 1 | 2 | /mnt/pool/it/images | /opt/fog/snapins/ssl | | | /opt/fog/snapins | 1 | 10.228.255.10 | 100 | 0 | fog | ****** | | eth0 | | /fog | +-------+---------------+----------------------+-----------------+------------+---------------------+----------------------+------------+---------------+------------------+--------------+---------------+---------------+-------------------+---------+---------+--------+--------------+-----------------+------------+ 2 rows in set (0.00 sec)
Mod edited to use code box.
-
Are all your nodes updated to the same version? What do you mean not showing in the GUI? Under the dashboard page?
-
We were not aware that we would also have to update storage nodes, how would we go about fixing that issue?
-
@SbrewerBAV Would you select this page again, and then review the tail of the apache error log to see if there is anything of help there?
I’ve seen FOG do this if there is an error on the page or information coming from the database.
-
@SbrewerBAV said in Storage Nodes not showing in GUI:
We were not aware that we would also have to update storage nodes, how would we go about fixing that issue?
You update the storage nodes exactly the same way you updated the main server - with the latest fog installer. It’s the same steps.
-
@george1421 There are no errors that pop up when moving to the storage node space, im told when they went to change a setting on the storage node and they clicked save that was when it disappeared.(were updating the FTP path)
-
I’d really appreciate if you’re still around hitting me up in chat.
I can’t see WHY this would be happening and think remote session (if possible) or at least real time feedback would be really good.
-
Remoted in today.
Found this is actually an unknown bug until now.
@SbrewerBAV uses a jailed FTP system and the ftppath was adjusted to use
/
In the storage node, when a path was being received/set to the storage node, I was using the php command
rtrim
to remove the right side trailing/
if they were present, so I could present the path in a nicer method. This was removing the/
as it was the only one present. As the imagepath and ftppath are required fields, it was returning the nodes as if they were invalid.I’ve updated @SbrewerBAV code base with a quick patch to fix this and have addressed this potential issue for the working-1.3.3 branch.
-
@sbrewerbav said in Storage Nodes not showing in GUI:
@george1421 There are no errors that pop up when moving to the storage node space, im told when they went to change a setting on the storage node and they clicked save that was when it disappeared.(were updating the FTP path)
Same case here. I just update and the node disappear.
-
@doubleailes [Moderator note] Please start your own thread because this thread is over 8 months old and I’m sure your computing environment is not the same as the OP of this thread. In your thread, please include what version of FOG you are using on both the master node and storage node as well as what OS is used on the master node and storage node(s)