storage node is offline
-
fog version: 1.5.7
OS Version : centos 7.7.1908storage node is offline after fresh install.
during the installation:- Creating SSL Private Key…Failed!
/root/git/fogproject/bin/error_logs/fog_error_1.5.7.log
shows:There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [XX]:State or Province Name (full name) []:Locality Name (eg, city) [Default City]:Organization Name (eg, company) [Default Company Ltd]:Organizational Unit Name (eg, section) []:Common Name (eg, your name or your server's hostname) []:Email Address []:Generating RSA private key, 4096 bit long modulus ....................................................................................................................................++ ........................................................................................................................................................................................................................................................++ e is 65537 (0x10001) error on line 7 of /opt/fog/snapins/ssl//req.cnf 140463598733200:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:conf_def.c:345:line 7
/opt/fog/.fogsettings is missing also
-
@oraniko said in storage node is offline:
error on line 7 of /opt/fog/snapins/ssl//req.cnf 140463598733200:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:conf_def.c:345:line 7
Please run
cat /opt/fog/snapins/ssl//req.cnf
and post full output here. -
@Sebastian-Roth said in storage node is offline:
cat /opt/fog/snapins/ssl//req.cnf
[req]
distinguished_name = req_distinguished_name
req_extensions = v3_req
prompt = yes
[req_distinguished_name]
CN = 132.70.32.4
132.70.32.4
[v3_req]
subjectAltName = @alt_names
[alt_names]
DNS.1 = 132.70.32.4
132.70.32.4
DNS.2 = centos7.esc.biu.ac.il -
@oraniko Ok, interesting that it seems to double pipe the IP address to the cnf file. I will check out the scripts to see what is going wrong.
-
@oraniko Please run the command
ip -4 addr show
on your server console and post the full output here in the forums. -
@Sebastian-Roth said in storage node is offline:
ip -4 addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
inet 132.70.32.4/32 brd 132.70.32.4 scope global noprefixroute ens192
valid_lft forever preferred_lft forever
inet 132.70.32.4/21 brd 132.70.39.255 scope global noprefixroute dynamic ens192
valid_lft 9239sec preferred_lft 9239sec -
@oraniko Why do you have two IP addresses on the same interface configured. I see it’s different subnet masks but that doesn’t make sense to me either?!
-
i don’t know why i had 2 ip address, i fixed that and now i have only 1, what should i do now?
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:5672:bb brd ff:ff:ff:ff:ff:ff
inet 132.70.32.4/32 brd 132.70.32.4 scope global noprefixroute ens192
valid_lft forever preferred_lft forever
inet6 fe80::250:56ff:feab:72bb/64 scope link
valid_lft forever preferred_lft forever -
@oraniko You’d rerun the installer using parameter to recreate the server Key and certificate:
./installfog.sh -K
-
i rerun the installer and now i see the storage node but during the installation i see:
- Setting up and starting NFS Server…Failed!
what now?
-
@oraniko Just as you have posted the last 10 lines of the error log in your initial message, take a look at this again und post here…
-
thanks, i figure up what’s the problem, i’ve add corrupted lines on /etc/fstab.
thanks for everything.
everything is working now.