ironcore icon indicating copy to clipboard operation
ironcore copied to clipboard

validate volumes with machine status

Open lukas016 opened this issue 2 years ago • 0 comments

Describe the bug We can attach volume with the same name into machine as it is currently stuck in detaching/deleting process, because validation is checking specification only. We need extend validation for checking volumes in status for avoid unexpected behavior.

To Reproduce

  1. Create VM with 2 empty disk
  2. Change permissions for empty disk folder (we need to simulate bug and disk cannot be deleted)
  3. Detach empty disk with changed permissions
  4. Attach empty disk with the same name but different device

Expected behavior Step 4 has to fail. We cannot have devices with same name or device at the same time.

lukas016 avatar Feb 05 '24 12:02 lukas016