Follow the procedure described here - https://blog.openshift.com/getting-any-docker-image-running-in-your-own-openshift-cluster/
The net result is that GitLab will start but then the pod crashes with a message in the log
================================================================================
Error executing action `restart` on resource 'service[gitlab-workhorse]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitlab-workhorse ----
STDOUT: timeout: run: /opt/gitlab/service/gitlab-workhorse: (pid 275) 35s, got TERM
STDERR:
---- End output of /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitlab-workhorse ----
Ran /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitlab-workhorse returned 1
I even tried to give it privileged scc but the issue persists.
If I run the image via docker run then it starts correctly.
The same image runs in OSE 3.1 or in CDK flawlessly.
oc version
oc v3.2.0.3
kubernetes v1.2.0-origin-41-g91d3e75
docker version
Client:
Version: 1.9.1
API version: 1.21
Package version: docker-1.9.1-19.el7.x86_64
Go version: go1.4.2
Git commit: 185277d/1.9.1
Built:
OS/Arch: linux/amd64
Server:
Version: 1.9.1
API version: 1.21
Package version: docker-1.9.1-19.el7.x86_64
Go version: go1.4.2
Git commit: 185277d/1.9.1
Built:
OS/Arch: linux/amd64
Follow the procedure described here - https://blog.openshift.com/getting-any-docker-image-running-in-your-own-openshift-cluster/
The net result is that GitLab will start but then the pod crashes with a message in the log
I even tried to give it privileged scc but the issue persists.
If I run the image via docker run then it starts correctly.
The same image runs in OSE 3.1 or in CDK flawlessly.