I am trying to get a Fedora CoreOS instances to live migrate that has a residual set of "args" with ignition files and such that are blocking the live migration from becoming occurring. I wish to modify the hook-script to perform this task:
Now this works but it is in a "pending" state and I wish for it to immediately modify the configuration (despite the VM being up and about to live migrate), so that the args can be removed and not prevent the live migration.
Any ideas on how I could accomplish this?
I also tried to perform this to obtain the args value in precedence to executing the above entitled pvesh set but it did not work. Is there a pvesh get command that will extract strictly the args value?
I did get code as follows hereupon to extract the args setting but gosh is it ugly!
By the way, it would be really useful if there was a phase for "pre-migration" and "post-migration" that the hook-script could work with.
Thanks!
Stuart, N3GWG
Code:
pvesh set /nodes/pve1/qemu/112/config --args ''
Now this works but it is in a "pending" state and I wish for it to immediately modify the configuration (despite the VM being up and about to live migrate), so that the args can be removed and not prevent the live migration.
Any ideas on how I could accomplish this?
I also tried to perform this to obtain the args value in precedence to executing the above entitled pvesh set but it did not work. Is there a pvesh get command that will extract strictly the args value?
Code:
pvesh get /nodes/pve1/qemu/112/config --args
I did get code as follows hereupon to extract the args setting but gosh is it ugly!
Code:
pvesh get /nodes/pve1-nuc7i7dnhe/qemu/112/config --noheader --noborder --output-format text | grep -i '^args' | tr -s ' ' | cut -d' ' -f2-
By the way, it would be really useful if there was a phase for "pre-migration" and "post-migration" that the hook-script could work with.
Thanks!
Stuart, N3GWG
Last edited: