Answers: <p>Have you set Jenkins ssh key to have access to source?
  Another point is to validate if the SSH port is open. According to error can be one of these things</p>
  
Answers: CC BY-SA 4.0
Answers: 2020-01-13T14:31:17.067Z
Answers: 2020-01-13T14:31:17.067Z
Answers: Vader
Body: <p>I am using the GitHub project <a href="https://github.com/eliu/openshift-vagrant" rel="nofollow noreferrer">elio/openshift-vagrant</a>. vagrant up and then the script oc-up.sh gives me a master and two nodes. Ansible provision runs without problems.</p>
  
  <p>After provision I can login to <a href="https://master.example.com:8443" rel="nofollow noreferrer">https://master.example.com:8443</a> as admin. I can create a project. When I try to deploy <em>jenkins-ephemeral</em> this fails with message</p>
  
  <blockquote>
    <p>error: couldn't get deployment jenkins-1: Get
    <a href="https://172.30.0.1:443/api/v1/namespaces/test2/replicationcontrollers/jenkins-1" rel="nofollow noreferrer">https://172.30.0.1:443/api/v1/namespaces/test2/replicationcontrollers/jenkins-1</a>:  dial tcp 172.30.0.1:443: connect: connection refused</p>
  </blockquote>
  
  <p>Ansible installer status shows no problems in the cluster. Why is this not working? How can I troubleshoot this problem?</p>
  
Tags: <jenkins><openshift>
Title: OpenShift fails to deploy jenkins - connection refused
UserDisplayName: onknows
ThreadText: # OpenShift fails to deploy jenkins - connection refused
  
  (Asked by: username_0 on 2020-01-12)
  
  I am using the GitHub project [elio/openshift-vagrant](https://github.com/eliu/openshift-vagrant). vagrant up and then the script oc-up.sh gives me a master and two nodes. Ansible provision runs without problems.
  
  After provision I can login to <https://master.example.com:8443> as admin. I can create a project. When I try to deploy *jenkins-ephemeral* this fails with message
  
  > error: couldn't get deployment jenkins-1: Get
  > <https://172.30.0.1:443/api/v1/namespaces/test2/replicationcontrollers/jenkins-1>: dial tcp 172.30.0.1:443: connect: connection refused
  
  Ansible installer status shows no problems in the cluster. Why is this not working? How can I troubleshoot this problem?
  
  **Tags:** jenkins, openshift
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-01-13. Score: 1
  
  Have you set Jenkins ssh key to have access to source?
  Another point is to validate if the SSH port is open. According to error can be one of these things
  
  
  ---
  
  