Hello,
I enabled the image registry for my single node Openshift cluster and configured it to use NFS storage, but when I try to push an image to it I get 500 Internal Server error as seen below:
sh-4.4# podman push image-registry.openshift-image-registry.svc:5000/openshift/nginx
Getting image source signatures
Copying blob c1b1bf2f95dc [--------------------------------------] 8.0b / 3.5KiB
Copying blob 4d99aab1eed4 [--------------------------------------] 8.0b / 107.8MiB
Copying blob ab75a0b61bd1 [--------------------------------------] 8.0b / 4.5KiB
Copying blob b7df9f234b50 [--------------------------------------] 8.0b / 2.5KiB
Copying blob 93b4c8c4ac05 [--------------------------------------] 8.0b / 5.0KiB
Copying blob a483da8ab3e9 [--------------------------------------] 8.0b / 74.2MiB
Copying blob fd31601f0be4 [--------------------------------------] 8.0b / 7.0KiB
Error: writing blob: initiating layer upload to /v2/openshift/nginx/blobs/uploads/ in image-registry.openshift-image-registry.svc:5000: received unexpected HTTP status: 500 Internal Server Error
Can anyone point me to the reason for this?
Estás viendo un error interno del servidor 500 porque el registro de imágenes de OpenShift no está configurado correctamente para usar tu bucket de IBM S3. Básicamente, el registro intenta guardar imágenes en el bucket, pero algo no funciona correctamente; podría ser el nombre del bucket, la región, el punto final o las credenciales.
@HowardM Do you see anything in the registry logs : oc logs <registry_pod> ?
Quite possible that the NFS share has messed up permissions.
check the ownership and permission of the file system if permission issue is found in above logs and set it accrodingly with the correct uid & gid.
mi nfs tiene permisos read write many y aun asi tengo problemas para hacer el pull de imagenes de ibm cloud storage
@jotec ¿podrías compartir una explicación detallada (está bien si es en español) para que podamos entender el contexto - si se trata de un entorno de curso, de producción u otra situación? Cuantos más detalles puedas proporcionar, mejor podrá ayudarte la comunidad.
Muchas gracias por responder. Es un entorno testing con OKD 4.17. estoy intentando levantar el ibmc-storage.driver para conectar mi cluster a un bucket S3 de IBM
Estás viendo un error interno del servidor 500 porque el registro de imágenes de OpenShift no está configurado correctamente para usar tu bucket de IBM S3. Básicamente, el registro intenta guardar imágenes en el bucket, pero algo no funciona correctamente; podría ser el nombre del bucket, la región, el punto final o las credenciales.
Muchas gracias. Subi la imagen a traves de un image stream, pero por bastante tiempo no me tomaba esa imagen . solo queriaconectarse a docker para bajarla. no se como pero en algun moento el pod quedo running
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.