EGA-archive/LocalEGA

Test the designed deployment solution production-like test environment

Closed this issue · 5 comments

Issue by juhtornr
Friday Sep 21, 2018 at 07:43 GMT
Originally opened as NBISweden/LocalEGA#361


Description

Test the deployment solution designed in #314 (still open) in production-like environment at CSC.

DoD (Definition of Done)

Two OpenShift clusters up and running in selected machines.

Testing

Peer review and file can be ingested (test using the sftp script).

Comment by blankdots
Tuesday Sep 25, 2018 at 07:13 GMT


We decided against using minishift in replicating a production-like environment and running an Openshift cluster locally.

General instructions:

Installation [WIP] - to be updated

Install kubectl

curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl

Installing OpenShift origin

Instructions: https://github.com/openshift/origin#installation

wget https://github.com/openshift/origin/releases/download/v3.10.0/openshift-origin-client-tools-v3.10.0-dd10d17-linux-64bit.tar.gz
tar -xf openshift-origin-client-tools-v3.10.0-dd10d17-linux-64bit.tar.gz
mv openshift-origin-client-tools-v3.10.0-dd10d17-linux-64bit/oc /usr/local/bin/oc

Comment by blankdots
Tuesday Sep 25, 2018 at 07:14 GMT


After following prerequisites and trying to start the cluster with oc cluster up run into error:

Error: invalid configuration: Missing or incomplete configuration info.  Please login or point to an existing, complete config file:

  1. Via the command-line flag --config
  2. Via the KUBECONFIG environment variable
  3. In your home directory as ~/.kube/config

seems to be caused: E0925 <date pid> interface.go:34] Failed to install "openshift-web-console-operator": timed out waiting for the condition might be caused by: https://bugzilla.redhat.com/show_bug.cgi?id=1618311

Comment by blankdots
Monday Oct 08, 2018 at 05:53 GMT


oc cluster up currently hangs with:

Error: Error response from daemon: {"message": "no space left on device"}

Possible bugs:

Comment by juhtornr
Thursday Dec 20, 2018 at 08:24 GMT


The definition of production-like environment has changed during last two months. At CSC we ended up using plain Kubernetes instead Openshift and we have now deployed that (see #360).

Closing the issue as it looks like a duplicate of #7