Ask Your Question
1

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 -0600

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
0

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

Script the provisioning with something like:

#!/bin/bash
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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 40 times

Last updated: Aug 12 '16