salt-bootstrap icon indicating copy to clipboard operation
salt-bootstrap copied to clipboard

Error installing on OpenSuse 12.2

Open annabzz opened this issue 12 years ago • 8 comments

Hi, I'm trying to install Salt on OpenSuse 12.2 with bootstrap and I get the following error:

wget -O install_salt.sh https://bootstrap.saltstack.com sudo sh install_salt.sh

  • INFO: sh install_salt.sh -- Version 2014.06.30
  • INFO: System Information:
  • INFO: CPU: AuthenticAMD
  • INFO: CPU Arch: x86_64
  • INFO: OS Name: Linux
  • INFO: OS Version: 3.4.33-2.24-desktop
  • INFO: Distribution: suse 12.2
  • INFO: Installing minion
  • INFO: Found function daemons_running
  • INFO: Found function install_suse_check_services
  • ERROR: No dependencies installation function found. Exiting...

annabzz avatar Jul 21 '14 07:07 annabzz

@annabzz Is this openSUSE? not SuSE?

Is this system from a cloud provider? An ISO?

s0undt3ch avatar Jul 21 '14 15:07 s0undt3ch

Also, what's the output of the following commands:

sudo find /etc/ -name '*-release' -print -exec cat {} \;
which lsb_release && lsb_release -a

s0undt3ch avatar Jul 21 '14 18:07 s0undt3ch

The output of the commands you requested is:

sudo find /etc/ -name '*-release' -print -exec cat {} ; /etc/java/jpackage-release JPackage release 1.7 (openSUSE 12.2) for %{buildarch} /etc/SuSE-release openSUSE 12.2 (x86_64) VERSION = 12.2 CODENAME = Mantis /etc/os-release NAME=openSUSE VERSION="12.2 (Mantis)" VERSION_ID="12.2" PRETTY_NAME="openSUSE 12.2 (Mantis) (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:12.2"

which lsb_release && lsb_release -a /usr/bin/lsb_release LSB Version: n/a Distributor ID: SUSE LINUX Description: openSUSE 12.2 (x86_64) Release: 12.2 Codename: Mantis

I hope this helps! Just ask if you need something else.

annabzz avatar Jul 22 '14 08:07 annabzz

Since we're at it :smile:

sh -x bootstrap-script-sh -D

You can use https://gist.github.com/ since that content is way longer.

Thanks!

s0undt3ch avatar Jul 22 '14 08:07 s0undt3ch

I don't know if I did the right way, but this is what I got: https://gist.github.com/annabzz/dfc4bcf88704bdd6c24c

annabzz avatar Jul 22 '14 09:07 annabzz

On July 22, 2014 10:22:34 AM GMT+01:00, Anna [email protected] wrote:

I don't know if I did the right way, but this is what I got: https://gist.github.com/annabzz/dfc4bcf88704bdd6c24c


Reply to this email directly or view it on GitHub: https://github.com/saltstack/salt-bootstrap/issues/430#issuecomment-49716162

Yep! That's exactly what I was after.

Thanks! It will now be much simpler to get this fixed. Pedro Algarvio @ Phone

s0undt3ch avatar Jul 22 '14 09:07 s0undt3ch

You're welcome! But not so fast, it may be our system's fault. Sorry if that's the case. :)

annabzz avatar Jul 22 '14 10:07 annabzz

The issue is that lsb_release says this system is SUSE and not openSUSE. we must add some additional checks to separate both of them.

If lsb_release was not available, the system would be properly detected.

s0undt3ch avatar Jul 22 '14 10:07 s0undt3ch