fabric8 icon indicating copy to clipboard operation
fabric8 copied to clipboard

Exposecontroller does not run and stuck at CrashLoopBackOff

Open noorulhaq opened this issue 7 years ago • 5 comments

Hi,

I am getting below error when I use gofabric8 deploy command. Note I have not specified any --domain argument here.

I0619 10:25:13.284013       1 exposecontroller.go:47] Using build: '2.3.2'
F0619 10:25:13.389317       1 exposecontroller.go:66] failed to create new strategy: failed to create ingress expose strategy: failed to get a domain: failed to find any nodes: the server does not allow access to the requested resource (get nodes)

noorulhaq avatar Jun 19 '17 10:06 noorulhaq

I'm guessing you are running on kubernetes? If so you need to specify a domain to reuse the Ingress strategy

jstrachan avatar Jun 19 '17 11:06 jstrachan

Yes, I am trying to deploy it on existing Kubernetes cluster. Does that mean I have to have a public domain name if I am using a machine on cloud?

noorulhaq avatar Jun 19 '17 11:06 noorulhaq

Replication controller now started, but I ran into another problem:

Now the system is stuck at below state:

Checking if PersistentVolumeClaims bind to a PersistentVolume 
Downloading images and waiting to open the fabric8 console...

-------------------------
.........................................................

noorulhaq avatar Jun 19 '17 12:06 noorulhaq

I am running Kubernetes on Azure: same problem here..

I got unstuck by specifying my public ip address of my kube master gofabric8 deploy --domain [ my domain name here] for eg I did: gofabric8 deploy --domain vuggiedemo1.northeurope.cloudapp.azure.com then it tried to open https://fabric8.default.vuggiedemo1.northeurope.cloudapp.azure.com/ but nothing happened: all pods are up...services are up as well... fixed that by changing the service type for fabric8 from ClusterIP to LoadBalancer (kubectl edit svc fabric8) in order to make the ingress available from outside...I am not sure if I have a working solution now as I have to change all the fabric8 deployed services into public ip's ..I can only access the services per public IP...I am missing the nice experience to reache all the services under a single domain: for eg fabric8.mydomain.com

chrisvugrinec avatar Jun 23 '17 04:06 chrisvugrinec

Running locally using minikube and I run into the same problem. I tried to increase memory and cpu, but no luck

akshayjain1996 avatar Jun 30 '18 03:06 akshayjain1996