Hi Gyula,

Thanks for the RC-1.

I'm taking a look at the rc-1, and I'm having a problem deploying on OpenShift 
4.10 and 4.12 for some reason.

I first tried the helm install method in the default namespace, and the 
operator launches fine.  But when I try one of the example flinkdeployments 
it's hanging:



oc get flinkdep

NAME            JOB STATUS   LIFECYCLE STATE

basic-example                UPGRADING

In the operator log says:
[ERROR][default/basic-example] Error during event processing ExecutionScope{ 
resource id: ResourceID{name='basic-example', namespace='default'}, version: 
41800} failed.

Caused by: 
org.apache.flink.kubernetes.shaded.io.fabric8.kubernetes.client.KubernetesClientException:
 Failure executing: POST at: 
https://172.30.0.1/apis/apps/v1/namespaces/default/deployments. Message: 
Forbidden!Configured service account doesn't have access. Service account may 
have been revoked. deployments.apps "basic-example" is forbidden: cannot set 
blockOwnerDeletion if an ownerReference refers to a resource you can't set 
finalizers on: , <nil>.

An OLM install has similar issues.

I also tried a helm install on Ted's "kind" cluster (non-OpenShift) and while 
the flinkdep gets further, I still don't see the task manager pod like I'd 
expect and the flinkdeployment doesn't get to a Running/stable stage:


oc get pods

NAME                                         READY   STATUS    RESTARTS   AGE

basic-example-c6884ddcd-56j7b                1/1     Running   0          2m52s

flink-kubernetes-operator-7bd6dcdfd4-4lfcg   2/2     Running   0          4m51s

root@cataract1:~/FLINK/release-1.5.0-rc1#<mailto:root@cataract1:~/FLINK/release-1.5.0-rc1#>
 oc get flinkdep

NAME            JOB STATUS   LIFECYCLE STATE

basic-example   CREATED      DEPLOYED

I'm curious if anyone else is having trouble with install on Kubernetes.

Thanks, Jim

Reply via email to