From 6cfb887d8d11419fccfe10d218444b73d730f517 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Sun, 18 Mar 2012 17:35:57 -0700 Subject: [PATCH] Add nova validation sctipt to ext This commit creates an ext directory and stored a file there that is intended to be used to perform some basic integration tests on a functional nova instance. --- ext/nova.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 ext/nova.sh diff --git a/ext/nova.sh b/ext/nova.sh new file mode 100755 index 000000000..c69aecc8d --- /dev/null +++ b/ext/nova.sh @@ -0,0 +1,19 @@ +#!/bin/bash +# Extract creds +cd ~ +sudo nova-manage project zipfile nova novaadmin +unzip nova.zip +source novarc +euca-add-keypair openstack > ~/cert.pem +# List +nova flavor-list +nova image-list + +# Run instance +euca-run-instances ami-00000003 -k openstack -t m1.tiny +euca-describe-instances + +echo 'log into your controller VM' +echo 'check the status of your VM with euca-describe-instances' +echo 'when it is in the running state, verify that you can login' +echo 'using ssh -i ~/cert.pem root@ip.address'