Ask Your Question

How to know the time when the vm request is done and at what time the return request accepted?

asked 2016-08-11 07:31:27 -0500

bhavani gravatar image

Let me know how to see the time elapsed of vm provisioning ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-08-12 06:37:03 -0500

Script the provisioning with something like:

START=$(date +%s)
nova boot --poll --flavor m1.tiny --image cirros --nic net-id=NETWORK_ID test
END=$(date +%s)
echo $((START-END))

The --poll option will wait for provisioning to complete.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-08-11 07:31:27 -0500

Seen: 59 times

Last updated: Aug 12 '16