Bug 1955657 - ImageStatus request got "Manifest does not match provided manifest" when digest is not equal to the sha256 id in name under /var/lib/containers/storage/overlay-images/images.json
Summary: ImageStatus request got "Manifest does not match provided manifest" when dige...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.11.z
Assignee: Peter Hunt
QA Contact: Weinan Liu
URL:
Whiteboard:
Depends On: 1669096
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-30 15:07 UTC by Shawn Hurley
Modified: 2023-09-18 00:26 UTC (History)
22 users (show)

Fixed In Version: cri-o-1.11.16-0.15.rhaos3.11.git5218c73.el7_9 or newer
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1669096
Environment:
Last Closed: 2022-11-02 09:24:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 34 Weinan Liu 2022-11-02 09:24:48 UTC
Fixed on # oc version
oc v3.11.784
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://ip-172-18-1-85.ec2.internal:8443
openshift v3.11.784
kubernetes v1.11.0+d4cacc0

# cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.8 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.8"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.8 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.8:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.8
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.8"
[root@ip-172-18-1-85 ~]# rpm -qa|grep -i cri-o
cri-o-1.11.16-0.18.rhaos3.11.git6e806b1.el7.x86_64
# cat /var/lib/containers/storage/overlay-images/images.json |python -m json.tool
<------------snip--------->
<------------snip--------->  
        },
        "created": "2022-08-30T21:38:19.484768821Z",
        "digest": "sha256:963c8a7c692828eaaf2c1f896f8d2978f69883a69d9faea3c0cd98b262b67715",
        "id": "b0c25f9589fa1ff6a9f187c44e9c57165bf929894c53c329a0603a10c3c338f6",
        "layer": "44772695fd24f12bb5f49ce775d7c355671979246c4ddffacf11bdae8a65147e",
        "metadata": "{}",
        "names": [
            "registry.redhat.io/openshift3/ose-template-service-broker:v3.11"
        ]
    }
]

# crictl -D inspecti registry.redhat.io/openshift3/ose-pod:v3.11
DEBU[0000] ImageStatusRequest: &ImageStatusRequest{Image:&ImageSpec{Image:registry.redhat.io/openshift3/ose-pod:v3.11,},Verbose:true,}
DEBU[0000] ImageStatusResponse: &ImageStatusResponse{Image:&Image{Id:5a117db789a788ed6f1f9a1fc51961adf3ff35c3c37f2944daa524d7501408d6,RepoTags:[registry.redhat.io/openshift3/ose-pod:v3.11],RepoDigests:[registry.redhat.io/openshift3/ose-pod@sha256:413999fc4e0b76b2c63fb3d9ddba80646514b481a496b155f8599aa084d957cd],Size_:265725866,Uid:&Int64Value{Value:1001,},Username:,},Info:map[string]string{},}
{
  "status": {
    "id": "5a117db789a788ed6f1f9a1fc51961adf3ff35c3c37f2944daa524d7501408d6",
    "repoTags": [
      "registry.redhat.io/openshift3/ose-pod:v3.11"
    ],
    "repoDigests": [
      "registry.redhat.io/openshift3/ose-pod@sha256:413999fc4e0b76b2c63fb3d9ddba80646514b481a496b155f8599aa084d957cd"
    ],
    "size": "265725866",
    "uid": {
      "value": "1001"
    },
    "username": ""
  }
}

Comment 35 Red Hat Bugzilla 2023-09-18 00:26:18 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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