Is there a way to log or see what has been sent to the API via Sunstone or the CLI ?
Hello @jungle
You can see this information in the file /var/log/one/oned.log
as calls are pretty big, you need to increase the log format.
In order to do that change the variable LOG_CALL_FORMAT
and increase the number next to %l
. After doing that, restart OpenNebula and execute the API call you want. For example:
Req:7424 UID:0 IP:127.0.0.1 one.vmpool.infoextended invoked , -2, -1, -1, -1
The API call is one.vmpool.infoextended
and the parameters are -2, -1, -1, -1
. You can find information about the meaning of each parameter here.
Best,
Álex.
2 Likes