confluentinc / schema-registry-images

Docker Images for Schema Registry
Apache License 2.0
2 stars 21 forks source link

Schema Registry Error on OpenShift #34

Closed cijujoseph closed 3 years ago

cijujoseph commented 3 years ago

Getting the following error when trying to bring-up schema registry on OpenShift 4.5. Any help would be appreciated.

(combined from similar events): Error: container create failed: time="2021-03-18T22:40:05Z" level=error msg="container_linux.go:348: starting container process caused \"chdir to cwd (\\"/home/appuser\\") set in config.json failed: permission denied\"" container_linux.go:348: starting container process caused "chdir to cwd (\"/home/appuser\") set in config.json failed: permission denied"

Regards, Ciju

cijujoseph commented 3 years ago

adding a serviceAccountName (spec.serviceAccountName) in deployment helped resolve the issue.