Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-60755

OAS log shows: [SHOULD NOT HAPPEN] ... failed to convert new object (xxia-test/; security.openshift.io/v1, Kind=PodSecurityPolicySubjectReview)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20
    • openshift-apiserver
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      OAS log shows: [SHOULD NOT HAPPEN] ... failed to convert new object (xxia-test/; security.openshift.io/v1, Kind=PodSecurityPolicySubjectReview)
      

      Version-Release number of selected component (if applicable):

      4.20.0-0.nightly-2025-08-20-092916
      

      How reproducible:

      Always
      

      Steps to Reproduce:

      1. $ oc new-project xxia-test
      2. $ oc new-app rails-postgresql-example
      3. Check OAS pods' logs in openshift-apiserver container
      

      Actual results:

      OAS log shows "[SHOULD NOT HAPPEN]", but it does happen:

      $ oc logs -n openshift-apiserver -c openshift-apiserver <each_pod_needs_to_be_checked>
      ...
      2025-08-20T07:05:33.305883790Z I0820 07:05:33.305862       1 generator.go:341] Failed to update BuildConfig xxia-test/rails-postgresql-example so no Build will be created
      2025-08-20T07:05:33.305911714Z I0820 07:05:33.305889       1 generator.go:248] instantiate returned conflict, try 1/3
      2025-08-20T07:05:33.310368158Z I0820 07:05:33.310343       1 generator.go:375] Aborting imageid triggered build for BuildConfig xxia-test/rails-postgresql-example with imageid image-registry.openshift-image-registry.svc:5000/openshift/ruby@sha256:7e10689f8d136a7073cf8f20ed73c84ba3cf28657076b902322c386bb7078b20 because the BuildConfig already matches this imageid 
      2025-08-20T07:05:33.336499467Z E0820 07:05:33.336461       1 fieldmanager.go:155] "[SHOULD NOT HAPPEN] failed to update managedFields" err="failed to convert new object (xxia-test/; security.openshift.io/v1, Kind=PodSecurityPolicySubjectReview) to smd typed: .metadata: field not declared in schema" versionKind="/, Kind=" namespace="xxia-test" name=""
      2025-08-20T07:06:38.595697573Z I0820 07:06:38.595652       1 controller.go:615] quota admission added evaluator for: imagestreammappings.image.openshift.io
      2025-08-20T07:06:38.595797642Z I0820 07:06:38.595784       1 controller.go:615] quota admission added evaluator for: imagestreammappings.image.openshift.io
      2025-08-20T07:23:06.872354781Z E0820 07:23:06.872319       1 strategy.go:60] "Unhandled Error" err="unable to parse manifest for \"sha256:5f73c1b804b7ff63f61151b4f194fe45c645de27671a182582eac8b3fcb30dd4\": unexpected end of JSON input"
      2025-08-20T07:23:06.881623653Z I0820 07:23:06.881601       1 trace.go:236] Trace[1024022447]: "Create" accept:application/json, */*,audit-id:e431e902-3f33-4f7e-afb6-3d5b35046365,client:10.0.83.210,api-group:image.openshift.io,api-version:v1,name:,subresource:,namespace:openshift,protocol:HTTP/2.0,resource:imagestreamimports,scope:resource,url:/apis/image.openshift.io/v1/namespaces/openshift/imagestreamimports,user-agent:openshift-controller-manager/v0.0.0 (linux/amd64) kubernetes/$Format/system:serviceaccount:openshift-infra:image-import-controller,verb:POST (20-Aug-2025 07:23:06.269) (total time: 612ms):
      2025-08-20T07:23:06.881623653Z Trace[1024022447]: [612.228484ms] [612.228484ms] END
      2025-08-20T07:23:07.138885455Z E0820 07:23:07.138837       1 strategy.go:60] "Unhandled Error" err="unable to parse manifest for \"sha256:b95b77cd1b794265f246037453886664374732b4da033339ff08e95ec410994c\": unexpected end of JSON input"
      ...
      

      Expected results:

      Should not show "[SHOULD NOT HAPPEN]"

      Additional info:

       

              Unassigned Unassigned
              xxia-1 Xingxing Xia
              None
              None
              Rahul Gangwar Rahul Gangwar
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: