Skip to content

Error while pushing images #404

@imerelli

Description

@imerelli

Sorry to bother you again...
I'm now trying to push images into sregistry using singularity from another server.
I added the remote and provided the token:

singularity remote list

Cloud Services Endpoints
====================
NAME URI ACTIVE GLOBAL EXCLUSIVE
SylabsCloud cloud.sylabs.io NO YES NO
bioinfotiget sregistry.bioinfotiget.it YES NO NO

Keyservers
====================
URI GLOBAL INSECURE ORDER
https://sregistry.bioinfotiget.it YES NO 1*
* Active cloud services keyserver

...but when I try to push an image I get this error:

singularity push -U centos7-python3-r4-deg.sif library://imerelli/rnaseq/centos7-python3-r4-deg:latest
WARNING: Skipping container verification
0.0b / 1.0GiB [------------------------------------------------------------------------------] 0 % 0.0 b/s 0s
FATAL: Unable to push image to library: Put "http://127.0.0.1:9000/sregistry/rnaseq/centos7-python3-r4-deg%3Asha256.49bfd3dcac50e3fbcfbb4b535b1924c98ced1fc49a16446bfb4af5ee7da0b08c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=newminio%2F20220909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220909T205220Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host%3Bx-amz-content-sha256&partNumber=1&uploadId=2daaf94b-b02f-4518-88c2-269c45b6e467&X-Amz-Signature=9f4d33630bca145689d9b7f433c2fb6b6ac14cb2814c258fb1d9fcde909b60be": dial tcp 127.0.0.1:9000: connect: connection refused

Port 9000 should be open to internet on the sregistry server?
Honestly, I don't think so, because it seems an internal call since it's using 127.0.0.1
Maybe something related to minio server?
I did't change anything in the configuration about this service (should I?)
Any other hint? logs and ports seems ok.

docker compose logs | grep 9000
sregistry-minio-1 | API: http://172.18.0.3:9000 http://127.0.0.1:9000

nmap localhost
Starting Nmap 7.70 ( https://nmap.org ) at 2022-09-10 12:52 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000019s latency).
Other addresses for localhost (not scanned): ::1
Not shown: 992 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
111/tcp open rpcbind
443/tcp open https
631/tcp open ipp
8090/tcp open opsmessaging
9000/tcp open cslistener

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions