pixie
pixie copied to clipboard
Operator logs spam "Could not update K8s resource for services"
│ time="2022-06-23T15:41:31Z" level=info msg="Could not update K8s resource" error="Service \"kelvin-service\" is invalid: metadata.resourceVersion: Invalid value: \"\": must be specified for an update" │
│ time="2022-06-23T15:41:31Z" level=info msg="Could not update K8s resource" error="Service \"vizier-cloud-connector-svc\" is invalid: metadata.resourceVersion: Invalid value: \"\": must be specified for an update" │
│ time="2022-06-23T15:41:31Z" level=info msg="Could not update K8s resource" error="Service \"vizier-metadata-svc\" is invalid: metadata.resourceVersion: Invalid value: \"\": must be specified for an update" │
│ time="2022-06-23T15:41:31Z" level=info msg="Could not update K8s resource" error="Service \"vizier-query-broker-svc\" is invalid: metadata.resourceVersion: Invalid value: \"\": must be specified for an update" │
│ time="2022-06-23T15:41:31Z" level=info msg="Could not update K8s resource" error="PersistentVolumeClaim \"metadata-pv-claim\" is invalid: spec: Forbidden: spec is immutable after creation except resources.requests for bound claims\n\u00a0\u00a0core.PersistentVolumeClaimSpec{\n\u00a0\u00a0\tAccessModes: {\"ReadWriteOnce\"},\n\u00a0\u00a0\tSelector: nil,\n\u00a0\u00a0\tResources: {Requests: {s\ │
│ "storage\": {i: {...}, s: \"10Gi\", Format: \"BinarySI\"}}},\n-\u00a0\tVolumeName: \"\",\n+\u00a0\tVolumeName: \"pvc-04226989-599c-488b-827c-2aea9cc40462\",\n-\u00a0\tStorageClassName: nil,\n+\u00a0\tStorageClassName: &\"standard\",\n\u00a0\u00a0\tVolumeMode: &\"Filesystem\",\n\u00a0\u00a0\tDataSource: nil,\n\u00a0\u00a0\tDataSourceRef: nil,\n\u00a0\u00a0}\n" │
During Vizier updates, the operator spams warnings to the log. However, these errors are expected and do not cause any deployment/update issues. They should be fixed as they can be a red herring when trying to figure out other underlying issues.