Bug 1480640 - Provide clear user feedback when registry is full
Provide clear user feedback when registry is full
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry (Show other bugs)
x86_64 Linux
low Severity low
: ---
: ---
Assigned To: Oleg Bulatov
ge liu
Depends On:
  Show dependency treegraph
Reported: 2017-08-11 10:42 EDT by Mark LaBonte
Modified: 2017-08-14 05:50 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mark LaBonte 2017-08-11 10:42:52 EDT
Currently there's no clear user feedback when the registry volume is at 100% and image push is failing. It would be better to explicitly tell the user that the registry is full.

This is a CNS-backed registry volume. 

Pushed 3/12 layers, 25% complete
Pushed 4/12 layers, 33% complete
Pushed 5/12 layers, 42% complete
Pushed 6/12 layers, 50% complete
Pushed 7/12 layers, 58% complete
Pushed 8/12 layers, 67% complete
Pushed 9/12 layers, 75% complete
Pushed 10/12 layers, 83% complete
Pushed 11/12 layers, 92% complete
Registry server Address:
Registry server User Name: serviceaccount
Registry server Email: serviceaccount@example.org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: received unexpected HTTP status: 500 Internal Server Error

[root@dhcp19-231-221 ~]# oc get pod -n default --selector=docker-registry
NAME                      READY     STATUS    RESTARTS   AGE
docker-registry-9-05z6n   1/1       Running   0          2d
docker-registry-9-8gqsp   1/1       Running   0          2d
docker-registry-9-j4gpd   1/1       Running   0          2d
[root@dhcp19-231-221 ~]# oc rsh -n default docker-registry-9-05z6n df /registry
Filesystem                            1K-blocks      Used Available Use% Mounted on 524027904 524027904         0 100% /registry

[root@dhcp19-231-221 ~]# oc version
oc v3.5.5.26
kubernetes v1.5.2+43a9be4
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://dhcp19-231-221.css.lab.eng.bos.redhat.com:8443
openshift v3.5.5.26
kubernetes v1.5.2+43a9be4

Note You need to log in before you can comment on or make changes to this bug.