Error installing Hopsworks on-promise with centos 7

Hi,

When I run the installation I got the error below. I think that is because I’ve installed docker before installing hopsworks, and I am wondering about the way to skip the docker installer. (Error is “Expected process to exit with [0], but received ‘1’”, but It’s caused by “Nothing to do”)

p.s. I got another error when the hopsworks installer install the docker (‘hops::install’)

====================================LOG====================================
FATAL: Mixlib::ShellOut::ShellCommandFailed: bash[install_pkgs] (hops::docker line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1’

---- Begin output of “bash” “/tmp/chef-script20201209-72874-1pfaz0h” ----
STDOUT: Loaded plugins: fastestmirror
Examining container-selinux-2.119.1-1.c57a6f9.el7.noarch.rpm: 2:container-selinux-2.119.1-1.c57a6f9.el7.noarch
container-selinux-2.119.1-1.c57a6f9.el7.noarch.rpm: does not update installed package.
Examining containerd.io-1.2.13-3.1.el7.x86_64.rpm: containerd.io-1.2.13-3.1.el7.x86_64
containerd.io-1.2.13-3.1.el7.x86_64.rpm: does not update installed package.
Examining docker-ce-19.03.8-3.el7.x86_64.rpm: 3:docker-ce-19.03.8-3.el7.x86_64
docker-ce-19.03.8-3.el7.x86_64.rpm: does not update installed package.
Examining docker-ce-cli-19.03.8-3.el7.x86_64.rpm: 1:docker-ce-cli-19.03.8-3.el7.x86_64
docker-ce-cli-19.03.8-3.el7.x86_64.rpm: does not update installed package.
STDERR: Error: Nothing to do
---- End output of “bash” “/tmp/chef-script20201209-72874-1pfaz0h” ----
Ran “bash” “/tmp/chef-script20201209-72874-1pfaz0h” returned 1

ERROR [2020-12-09 08:14:41,248] se.kth.karamel.backend.machines.SshMachine: -------------------------------------------------------------------------------

ERROR [2020-12-09 08:14:41,248] se.kth.karamel.backend.machines.SshMachine: End Log for Failed: ‘hops::install’ ‘10.124.0.242’

Hello,

It appears like there is a bug in our installation scripts that make the installer fail if packages are already installed on CentOS. As a workaround until we have fixed this, would you be able to uninstall docker and try again?