You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Ignore failed to watch, fail to elect, fail to create vmip errors in virtualization-controller log.
- Use Eventually to test IP in cilium agents.
- Fix handling kubectl errors in SaveResourcesForTest.
- Wait for snapshots readiness before checking for unfrozen filesystems.
Signed-off-by: Ivan Mikheykin <[email protected]>
- "Forbidden: no new finalizers can be added if the object is being deleted, found new finalizers"
54
+
- "Failed to watch"# error if virtualization-controller restarts during tests. "msg": "Failed to watch", "err": "Get \"http://127.0.0.1:23915/apis/virtualization.deckhouse.io/v1alpha2/virtualmachinerestores?allowWatchBookmarks=true\u0026resourceVersion=709816257\u0026timeoutSeconds=310\u0026watch=true\": context canceled"
55
+
- "leader election lost"
54
56
regexpLogFilter:
55
57
- "failed to detach: .* not found"# "err" "failed to detach: virtualmachine.kubevirt.io \"head-497d17b-vm-automatic-with-hotplug\" not found",
56
58
- "error patching .* not found"# "err" "error patching *** virtualimages.virtualization.deckhouse.io \"head-497d17b-vi-pvc-oref-vi-oref-vd\" not found",
57
59
- "IP address .* is not among addresses assigned to 'default' network interface .*"# "msg": "IP address (10.66.10.61) is not among addresses assigned to 'default' network interface (10.66.10.60)"
58
60
- "failed to get vmSnapshot: VirtualMachineSnapshot\\.virtualization\\.deckhouse.io .* not found"# "msg": "failed to get vmSnapshot: VirtualMachineSnapshot.virtualization.deckhouse.io \"main-to-pr14969-ynv-0-ef17ba-20250908-142437\" not found"
59
61
- "failed to sync virtual disk data source objectref: start immediate: internalvirtualizationdatavolumes.cdi.internal.virtualization.deckhouse.io .* is forbidden: unable to create new content in namespace .* because it is being terminated"# "err": "failed to sync virtual disk data source objectref: start immediate: internalvirtualizationdatavolumes.cdi.internal.virtualization.deckhouse.io \"vd-head-b3d8865-vd-root-migration-bios-d77ea313-f469-463d-a71b-00c89ca542ab\" is forbidden: unable to create new content in namespace head-b3d8865-end-to-end-vm-migration because it is being terminated"
62
+
- "Failed to update lock optimistically:.*leases.*leader-election-helper.*"# error during virtualization-controller lifecycle: attempt to reacquire leader election. "msg": "Failed to update lock optimistically: Put \"http://127.0.0.1:23915/apis/coordination.k8s.io/v1/namespaces/d8-virtualization/leases/d8-virt-operator-leader-election-helper?timeout=5s\": context deadline exceeded (Client.Timeout exceeded while awaiting headers), falling back to slow path"
63
+
- "Failed to update lock: .* leases.*leader-election-helper.*"# "msg": "ock: Operation cannot be fulfilled on leases.coordination.k8s.io \"d8-virt-operator-leader-election-helper\": the object has been modified; please apply your changes to the latest version and try again",
64
+
- "failed to create VirtualMachineIPAddress .* the specified IP address .* has already been allocated and has not been released"# "err": "failed to create VirtualMachineIPAddress \"head-5d2c558-vm-restore-safe-tfv4w\": admission webhook \"vmip.virtualization-controller.validate.d8-virtualization\" denied the request: the VirtualMachineIPAddress cannot be created: the specified IP address 10.66.10.4 has already been allocated and has not been released"
returnerrors.New("still wait for all snapshots either in ready or in deletion state")
298
+
}
299
+
returnnil
300
+
}).WithTimeout(
301
+
LongWaitDuration,
302
+
).WithPolling(
303
+
Interval,
304
+
).Should(Succeed(), "all snapshots should be in ready state after creation")
305
+
})
306
+
285
307
// TODO: It is a known issue that disk snapshots are not always created consistently. To prevent this error from causing noise during testing, we disabled this check. It will need to be re-enabled once the consistency issue is fixed.
286
308
// It("checks snapshots of attached VDs", func() {
287
309
// By(fmt.Sprintf("Snapshots should be in %s phase", PhaseReady))
@@ -319,7 +341,7 @@ var _ = Describe("VirtualDiskSnapshots", ginkgoutil.CommonE2ETestDecorators(), f
319
341
returnnil
320
342
}
321
343
iffrozen {
322
-
returnfmt.Errorf("the filesystem of the virtual machine %s/%s is frozen", vm.Namespace, vm.Name)
344
+
returnfmt.Errorf("the filesystem of the virtual machine %s/%s is still frozen", vm.Namespace, vm.Name)
0 commit comments