How can i "see" VM insantiation time.
Hello everyone,
Im new to Openstack's world, i would like to measure the instantiation time of a VM(i.e the time from "launch" until a vm to be active).
Does openstack provide this somehow?
Thank you in advance.
As far as I know, this is not measured. You could, however, use the nova-api log file. Find out the request ID for the launch request and look at the time stamps of relevant log entries.
It might be easier to just add time measurement to the code.
Thank you for your answer. Do you know which script in nova module should i change? because the git is a little bit chaotic.
Sorry, no. I would have to search for it, probably by finding where the route for the server-create API is defined, then by grepping for code lines that set the status to ACTIVE.
Searching at the nova-compute logs in the compute node.. I realize that logs provide information about the spawning time in the hypervisor(6.6 sec) and after this the time to build the instance (7.34sec for my instance). Do you think that this is the value that i want?