Storage Node installation fails
-
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.