knative / operator

Combined operator for Knative.
Apache License 2.0
181 stars 98 forks source link

knative-serving is not ready. "Install failed with message: invalid JSON document" #1624

Closed johnnykim closed 4 months ago

johnnykim commented 9 months ago

Describe the bug knative-serving is not getting ready.

$ kubectl get -n knative-serving KnativeServing
NAME              VERSION   READY   REASON
knative-serving   1.3.1     False   Error

$ kubectl get -n knative-serving KnativeServing -o yaml
apiVersion: v1
items:
- apiVersion: operator.knative.dev/v1beta1
  kind: KnativeServing
  metadata:
    annotations:
      kubectl.kubernetes.io/last-applied-configuration: |
        {"apiVersion":"operator.knative.dev/v1beta1","kind":"KnativeServing","metadata":{"annotations":{},"name":"knative-serving","namespace":"knative-serving"},"spec":{"config":{"domain":{"ai.heydealer.com":""}},"version":"1.3"}}
    creationTimestamp: "2022-06-23T07:43:47Z"
    finalizers:
    - knativeservings.operator.knative.dev
    generation: 23
    name: knative-serving
    namespace: knative-serving
    resourceVersion: "1751311742"
    uid: c56ce34f-5f64-49ef-bf40-071fdb90480f
  spec:
    config:
      domain:
        ai.heydealer.com: ""
    version: "1.3"
  status:
    conditions:
    - lastTransitionTime: "2022-06-23T07:44:05Z"
      status: "True"
      type: DependenciesInstalled
    - lastTransitionTime: "2023-11-01T03:40:22Z"
      status: "True"
      type: DeploymentsAvailable
    - lastTransitionTime: "2023-11-07T02:47:08Z"
      message: 'Install failed with message: invalid JSON document'
      reason: Error
      status: "False"
      type: InstallSucceeded
    - lastTransitionTime: "2023-11-07T02:47:08Z"
      message: 'Install failed with message: invalid JSON document'
      reason: Error
      status: "False"
      type: Ready
    - lastTransitionTime: "2023-11-02T08:04:40Z"
      status: "True"
      type: VersionMigrationEligible
    manifests:
    - /var/run/ko/knative-serving/1.3.1
    observedGeneration: 23
    version: 1.3.1
kind: List
metadata:
  resourceVersion: ""

Knative release version

Additional context If I upgrade knative-serving 1.3 to 1.4 with ignoring this issue, kserve pod's queue-proxy container returns required key QUEUE_SERVING_TLS_PORT missing value error.

houshengbo commented 8 months ago

1.3? I am afraid this is not an active version any more.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.