Auto Power ON says Invalid Parameters
-
No, that's perfect Just check you are indeed on the latest commit.
-
@olivierlambert Thank you.
It looks like the backup generated from a different server does not work well for options such as "auto power on" when restored on a new server.
But if I just build xo from source in a new VM on the new server, "auto power on" works perfectly. -
@msagautam said in Auto Power ON says Invalid Parameters:
@olivierlambert Thank you.
It looks like the backup generated from a different server does not work well for options such as "auto power on" when restored on a new server.
But if I just build xo from source in a new VM on the new server, "auto power on" works perfectly.Pinging @julien-f if he knows about that.
-
This should be fixed on master: https://github.com/vatesfr/xen-orchestra/commit/e171d8ed0e786772c9ccdb7dd4127d42faae141a
-
Yeah but is it affecting VMs backup before the fix? I mean, if you restore a VM with the issue, even with the fix, should it work?
-
I backed up the server 3 days ago, which is when e171d8e commit has been made. So it is most likely that I have cloned from github and installed xo-server before this fix.
To answer oliver's question, the restore would still have the issue because the xo-server built is before the fix. So I will have to fetch the update and rebuild xo-server again, and then I have to backup for future restores. -
Just to be clear: if you are on the latest commit, does restoring of an "old" backup (done when it was broken) works?
-
Are you asking whether I can auto-power on the restored VMs from the latest commit of orchestra?
Answer: Yes, it works!
Reason: Looks like the parameter was not available before and julien-f has fixed it by adding the parameter in this commit: https://github.com/vatesfr/xen-orchestra/commit/e171d8ed0e786772c9ccdb7dd4127d42faae141a
Thank you all! -
Thanks for your feedback
-
@msagautam said in Auto Power ON says Invalid Parameters:
Are you asking whether I can auto-power on the restored VMs from the latest commit of orchestra?
He, without any doubt, wanted to know, if that also works with old backups, which have been created before the fix was submitted. (As of: Are old backups still broken?)
Your answer doesn't say if you power up old (pre fix) or new (post fix) created backups.
-
@cg it works on restored VMs from pre-fix backups.
I haven't tested post fix backups yet. However, it also works on newly installed VMs.