XO - Restore Health Check
-
Ping @florent maybe
-
I can confirm this is the case for me too, not a huge deal, but would be kinda nice if it could keep track of the name.
-
@planedrop said in XO - Restore Health Check:
I can confirm this is the case for me too, not a huge deal, but would be kinda nice if it could keep track of the name.
Thanks for verifying, it is probably an easy fix for the vates ppl
-
Since Flo is AFK, maybe @MathieuRA can take a quick look (if it's only a display thing that would make sense)
-
Hi, @nikade
As you said, the VM is deleted at the end of the health-check, and it will not be trivial to keep the VM name.BTW, maybe we can add a column.
So the currentVM
column will point to the VM used for the health-check (no change), and the new column will point to the backuped VM. What do you think? -
@MathieuRA said in XO - Restore Health Check:
Hi, @nikade
As you said, the VM is deleted at the end of the health-check, and it will not be trivial to keep the VM name.BTW, maybe we can add a column.
So the currentVM
column will point to the VM used for the health-check (no change), and the new column will point to the backuped VM. What do you think?Cant you just read $name and print $name in the column instead of a hyperlink to the VM (when it is deleted)?
This is the flow that I imagine:Health check starts -> $name of VM is recorded -> $name is listed as a hyperlink in the VM column -> VM is deleted -> $name is listed as text in the VM column.
-
@nikade said in XO - Restore Health Check:
of VM is recorded -> $name is listed as a hyperlink in the VM column -> VM is deleted -> $name is listed as text in the VM column.
No we can't, we do not have direct access to the VM name.
We must first find the VM using an ID and then return thename_label
property of the VM object. -
@MathieuRA said in XO - Restore Health Check:
@nikade said in XO - Restore Health Check:
of VM is recorded -> $name is listed as a hyperlink in the VM column -> VM is deleted -> $name is listed as text in the VM column.
No we can't, we do not have direct access to the VM name.
We must first find the VM using an ID and then return thename_label
property of the VM object.OK, so it is possible!
-
@nikade said in XO - Restore Health Check:
OK, so it is possible!
Reply
If the VM is deleted, we can no longer find it, so we cannot retrieve the
name label
property of an object that does not exist. -
At least for XO5, there is no trivial way to do that.
So will probably need to wait for XO6.