-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I followed the documentation at this link to attempt the deployment of Starlight.
On the edge side, I made adjustments to the convert command by adding the port number to cloud.cluster.local.
Here’s the command I used:
ctr-starlight convert --insecure-destination --notify --profile myproxy --platform linux/amd
64 abushwang/redis:6.2.1 cloud.cluster.local:5001/redis:6.2.1-starlight
INFO[Dec 19 16:34:07.757082395] requested platform platform=linux/amd64
INFO[Dec 19 16:34:07.757180861] fetching container image image="abushwang/redis:6.2.1"
INFO[Dec 19 16:34:09.409484746] found platform digest="sha256:820582b05253c2b968442b8af31d791ae64478bcc18e04826c5ce42f974d3272" platform="&{amd64 linux [] []}" size=1574 skip=false
INFO[Dec 19 16:34:25.292419057] uploading converted container image image="cloud.cluster.local:5001/redis:6.2.1-starlight"
INFO[Dec 19 16:34:25.322453018] conversion completed
notify starlight proxy server success: converted cloud.cluster.local:5001/redis:6.2.1-starlight
If I do not add the port number, I encounter the following error:
ctr-starlight convert --insecure-destination --notify --profile myproxy --platform linux/amd
64 abushwang/redis:6.2.1 cloud.cluster.local/redis:6.2.1-starlight
INFO[Dec 19 16:39:14.127896097] requested platform platform=linux/amd64
INFO[Dec 19 16:39:14.127990138] fetching container image image="abushwang/redis:6.2.1"
INFO[Dec 19 16:39:15.738393096] found platform digest="sha256:820582b05253c2b968442b8af31d791ae64478bcc18e04826c5ce42f974d3272" platform="&{amd64 linux [] []}" size=1574 skip=false
INFO[Dec 19 16:39:32.201332251] uploading converted container image image="cloud.cluster.local/redis:6.2.1-starlight"
ERRO[Dec 19 16:39:32.202777285] fail to convert the container image error="Get \"https://cloud.cluster.local/v2/\": dial tcp 9.30.17.238:443: connect: connection refused; Get \"http://cloud.cluster.local/v2/\": dial tcp 9.30.17.238:80: connect: connection refused"
When I attempt to pull the image, I receive the following error:
ctr-starlight pull --profile myproxy cloud.cluster.local:5001/redis:6.2.1-starlight
pull image failed: failed to pull image cloud.cluster.local:5001/redis:6.2.1-starlight: {"status":"Bad Request","code":400,"error":"requested image cloud.cluster.local:5001/redis:6.2.1-starlight not found"}
However, I can successfully receive information using the curl command:
curl -X GET http://cloud.cluster.local:5001/v2/redis/manifests/6.2.1-starlight
{"schemaVersion":2,"manifests":[{"mediaType":"application/vnd.docker.distribution.manifest.v2+json","size":1574,"digest":"sha256:86e2d34d8ad7428810673dabda643b2bcc9e3de7c6341da0cbedd112deda4aed","platform":{"architecture":"amd64","os":"linux"}}]}[0][[email protected]:/home/starlight]
Additionally, when I use curl, the cloud side logs show the following, but there are no logs when I attempt to pull:
9.30.17.209 - - [19/Dec/2024:08:55:57 +0000] "GET /v2/redis/manifests/6.2.1-starlight HTTP/1.1" 200 246 "" "curl/8.4.0"
time="2024-12-19T08:55:57.173311172Z" level=info msg="response completed" go.version=go1.20.8 http.request.host="cloud.cluster.local:5001" http.request.id=10c34305-d5c0-467f-9188-32f00a461ed1 http.request.method=GET http.request.remoteaddr="9.30.17.209:56348" http.request.uri="/v2/redis/manifests/6.2.1-starlight" http.request.useragent="curl/8.4.0" http.response.contenttype="application/vnd.oci.image.index.v1+json" http.response.duration=1.358989ms http.response.status=200 http.response.written=246
I would like to know if there is an issue with my operations. Thank you!
Metadata
Metadata
Assignees
Labels
No labels