Comments (8)
looks like the PGSQL pod is not coming up. could you have a look at the logs of artifactory-postgresql-1-2sdts? Does it have problems creating some files/dirs? does it have problems chown'ing something? Did the volume mount? ... pv bound?
from artifactory-on-openshift.
Looks like a git credentials problem?
[sbadakhc@lap01phy01 ~]$ oc get all
NAME TYPE FROM LATEST
bc/artifactory-rev-proxy Source Git@master 1
bc/s2i-nginx-acme Docker Git 1
NAME TYPE FROM STATUS STARTED DURATION
builds/artifactory-rev-proxy-1 Source Git@master Failed (FetchSourceFailed) 19 hours ago 5s
builds/s2i-nginx-acme-1 Docker Git@3d0bcbf Complete 19 hours ago 6s
NAME DOCKER REPO TAGS UPDATED
is/artifactory 172.30.96.216:5000/artifactory-test/artifactory latest,5.2.1 19 hours ago
is/artifactory-rev-proxy 172.30.96.216:5000/artifactory-test/artifactory-rev-proxy
is/s2i-nginx-acme 172.30.96.216:5000/artifactory-test/s2i-nginx-acme latest 19 hours ago
NAME REVISION DESIRED CURRENT TRIGGERED BY
dc/artifactory-postgresql 1 1 1 config,image(postgresql:9.5)
dc/artifactory-rev-proxy 0 1 0 config,image(artifactory-rev-proxy:latest)
NAME DESIRED CURRENT READY AGE
rc/artifactory-postgresql-1 1 1 1 19h
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
routes/artifactory artifactory-artifactory-test.bluebank.io artifactory <all> None
routes/artifactory-rev-proxy docker-registry.artifactory-test.apps.acme.e2e.bos.redhat.com artifactory-rev-proxy <all> edge/Allow None
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
svc/artifactory 172.30.147.237 <none> 8081/TCP 19h
svc/artifactory-postgresql 172.30.131.127 <none> 5432/TCP 19h
svc/artifactory-rev-proxy 172.30.191.7 <none> 80/TCP 19h
NAME DESIRED CURRENT AGE
statefulsets/artifactory 1 0 19h
NAME READY STATUS RESTARTS AGE
po/artifactory-postgresql-1-6cxkv 1/1 Running 0 19h
po/artifactory-rev-proxy-1-build 0/1 Error 0 19h
po/s2i-nginx-acme-1-build 0/1 Completed 0 19h
[sbadakhc@lap01phy01 ~]$ oc logs po/artifactory-rev-proxy-1-build
Cloning "http://gitlab.com/goern/artifactory-on-openshift.git" ...
error: build error: failed to fetch requested repository "http://gitlab.com/goern/artifactory-on-openshift.git" with provided credentials
from artifactory-on-openshift.
Thanks for that, I see that there are two repos out of sync, let me sync them today/tomorrow and retry after I ping you.
good with that?
from artifactory-on-openshift.
That would be great. Much obliged!
from artifactory-on-openshift.
Hi,
Did you get a chance to update the repos?
Thanks,
Sal.
from artifactory-on-openshift.
Heya @sbadakhc thanks for the ping :) pls pull and recheck.
from artifactory-on-openshift.
Will do sir!
from artifactory-on-openshift.
Here are the logs from the latest pull!
[cloud-user@bst01blu01 artifactory-on-openshift]$ oc get all
NAME TYPE FROM LATEST
bc/artifactory-rev-proxy Source Git@master 1
bc/s2i-nginx-acme Docker Git 1
NAME TYPE FROM STATUS STARTED DURATION
builds/artifactory-rev-proxy-1 Source Git@f5ee377 Complete 2 hours ago 22s
builds/s2i-nginx-acme-1 Docker Git@3d0bcbf Complete 2 hours ago 16s
NAME DOCKER REPO TAGS UPDATED
is/artifactory 172.30.96.216:5000/artifactory-test/artifactory latest,5.2.1 2 hours ago
is/artifactory-rev-proxy 172.30.96.216:5000/artifactory-test/artifactory-rev-proxy latest 2 hours ago
is/s2i-nginx-acme 172.30.96.216:5000/artifactory-test/s2i-nginx-acme latest 2 hours ago
NAME REVISION DESIRED CURRENT TRIGGERED BY
dc/artifactory-postgresql 1 1 0 config,image(postgresql:9.5)
dc/artifactory-rev-proxy 1 1 1 config,image(artifactory-rev-proxy:latest)
NAME DESIRED CURRENT READY AGE
rc/artifactory-postgresql-1 0 0 0 2h
rc/artifactory-rev-proxy-1 1 1 0 2h
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
routes/artifactory artifactory-artifactory-test.bluebank.io artifactory <all> None
routes/artifactory-rev-proxy docker-registry.artifactory-test.apps.acme.e2e.bos.redhat.com artifactory-rev-proxy <all> edge/Allow None
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
svc/artifactory 172.30.46.115 <none> 8081/TCP 2h
svc/artifactory-postgresql 172.30.132.50 <none> 5432/TCP 2h
svc/artifactory-rev-proxy 172.30.13.34 <none> 80/TCP 2h
NAME DESIRED CURRENT AGE
statefulsets/artifactory 1 0 2h
NAME READY STATUS RESTARTS AGE
po/artifactory-postgresql-1-deploy 0/1 Error 0 2h
po/artifactory-rev-proxy-1-build 0/1 Completed 0 2h
po/artifactory-rev-proxy-1-cxcrd 0/1 CrashLoopBackOff 29 2h
po/s2i-nginx-acme-1-build 0/1 Completed 0 2h
[cloud-user@bst01blu01 artifactory-on-openshift]$ oc logs po/artifactory-rev-proxy-1-cxcrd
nginx: [emerg] open() "/opt/app-root/etc/nginx.conf" failed (2: No such file or directory)
[cloud-user@bst01blu01 artifactory-on-openshift]$ oc logs po/artifactory-postgresql-1-deploy
--> Scaling artifactory-postgresql-1 to 1
--> Waiting up to 10m0s for pods in rc artifactory-postgresql-1 to become ready
error: update acceptor rejected artifactory-postgresql-1: pods for rc "artifactory-postgresql-1" took longer than 600 seconds to become ready
[cloud-user@bst01blu01 artifactory-on-openshift]$ oc get ev
LASTSEEN FIRSTSEEN COUNT NAME KIND SUBOBJECT TYPE REASON SOURCE MESSAGE
4m 2h 29 artifactory-rev-proxy-1-cxcrd Pod spec.containers{artifactory-rev-proxy} Normal Pulled {kubelet nde02blu01} Container image "172.30.96.216:5000/artifactory-test/artifactory-rev-proxy@sha256:a9e87fba31947357fbd7179131a57af3d4b313c95ba5477110aafc7440d7e3c0" already present on machine
4s 2h 571 artifactory-rev-proxy-1-cxcrd Pod spec.containers{artifactory-rev-proxy} Warning BackOff {kubelet nde02blu01} Back-off restarting failed docker container
4s 2h 547 artifactory-rev-proxy-1-cxcrd Pod Warning FailedSync {kubelet nde02blu01} Error syncing pod, skipping: failed to "StartContainer" for "artifactory-rev-proxy" with CrashLoopBackOff: "Back-off 5m0s restarting failed container=artifactory-rev-proxy pod=artifactory-rev-proxy-1-cxcrd_artifactory-test(2c79b4ef-7c38-11e7-931b-002248018926)"
1h 1h 1 artifactory-rev-proxy-1-cxcrd Pod spec.containers{artifactory-rev-proxy} Normal Created {kubelet nde02blu01} Created container with docker id 86877a996420; Security:[seccomp=unconfined]
1h 1h 1 artifactory-rev-proxy-1-cxcrd Pod spec.containers{artifactory-rev-proxy} Normal Started {kubelet nde02blu01} Started container with docker id 86877a996420
1h 1h 1 artifactory-rev-proxy-1-cxcrd Pod spec.containers{artifactory-rev-proxy} Normal Created {kubelet nde02blu01} Created container with docker id d64ef30efdbb; Security:[seccomp=unconfined]
1h 1h 1 artifactory-rev-proxy-1-cxcrd Pod spec.containers{artifactory-rev-proxy} Normal Started {kubelet nde02blu01} Started container with docker id d64ef30efdbb
4m 1h 21 artifactory-rev-proxy-1-cxcrd Pod spec.containers{artifactory-rev-proxy} Normal Created {kubelet nde02blu01} (events with common reason combined)
4m 1h 21 artifactory-rev-proxy-1-cxcrd Pod spec.containers{artifactory-rev-proxy} Normal Started {kubelet nde02blu01} (events with common reason combined)
3s 2h 301 artifactory StatefulSet Warning FailedCreate {statefulset } pet: artifactory-0, error: pods "artifactory-0" is forbidden: service account artifactory-test/artifactory was not found, retry after the service account is created
from artifactory-on-openshift.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artifactory-on-openshift.