Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Test the designed deployment solution production-like test environment #361

Open
juhtornr opened this issue Sep 21, 2018 · 4 comments
Open
Assignees
Milestone

Comments

@juhtornr
Copy link
Collaborator

juhtornr commented Sep 21, 2018

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).

@blankdots blankdots self-assigned this Sep 21, 2018
@blankdots blankdots added this to the Sprint 37 milestone Sep 21, 2018
@blankdots
Copy link

blankdots commented Sep 25, 2018

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

@blankdots
Copy link

blankdots commented Sep 25, 2018

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

@blankdots
Copy link

oc cluster up currently hangs with:

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

Possible bugs:

@juhtornr
Copy link
Collaborator Author

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).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants