Can anyone post link. (with examples.. as most documentation for oVirt
lacks this).. where I can power on a VM via CLI or API.
As of now I cannot login to oVirt-Engine. No errors when I restart it..
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/45KKF5TN5PRQ...
BUt... I need to get VMs booted.
I tried to follow:
http://ovirt.github.io/ovirt-engine-api-model/master/
and my server's API web portal
https://ovirte01.penguinpages.local/ovirt-engine/apidoc/#/documents/003_c...
And.. even get POSTMAN (real newbie at that tool but ran into how to add
exported .pem key from portal to session issues)
# failed CLI example: Power on VM "ns01"
########### <<<< DRAFT :: 2020-09-30################
# Get key from oVirt engine and import. Ex: from ovirte01 into server
'thor
curl -k '
https://ovirte01.penguinpages.local/ovirt-engine/services/pki-resource?re...
-o ovirt01_ca.pem
sudo cp ovirt01_ca.pem /etc/pki/ca-trust/source/anchors
sudo update-ca-trust extract
openssl s_client -connect ovirte01.penguinpages.local:443 -showcerts <
/dev/null
<snip... lots of key info back>
# Use key during GET list of VMs
?? <meh?
# Power on VM <<fubar still>
curl -X POST
https://ovirte01.penguinpages.local/post -H
/ovirt-engine/api/vms/ns01/start HTTP/1.1
<
https://ovirte01.penguinpages.local/post%20-H%20/ovirt-engine/api/vms/ns0...
#####
I just need to power on VM
--
p <jeremey.wise(a)gmail.com>enguinpages