Skip to content

Instantly share code, notes, and snippets.

@frizop
Created January 29, 2019 19:14
Show Gist options
  • Save frizop/e19d7a8559f8e98d26e4be8d5e4b2c38 to your computer and use it in GitHub Desktop.
Save frizop/e19d7a8559f8e98d26e4be8d5e4b2c38 to your computer and use it in GitHub Desktop.
ceph can't find image?
# journalctl -u docker -o cat | tail -14
tar: Removing leading `/' from member names
time="2019-01-29T03:16:50.239250411Z" level=error msg="containerd: deleting container" error="exit status 1: \"container 4b126c43e83fed08b194a78777025e6188fcc1fa0f09fd52b55f6d29cb79d611 does not exist\\none or more of the container deletions failed\\n\""
time="2019-01-29T03:16:50.264124126Z" level=warning msg="4b126c43e83fed08b194a78777025e6188fcc1fa0f09fd52b55f6d29cb79d611 cleanup: failed to unmount secrets: invalid argument"
time="2019-01-29T03:19:52.702584881Z" level=error msg="Error setting up exec command in container ceph-mon-overcloud-ceph-all-0: No such container: ceph-mon-overcloud-ceph-all-0"
time="2019-01-29T03:19:52.702622923Z" level=error msg="Handler for POST /v1.26/containers/ceph-mon-overcloud-ceph-all-0/exec returned error: No such container: ceph-mon-overcloud-ceph-all-0"
time="2019-01-29T03:19:52.702874719Z" level=error msg="Handler for POST /v1.26/containers/ceph-mon-overcloud-ceph-all-0/exec returned error: No such container: ceph-mon-overcloud-ceph-all-0"
time="2019-01-29T03:20:01.198016100Z" level=warning msg="Error getting v2 registry: Get https://10.237.78.10:5000/v2/: http: server gave HTTP response to HTTPS client"
time="2019-01-29T03:20:01.198066152Z" level=error msg="Attempting next endpoint for pull after error: Get https://10.237.78.10:5000/v2/: http: server gave HTTP response to HTTPS client"
time="2019-01-29T03:20:02.449736435Z" level=error msg="Handler for GET /v1.26/containers/10.237.78.10:5000/rhceph/rhceph-3-rhel7:3-18/json returned error: No such container: 10.237.78.10:5000/rhceph/rhceph-3-rhel7:3-18"
time="2019-01-29T03:20:02.450025864Z" level=error msg="Handler for GET /v1.26/containers/10.237.78.10:5000/rhceph/rhceph-3-rhel7:3-18/json returned error: No such container: 10.237.78.10:5000/rhceph/rhceph-3-rhel7:3-18"
umounthook <debug>: prestart container_id:1ef4923b1c96 rootfs:/var/lib/docker/overlay2/7af22b1fb62c34922684716df88e42b54c902c389ea9caeed6acb59e28f13e43/merged
ceph version 12.2.8-52.el7cp (3af3ca15b68572a357593c261f95038d02f46201) luminous (stable)
time="2019-01-29T03:20:03.482109955Z" level=error msg="containerd: deleting container" error="exit status 1: \"container 1ef4923b1c964a5b74ea6a6d68d9c51d3a40f61d1a943c4edbd26d7521c23528 does not exist\\none or more of the container deletions failed\\n\""
time="2019-01-29T03:20:03.554939629Z" level=warning msg="1ef4923b1c964a5b74ea6a6d68d9c51d3a40f61d1a943c4edbd26d7521c23528 cleanup: failed to unmount secrets: invalid argument"
----
$ skopeo inspect --tls-verify=false docker://10.237.78.10:5000/rhceph/rhceph-3-rhel7:3-18
{
"Name": "10.237.78.10:5000/rhceph/rhceph-3-rhel7",
"Digest": "sha256:983f0c8c48b3cc2d6ad4746ea04bdabda4255b06281ff611f5beaf485d218c6b",
"RepoTags": [
"latest",
"3-18"
],
"Created": "2018-12-17T18:37:52.517893Z",
"DockerVersion": "1.13.1",
"Labels": {
"CEPH_POINT_RELEASE": "",
"GIT_BRANCH": "stable-3.2",
"GIT_CLEAN": "True",
"GIT_COMMIT": "66f0be9176b7fb9df71ab571bcd83ff986af6872",
"GIT_REPO": "https://github.com/ceph/ceph-container.git",
"RELEASE": "stable-3.2",
"architecture": "x86_64",
"authoritative-source-url": "registry.access.redhat.com",
"build-date": "2018-12-17T18:33:03.979672",
"com.redhat.build-host": "cpt-0008.osbs.prod.upshift.rdu2.redhat.com",
"com.redhat.component": "rhceph-rhel7-container",
"description": "Red Hat Ceph Storage 3",
"distribution-scope": "public",
"install": "/usr/bin/docker run --rm --privileged -v /:/host -e MON_IP=${MON_IP} -e CEPH_PUBLIC_NETWORK=${CEPH_PUBLIC_NETWORK} -e CEPH_DAEMON=${CEPH_DAEMON} -e MON_NAME=${MON_NAME} -e OSD_DEVICE=${OSD_DEVICE} -e HOST=/host -e IMAGE=${IMAGE} --entrypoint=/install.sh ${IMAGE}",
"io.k8s.description": "Red Hat Ceph Storage 3",
"io.k8s.display-name": "Red Hat Ceph Storage 3 on RHEL 7",
"io.openshift.tags": "rhceph ceph",
"maintainer": "Erwan Velu \u003cevelu@redhat.com\u003e",
"name": "rhceph",
"release": "18",
"run": "/usr/bin/docker run -d --net=host --pid=host -e MON_NAME=${MON_NAME} -e MON_IP=${MON_IP} -e CEPH_PUBLIC_NETWORK=${CEPH_PUBLIC_NETWORK} -e CEPH_DAEMON=${CEPH_DAEMON} -v /etc/ceph:/etc/ceph -v /var/lib/ceph:/var/lib/ceph ${IMAGE}",
"summary": "Provides the latest Red Hat Ceph Storage 3 on RHEL 7 in a fully featured and supported base image.",
"url": "https://access.redhat.com/containers/#/registry.access.redhat.com/rhceph/images/3-18",
"vcs-ref": "b3be5a0062586071df4f497de62e338354c05434",
"vcs-type": "git",
"vendor": "Red Hat, Inc.",
"version": "3"
},
"Architecture": "amd64",
"Os": "linux",
"Layers": [
"sha256:23113ae36f8e9d98b1423e44673979132dec59db2805e473e931d83548b0be82",
"sha256:d134b18b98b0d113b7b1194a60efceaa2c06eff41386d6c14b0e44bfe557eee8",
"sha256:bfcee3338fb1e735f632788c81de611339f6ae09e248f28a9608843c2fe9eb72"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment