kubecf icon indicating copy to clipboard operation
kubecf copied to clipboard

Unable to push testapp because of wrong configured ssh service

Open christiancloudical opened this issue 4 years ago • 0 comments

Describe the bug cf operator and kubecf are installed via helm with eirini enabled in version 2.7.12 and the installation itself works without any issues. After installation, I do a login to cf, create space and user and target that.

with that testapp: git clone https://github.com/cloudfoundry-samples/test-app.git I try to do a cf push, which works until

Staging app and tracing logs...

That one stucks on a batchjob:

kubectl describe -n eirini jobs.batch test-app-christian
  ----     ------        ----              ----            -------
  Warning  FailedCreate  8s (x2 over 18s)  job-controller  Error creating: Internal error occurred: failed calling webhook "0.eirini-ssh.org": Post "https://eirinix-ssh.kubecf.svc:443/0?timeout=30s": no service port 443 found for service "eirinix-ssh"

But that svc is not configured for listening on 443, when I manually set the serviceport to 443, it is failing because of unknown ca for sure

kubectl get svc -n kubecf eirinix-ssh
NAME          TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)    AGE
eirinix-ssh   ClusterIP   172.31.3.181   <none>        2999/TCP   38m

To Reproduce Install cf operator and kubecf with latest release and eirini enabled

Expected behavior cf push should work

Environment

  • CF Version: quarks-7.1.3+0.g0ce050b, kubecf-2.7.12

If you need more detailed information, let me know how I can help out.

Greetings,

Christian

christiancloudical avatar Feb 17 '21 13:02 christiancloudical