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:
- https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md\
- https://docs.okd.io/latest/install/index.html
- https://github.com/isnuryusuf/openshift-install/blob/master/openshift-origin-quickstart.md
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:
- oc adm diagnostics produces: https://bugzilla.redhat.com/show_bug.cgi?id=1368865
- openshift/origin#20346
cleaned images docker rmi -f $(docker images --quiet --filter "dangling=true")
did not help - openshift/origin#20184
- https://bugzilla.redhat.com/show_bug.cgi?id=1510167