aerogear-attic/mobile-core

Issue is faced when the oc is not installed.

Closed this issue · 1 comments

Description

The following error is faced

Checking OpenShift client tools exists
Where do you want to install oc?:  (/usr/local/bin) 
Updating PATH to include specified directory
? OpenShift Client tools do not exist on host. They will be installed by the MCP installer.

Checking Openshift cluster


./installer/install.sh: line 291: oc: command not found
Error to run 'oc cluster up'. 
See https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md#getting-started. 

It happens because the oc is not installed and then will be not possible to check the cluster via oc cluster up.

Suggested Solution

  • Install oc at this point OR skip the oc cluster up in this scenario.

Environment

Operating system: iOS
OpenShift versions: NONE installed yet

Steps to reproduce

  • Try to install the mobile in a SO clean without any one of requirements.

Solution merged.