Convox Community

Unable to remove a private registry

Hello,

I’m using the latest version of the convox client and server:

$ convox version
client: 20191120232059
server: 20191120232059 (console.convox.com)

convox registries remove has no effect:

$ convox registries
SERVER                       USERNAME
https://index.docker.io/v1/  ndbroadbent

$ convox registries remove "index.docker.io/v1/"
Removing registry... OK

$ convox registries
SERVER                       USERNAME
https://index.docker.io/v1/  ndbroadbent

Rack logs:

id=c4adbefb037c ns=api at=RegistryRemove method="DELETE" path="/registries/index.docker.io/v1/" response=200 elapsed=61.986
id=ffe2d75890b0 ns=api at=RegistryList method="GET" path="/registries" response=200 elapsed=103.518

This is also blocking my production deploys because I can’t authenticate with this registry:

$ convox deploy
Packaging source... OK
Uploading source... OK
Starting build... OK
Authenticating 691950705664.dkr.ecr.us-east-1.amazonaws.com: Login Succeeded
Authenticating https://index.docker.io/v1/: Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password
ERROR: exit status 1
ERROR: build failed

This is for a rack that I created 2 years ago, so maybe there is some corrupt data that wasn’t migrated properly:

$ convox rack releases
VERSION         UPDATED
20191120232059  19 minutes ago
20190522175056  5 months ago
...
20180308185456  2 years ago
20180307152136  2 years ago

I think this deploy error started happening because I changed my Docker Hub password. As a workaround, I was able to change my password back to the old password:

Packaging source... OK
Uploading source... OK
Starting build... OK
Authenticating 691950705664.dkr.ecr.us-east-1.amazonaws.com: Login Succeeded
Authenticating https://index.docker.io/v1/: Login Succeeded

But I’m not actually using any docker images on https://index.docker.io/v1/, so I’d really like to remove it.