UNSOLVED

hinch1

updated

11 years ago

H

hinch1

9 Posts

0

22290

March 11th, 2016 03:00

v2 .deb gateway installer really broke

So just downloaded v2 and attempted to install it on our test machines.  It appears to die on stage one when trying to install via the gateway .deb on ubuntu.

root@scale1:~# dpkg -i /mnt/odrive/Set\ up\ File/Install\ ISO/Scale\ IO\ 2/ScaleIO_2.0.0_Gateway_for_Linux_Download/emc-scaleio-gateway_2.0-5014.0_amd64.deb

Selecting previously unselected package emc-scaleio-gateway.

(Reading database ... 62591 files and directories currently installed.)

Preparing to unpack .../emc-scaleio-gateway_2.0-5014.0_amd64.deb ...

validating java version

/usr/bin/java

found the Java executable in PATH

applying pattern "openjdk version"

version 18

java platform that was found : OpenJDK 64-Bit Server VM (build 25.72-b15, mixed mode)

Running pre installation verifications

/usr/bin/keytool

found the keytool executable in PATH

/var/lib/dpkg/tmp.ci/preinst: line 113: rpm: command not found

found suffice RAM memory : 16405552

Unpacking emc-scaleio-gateway (2.0-5014.0) ...

Setting up emc-scaleio-gateway (2.0-5014.0) ...

Running post install operations (simulated rpm,install)

/usr/bin/java

/var/lib/dpkg/info/emc-scaleio-gateway.postinst: line 854: strings: command not found

/usr/bin/keytool

keytool error: java.lang.Exception: Key password must be at least 6 characters

Missing argument for option: password

Usage: SioGWTool -- [ ]

Parameters:

                     Command to be executed

                  Possible parameters of the command

Commands:

--help                          Shows a list of the available commands

--reset_password                Resets the GW admin password

--change_lb_passphrase          Changes existing LockBox passphrase or creates a new LockBox

--set_mdm_credentials           Saves MDM user credentials in a LockBox. If explicitly noted, first creates a LockBox

--register_esrs_gateway         Register new esrs gateway

--unregister_esrs_gateway       UnRegister from all esrs gateways

--remove_esrs_gateway           Remove specific esrs gateway

--set_connectin_ip              Set the esrs connect-in ip

--check_esrs_connectivity       Check connection to a registered esrs gateway (probing will be done throughout the servers to find one that can be connected

--update_ssh_key                Updates the SSH key used for the communication via SSH (which is an alternative for credentials)

--remove_ssh_key                Removes the SSH key used for the communication via SSH (which is an alternative for credentials)

--set_ldap_properties           Saves the LDAP properties in a LockBox. If explicitly noted, first creates a LockBox

Note: To show a list of internal commands use --help --internal

keytool error: java.lang.Exception: Keystore file does not exist: /opt/emc/scaleio/gateway/conf/certificates/.keystore

Installing the web server service/process to run as root(default).

To run as a different user, define the variable GATEWAY_RUN_USER.

chmod: cannot access â/opt/emc/scaleio/gateway/conf/certificates/.keystoreâ: No such file or directory

2

Creating service file /etc/init/scaleio-gateway.conf

Creating service file /opt/emc/scaleio/gateway/bin/scaleio-gateway-wd.bash

gateway user  : root

Creating service file /etc/init.d/scaleio-gateway

4

Adding system startup for /etc/init.d/scaleio-gateway ...

   /etc/rc0.d/K20scaleio-gateway -> ../init.d/scaleio-gateway

   /etc/rc1.d/K20scaleio-gateway -> ../init.d/scaleio-gateway

   /etc/rc6.d/K20scaleio-gateway -> ../init.d/scaleio-gateway

   /etc/rc2.d/S20scaleio-gateway -> ../init.d/scaleio-gateway

   /etc/rc3.d/S20scaleio-gateway -> ../init.d/scaleio-gateway

   /etc/rc4.d/S20scaleio-gateway -> ../init.d/scaleio-gateway

   /etc/rc5.d/S20scaleio-gateway -> ../init.d/scaleio-gateway

/etc/init.d/scaleio-gateway: line 92: systemctl: command not found

The EMC ScaleIO Gateway is running. PID=8156.

root@scale1:~#

As well as the highlighted issues of its attempting to use RPM there's also the below issues.

  • Installer it also requires binutils installing to resolve the strings issue (no mention of this in any of the installer guides).
  • Keytool/installer script doesn't create /opt/emc/scaleio/gateway/conf/certificates/.keystore so you have to create it yourself manually and chmod it.
  • Installer attepting to use "systemctl" to start the services etc this should be sysctl instead to match ubuntu's bin name

At current I've managed to resolve a few issues however creating an alias for sytemctl to sysctl doesn't appear to work and so at current I've been unable to finish the install.  It thinks the gateway service is running/listening but its clearly not installed correctly as the web gui is inaccessible and never loads and for some reason it insists on keeping to attempt to listed on the ipv6 (non-configured!) default IP rather than the static assigned ipv4 address.

Has anyone else managed to get the .deb installer working yet?