lost and found ( for me ? )

Showing posts with label devstack. Show all posts
Showing posts with label devstack. Show all posts

install open stack by using dev stack git and start an instance


Here is how to install open stack in ubuntu 12.04 64bit by using dev stack git.

I’m a newbie to open stack :D

many thanks!

The following box for open stack is running as a virtual machine within Ubuntu 13.04 KVM host.
VM info
root@ubuntu-vm4:~# tail -1 /etc/lsb-release
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
root@ubuntu-vm4:~# uname -ri
3.2.0-43-generic x86_64

KVM host enables netsted-vm ( KVM host )
# cat /sys/module/kvm_intel/parameters/nested
Y

The following is logs I did on the VM ( not KVM host )

root@ubuntu-vm4:~# apt-get install git –y
root@ubuntu-vm4:~# git clone git://github.com/openstack-dev/devstack.git
root@ubuntu-vm4:~# cd devstack/
root@ubuntu-vm4:~/devstack#

install open stack.
root@ubuntu-vm4:~/devstack# ./stack.sh
You are running this script as root.
In 10 seconds, we will create a user 'stack' and run as that user
<snip>
Horizon is now available at http://192.168.10.222/
Keystone is serving at http://192.168.10.222:5000/v2.0/
Examples on using novaclient command line is in exercise.sh
The default users are: admin and demo
The password: zzzzz
This is your host ip: 192.168.10.222
stack.sh completed in 1012 seconds.
#

access to http://< IP address>/ 




start an instance







how to stop / start open stack

stop dev stack
# cd devstack/
# ./unstuck.sh

start dev stack
# reboot
# cd devstack/
# stack.sh

In my environment , I need to restart the OS to start open stack again…

uninstall
root@ubuntu-vm4:~/devstack# ./clean.sh