Release: v3.0.2-rc07
A VM has several USB devices directly attached (i.e. not via resource mappings), which are configured to be ignored by setting ignore_changes = [usbs].
Running terraform plan shows no changes for USB devices as expected, but when running terraform apply it fails with
Error: error updating VM: 500 only root can set 'usb0' config for real devices, error status: {"data":null,"message":"only root can set 'usb0' config for real devices\n"} (params: ...
When USB configuration should be ignored, then I would expect that terraform does not need to change the configuration by setting an usb0 device and thus would not fail with missing permissions.
Note, this happens only when other parts of the VM configuration need to be changed.
Release: v3.0.2-rc07
A VM has several USB devices directly attached (i.e. not via resource mappings), which are configured to be ignored by setting
ignore_changes = [usbs].Running
terraform planshows no changes for USB devices as expected, but when runningterraform applyit fails withWhen USB configuration should be ignored, then I would expect that
terraformdoes not need to change the configuration by setting anusb0device and thus would not fail with missing permissions.Note, this happens only when other parts of the VM configuration need to be changed.