Setting "Protect from accidental deletion" breaks with backups and healtchecks
-
Not that this is an answer, but what happens if you uncheck the deletion box, and delete them manually?
-
@Greg_E i think protection is doing its job. do not delete.
but in case of healthcheck, the process should bypass that for the restored VMthoughts @bastien-nollet @florent ?
-
@Pilow clearly that is a bug
-
Manually unchecking makes the problem go away..
And I can also delete manually (after unchecking the HC-vms) -
@florent I did healthchecks one month or two ago.. I do not remember precisely
but I didn't have this bug.
so either specific to OP installation, or there is a regression somewhere
-
I didn't have this before yesterday, which is when I updated. And I update from source regularly. So the regression has happened since the last few (<1w) days.
I'll step backwards and see which commit introduced the bug.
-
@probain we fixed VM that was incorrectly updating their blocked operations, so maybe it's a case that "it's so broken that it works", and fixing one issue means doing more work to fix the full list
-
@greg_e & @florent
I have gone back through the commits, and I believe it is0a042d2f54a74ecc11a377809272337cb5c880d9that introduces the bugg.
https://github.com/vatesfr/xen-orchestra/commit/0a042d2f54a74ecc11a377809272337cb5c880d9My last known good and working commit is the one just prior to it,
a831ac7b213eb6fc7f05fbd466407d5cf379cfe9.Tried with the latest commit (as the time of writing).
91c5d98489b5981917ca0aabc28ac37acd448396. But this didn't fix it, unfortunately.Filed a issue/bugg-report on github for this
https://github.com/vatesfr/xen-orchestra/issues/9472
@pilow
A lot of updates can, and do, happen in a month or two
-
I'm still on an older commit, being lazy and haven't had the time to update. Next week is Microsoft updates day, I may deal with XO the same day.
I run health checks on mine every night when they backup, so for me this could get big very fast. I think I'm going to continue to wait until there is more news on this issue, or I'll have to uncheck the accidental deletion box (not my desired choice). I'll let you know next week what I decided.
-
@Greg_E
or just uncheck the "protection"-flag. But that get tedious very quickly. And I only had to do it on 6 VMs.