lost and found ( for me ? )

Showing posts with label open stack. Show all posts
Showing posts with label open stack. Show all posts

build a single architecture node by using stackopts ISO within KVM

Here’s how to build openstack environment within KVM.
I am newbie to optenstack.

download stackops community ISO and build that within KVM.

you can download an ISO as below link.

I am going to build a VM with stackops-community-1.0.1-b1530.iso

OS Type : Linux
Version : Ubuntu 12.04 LTS




after finishing the installattion, access to https://IP address:8888 to set up an initial configuration.
create an account and configure a single node architecture by following the GUI instruction.




done.

access to http://IP address to log onto stackopts portal.
user : portal , credentials : password




after log on

click “Openstack Dashboard”

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