Code Monkey home page Code Monkey logo

artifactory-on-openshift's People

Contributors

goern avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

artifactory-on-openshift's Issues

reverse-proxy.yaml are referring gitlab.com and not github

Find here multiple issue :

sh-4.2$ id
uid=1001(default) gid=0(root) groups=0(root)
sh: /opt/app-root/etc/scl_enable: No such file or directory
But certainly due to the build of the image artifactory-rev-proxy from
https://github.com/goern/artifactory-on-openshift/tree/master/container-image/reverse-proxy-nginx

Inside https://github.com/goern/s2i-nginx/blob/master/Dockerfile the scl_enable part is missing

Last point to update : we are mounting a secret (TLS) on this mount point /opt/app-root/etc
https://github.com/RHsyseng/artifactory-on-openshift/blob/master/reverse-proxy.yaml#L102
But all the config files of NGINX are inside /opt/app-root/etc/nginx.conf ???
By removing the mount point with secrets I was able to start the pod.

Add if supported (or not) in the documentation

ansible deploy fails to build and missing service account

See details below:

[sbadakhc@lap01phy01 ~]$ oc get ev
LASTSEEN   FIRSTSEEN   COUNT     NAME                             KIND      SUBOBJECT                                 TYPE      REASON      SOURCE                 MESSAGE
3m         3m          1         artifactory-postgresql-1-32b70   Pod                                                 Normal    Scheduled   {default-scheduler }   Successfully assigned artifactory-postgresql-1-32b70 to nde01blu01
3m         3m          1         artifactory-postgresql-1-32b70   Pod       spec.containers{artifactory-postgresql}   Normal    Pulled      {kubelet nde01blu01}   Container image "registry.access.redhat.com/rhscl/postgresql-95-rhel7@sha256:ca639f057676cf6961e9372fad8764b6e9b0d119beec501b1c1e30bde33c3246" already present on machine
3m         3m          1         artifactory-postgresql-1-32b70   Pod       spec.containers{artifactory-postgresql}   Normal    Created     {kubelet nde01blu01}   Created container with docker id 384cdab41ad8; Security:[seccomp=unconfined]
3m         3m          1         artifactory-postgresql-1-32b70   Pod       spec.containers{artifactory-postgresql}   Normal    Started     {kubelet nde01blu01}   Started container with docker id 384cdab41ad8
3m         3m          3         artifactory-postgresql-1-32b70   Pod       spec.containers{artifactory-postgresql}   Warning   Unhealthy   {kubelet nde01blu01}   Readiness probe failed: sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
psql: could not connect to server: Connection refused
          Is the server running on host "127.0.0.1" and accepting
          TCP/IP connections on port 5432?

2m        2m        1         artifactory-postgresql-1-32b70    Pod                     spec.containers{artifactory-postgresql}   Warning   Unhealthy                      {kubelet nde01blu01}             Liveness probe failed: dial tcp 10.130.2.182:5432: i/o timeout
3m        3m        1         artifactory-postgresql-1-deploy   Pod                                                               Normal    Scheduled                      {default-scheduler }             Successfully assigned artifactory-postgresql-1-deploy to nde02blu01
3m        3m        1         artifactory-postgresql-1-deploy   Pod                     spec.containers{deployment}               Normal    Pulled                         {kubelet nde02blu01}             Container image "openshift3/ose-deployer:v3.5.5.26" already present on machine
3m        3m        1         artifactory-postgresql-1-deploy   Pod                     spec.containers{deployment}               Normal    Created                        {kubelet nde02blu01}             Created container with docker id aed4e8ed7a46; Security:[seccomp=unconfined]
3m        3m        1         artifactory-postgresql-1-deploy   Pod                     spec.containers{deployment}               Normal    Started                        {kubelet nde02blu01}             Started container with docker id aed4e8ed7a46
3m        3m        1         artifactory-postgresql-1          ReplicationController                                             Normal    SuccessfulCreate               {replication-controller }        Created pod: artifactory-postgresql-1-32b70
3m        3m        1         artifactory-postgresql            DeploymentConfig                                                  Normal    DeploymentCreated              {deploymentconfig-controller }   Created new replication controller "artifactory-postgresql-1" for version 1
0s        3m        138       artifactory-rev-proxy             BuildConfig                                                       Warning   BuildConfigInstantiateFailed   {build-config-controller }       error instantiating Build from BuildConfig artifactory-test/artifactory-rev-proxy: Error resolving ImageStreamTag s2i-nginx-acme:latest in namespace artifactory-test: unable to find latest tagged image
3m        3m        1         artifactory                       StatefulSet                                                       Normal    SuccessfulCreate               {statefulset }                   pvc: artifactory-data-artifactory-0
3m        3m        1         artifactory                       StatefulSet                                                       Normal    SuccessfulCreate               {statefulset }                   pvc: artifactory-logs-artifactory-0
3m        3m        1         artifactory                       StatefulSet                                                       Normal    SuccessfulCreate               {statefulset }                   pvc: artifactory-backup-artifactory-0
3m        3m        1         artifactory                       StatefulSet                                                       Normal    SuccessfulCreate               {statefulset }                   pvc: artifactory-var-artifactory-0
2s        3m        22        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
3m        3m        1         s2i-nginx-acme-1-build            Pod                                                               Normal    Scheduled                      {default-scheduler }             Successfully assigned s2i-nginx-acme-1-build to nde02blu01
3m        3m        1         s2i-nginx-acme-1-build            Pod                     spec.containers{docker-build}             Normal    Pulling                        {kubelet nde02blu01}             pulling image "openshift3/ose-docker-builder:v3.5.5.26"
3m        3m        1         s2i-nginx-acme-1-build            Pod                     spec.containers{docker-build}             Normal    Pulled                         {kubelet nde02blu01}             Successfully pulled image "openshift3/ose-docker-builder:v3.5.5.26"
3m        3m        1         s2i-nginx-acme-1-build            Pod                     spec.containers{docker-build}             Normal    Created                        {kubelet nde02blu01}             Created container with docker id d6a48ff812b0; Security:[seccomp=unconfined]
3m        3m        1         s2i-nginx-acme-1-build            Pod                     spec.containers{docker-build}             Normal    Started                        {kubelet nde02blu01}             Started container with docker id d6a48ff812b0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.