mirror of
https://github.com/cozystack/cozystack.git
synced 2026-10-28 15:47:33 +09:00
The table test builds its Running conditions by hand, so it can only confirm the shape it already assumes. A DataVolume read off a cluster where the importer had failed on a 404 for days carries a Bound condition with the same error, which the message must not pick up, and proves the error sits where the controller looks for it. Assisted-by: LLM Signed-off-by: Alexey Artamonov <aleksei.artamonov@aenix.io>
63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"apiVersion": "cdi.kubevirt.io/v1beta1",
|
|
"kind": "DataVolume",
|
|
"metadata": {
|
|
"annotations": {
|
|
"cdi.kubevirt.io/storage.usePopulator": "true",
|
|
"vm-disk.cozystack.io/optical": "false"
|
|
},
|
|
"labels": {
|
|
"app.kubernetes.io/instance": "vm-disk-test",
|
|
"app.kubernetes.io/managed-by": "Helm"
|
|
},
|
|
"name": "vm-disk-test",
|
|
"namespace": "default"
|
|
},
|
|
"spec": {
|
|
"contentType": "kubevirt",
|
|
"source": {
|
|
"http": {
|
|
"url": "https://images.example.com/missing.img"
|
|
}
|
|
},
|
|
"storage": {
|
|
"resources": {
|
|
"requests": {
|
|
"storage": "1Gi"
|
|
}
|
|
},
|
|
"storageClassName": "replicated"
|
|
}
|
|
},
|
|
"status": {
|
|
"claimName": "vm-disk-test",
|
|
"conditions": [
|
|
{
|
|
"lastHeartbeatTime": "2026-09-30T13:19:48Z",
|
|
"lastTransitionTime": "2026-09-30T13:19:32Z",
|
|
"message": "target PVC vm-disk-test Pending and [prime-9ea0ceb1-e03b-48fa-9944-3de75e766f6b] : Unable to connect to http data source: expected status code 200, got 404. Status: 404 Not Found",
|
|
"reason": "Pending",
|
|
"status": "False",
|
|
"type": "Bound"
|
|
},
|
|
{
|
|
"lastHeartbeatTime": "2026-10-07T14:50:42Z",
|
|
"lastTransitionTime": "2026-09-30T13:19:32Z",
|
|
"status": "False",
|
|
"type": "Ready"
|
|
},
|
|
{
|
|
"lastHeartbeatTime": "2026-10-07T14:50:42Z",
|
|
"lastTransitionTime": "2026-10-07T14:50:42Z",
|
|
"message": "Unable to connect to http data source: expected status code 200, got 404. Status: 404 Not Found",
|
|
"reason": "Error",
|
|
"status": "False",
|
|
"type": "Running"
|
|
}
|
|
],
|
|
"phase": "ImportInProgress",
|
|
"progress": "N/A",
|
|
"restartCount": 1988
|
|
}
|
|
}
|