Ubuntu 14.04 Fog 1.20 updated to latest svn
-
Hi,
I’ve updated to the latest SVN and now have issues with the master storage node, the only one i use at the moment
It doesn’t actually show up on the main graph
I’ve tried deleting and recreating no luck
When I try to Quick image I get
Couldn’t find a storage node (with the right ip)private static function init_setting() { define('TFTP_HOST', "192.168.4.22"); define('TFTP_FTP_USERNAME', "fog"); define('TFTP_FTP_PASSWORD', "68c364"); define('TFTP_PXE_KERNEL_DIR', '/var/www/html/fog/service/ipxe/'); define('PXE_KERNEL', 'bzImage'); define('PXE_KERNEL_RAMDISK',127000); define('USE_SLOPPY_NAME_LOOKUPS',true); define('MEMTEST_KERNEL', 'memtest.bin'); define('PXE_IMAGE', 'init.xz'); define('PXE_IMAGE_DNSADDRESS', ""); define('STORAGE_HOST', "192.168.4.22"); define('STORAGE_FTP_USERNAME', "fog"); define('STORAGE_FTP_PASSWORD', "68c364"); define('STORAGE_DATADIR', '/images/'); define('STORAGE_DATADIR_UPLOAD', '/images/dev/'); define('STORAGE_BANDWIDTHPATH', '/fog/status/bandwidth.php'); define('UPLOADRESIZEPCT',5); define('WEB_HOST', "192.168.4.22"); define('WOL_HOST', "192.168.4.22"); define('WOL_PATH', '/fog/wol/wol.php'); define('WOL_INTERFACE', "eth0"); define('SNAPINDIR', "/opt/fog/snapins/"); define('QUEUESIZE', '10'); define('CHECKIN_TIMEOUT',600); define('USER_MINPASSLENGTH',4); define('USER_VALIDPASSCHARS', '1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_()^!#-'); define('NFS_ETH_MONITOR', "eth0"); define('UDPCAST_INTERFACE', "eth0"); define('UDPCAST_STARTINGPORT', 63100 ); // Must be an even number! recommended between 49152 to 65535 define('FOG_MULTICAST_MAX_SESSIONS',64); define('FOG_JPGRAPH_VERSION', '2.3'); define('FOG_REPORT_DIR', './reports/'); define('FOG_UPLOADIGNOREPAGEHIBER',true); define('FOG_DONATE_MINING', "0");
EDIT:
I’ve noticed just now the settings don’t have a password set for storageftp user, not sure if that’s normal.
One last thing I don’t understand
FOG_STORAGENODE_MYSQLUSER is fogstorage
where can I find the password for this, or how to test if working?Created by the FOG Installer
Version:
Install time: Thu 23 Jul 2015 07:38:18 AEST
ipaddress=“192.168.4.22”;
interface=“eth0”;
routeraddress=“# option routers x.x.x.x;”;
plainrouter=“”;
dnsaddress=“# option domain-name-servers x.x.x.x; “;
dnsbootimage=””;
password=‘68c364’;
osid=“2”;
osname=“Debian”;
dodhcp=“n”;
bldhcp=“0”;
installtype=“N”;
snmysqluser=“”
snmysqlpass=‘pass’;
snmysqlhost=“”;
installlang=“0”;
donate=“0”;
storageLocation=“/images”;
mysql_conntype=“MYSQLI_ASYNC”;
fogupdateloaded=“1”;
storageftpuser=“”;
storageftppass=‘’;
docroot=“/var/www/html/”;
webroot=“fog/”;
caCreated=“yes”; -
@Pikmin said:
I’ve noticed just now the settings don’t have a password set for storageftp user, not sure if that’s normal.
One last thing I don’t understandYou FTP password must be the unix fog user password.
-
ch3i, thanks for clearing that part up. I’ve checked and fog unix pass is 68c364
Would I use the same password in the FOG Storage Nodes?
FOG_STORAGENODE_MYSQLUSER = fogstorage
FOG_STORAGENODE_MYSQLPASS = 68c364Management username and password under Nodes is just fog and password?
When I try to quick image I get this:
http://192.168.4.22/fog/service/ipxe/boot.php ... ok Could not find a Storage Node Is there one enabled within this Storage Group http://192.168.4.22/fog/service/ipxe/boot.php ... ok http://192.168.4.22/fog/service/ipxe/g.png ... ok```
-
@Pikmin Do you have separate storage nodes?
The value you see for the FOG_STORAGENODE_MYSQLPASS is NOT the same as the fog unix password, or the storage node’s fog user password.
IT is the password you use when installing a node and connecting to the “master” server.
-
Thanks Tom,
Is fogstorage meant to be a separate unix account used exclusively for connecting nodes together?
I would love to know how to fix this instead of reinstalling -
@Pikmin said:
Thanks Tom,
Is fogstorage meant to be a separate unix account used exclusively for connecting nodes together?
I would love to know how to fix this instead of reinstallingFOG_STORAGENODE_MYSQLPASS is not a unix password, it’s stored in MySQL database (in nfsGroupMembers table), has said Tom, it’s only to communicate between FOG node storage.
Ensure that in you FOG settings (in web UI) the FOG_TFTP_FTP_PASSWORD has the password68c364
. -
Just adding to what @ch3i has told you, you might want to look through this: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP#Credentials_.2F_Passwords
-
@Tom-Elliott said:
@Pikmin Do you have separate storage nodes?
No, I don’t just the master which is on the fog server
@ch3i said:
FOG_STORAGENODE_MYSQLPASS is not a unix password, it’s stored in MySQL database (in nfsGroupMembers table), has said Tom, it’s only to communicate between FOG node storage.
Ensure that in you FOG settings (in web UI) the FOG_TFTP_FTP_PASSWORD has the password68c364
.
The password in there is already set to thatThanks so much, I kinda did check the tables in sql but was looking for one called users
+---------+---------+ | ngmUser | ngmPass | +---------+---------+ | fog | 68c364 | +---------+---------+
In the FOG_STORAGENODE_MYSQLUSER I had fogstorage, but shouldn’t that be just fog? I have tried with fog, same thing.
This is what the other place looks like
Thank you both for helping out, much appreciated