Storage Node installation fails
-
Also, when I try installing dhcp manually:
[root@fog-node bin]# dnf install dhcp -y Last metadata expiration check performed 0:20:28 ago on Fri Jan 29 19:22:21 2016. Package dhcp-compat-12:4.3.3-8.P1.fc23.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! [root@fog-node bin]# ```
-
Additionally,
./installfog.sh -X
does not work in the storage node installation. when DHCP failed to be verified, the installer exited instead of continuing. -
The remi repo also was not installed by the installer during the storage node installation.
-
I’ve found I have the same issue when installing as a FOG Storage Node onto Fedora 22.
Last message in the error log is “package dhcp is not installed”
Cheers,
-
In the error.log it says:
... Package dhcp-compat-12:4.3.3-8.P1.fc23.x86_64 is already installed, skipping. ...
According to this the package is only of temporary existence:
This package only exists to help transition dhcp users to the new
package split (dhcp -> dhcp & dhcrelay).
It will be removed after one distribution release cycle, please
do not reference it or depend on it in any way.Seams like this was introduced in Fedora 22. I am wondering why we didn’t hit this earlier?! Does removing dhcp-compat before running the installer help?
-
@Sebastian-Roth said:
Does removing dhcp-compat before running the installer help?
I’ll find out tonight.
-
I checked my error logs and it lists the same:
"Package dhcp-compat-12:4.3.2-7.fc22.x86_64 is already installed, skipping."
But when going to remove It with dnf says I don’t have it installed.
I’m not even sure why it is trying to install DHCP when I’m trying to set it up as a storage node?
Cheers,
-
@RipAU @Developers I’ve created a fix for this, and requested it to be merged into fog. The pull request is here, you can see the differences there as well if you don’t want to wait. https://github.com/FOGProject/fogproject/pull/81
-
@Wayne-Workman Perfect, I’ll give it a shot when it pops into the SVN.
Thanks again.
-
@RipAU It’s just now there. give it a try?
-
@Wayne-Workman Yep seemed to work. Just finished installing/configuring. I’ll add this to the fog and see how it goes
Thanks guys. -
@Wayne-Workman I am not really sure what line 498 does? Can you explain?
497: if [[ ! -z $OSVersion ]]; then 498: if [ "$OSVersion" -eq "$OSVersion" ] >>$workingdir/error_logs/fog_error_${version}.log 2>&1; then 499: if [[ $OSVersion -ge 22 ]]; then
-
@Sebastian-Roth it’s a check to make sure that $OSVersion contains an integer value. When you compare a variable that has non-integers with
-eq
, it fails and comes back with “Integer expression expected”. -
@Wayne-Workman Please check the code now? I updated it to actually check the variables and return more appropriately.
-
Any status on this?
-
@Tom-Elliott I installed in storage node mode at home last week and it worked - but I had to manually get the ftp credentials from the storage node’s .fogsettings file and then plug those into the main server.
I don’t remember exactly what but I had to do some messing around to get replication to start - but I think it was minor and my fault concerning that. I haven’t tried it any more recently than mid-last week I think.