Geronimo Orozco
Open source software hacker focused on cloud and automation technologies, linux, openstack, aws, vagrant, heroku, puppet, chef, cloudinit, docker, lxc etc. Mountain biker and avid reader.
"To produce the ubiquitous Open Source Cloud Computing platform that will meet the needs of public and private clouds regardless of size, by being simple to implement and massively scalable"
ComputingOpenStack Compute (Nova) OpenStack Image service (Glance) |
NetworkingOpenStack Networking (Neutron) |
StoringOpenStack Object Storage (Swift) OpenStack Block Storage (Cinder) |
To provide and maintain tools used for the installation of the central OpenStack services from source, suitable for development and operational testing. It also demonstrates and documents examples of configuring and running services as well as command line client usage.
$ git clone https://github.com/openstack-dev/devstack.git
$ cd devstack; ./stack.sh
[[local|localrc]]
ADMIN_PASSWORD=secrete
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
#FIXED_RANGE=172.31.1.0/24
#FLOATING_RANGE=192.168.20.0/25
#HOST_IP=10.3.4.5
$ git clone https://github.com/openstack-dev/devstack.git
# cd devstack
# export STACK_USER=stack
# tools/create-stack-user.sh
# echo -e "secrete\nsecrete" | (passwd $STACK_USER)
$ cd devstack
$ vi local.conf
[[local|localrc]]
STACK_USER=stack
ADMIN_PASSWORD=secrete
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
$ ./stack.sh
.
.
.
.
Horizon is now available at http://10.10.10.40/
Keystone is serving at http://10.10.10.40:5000/v2.0/
Examples on using novaclient command line is in exercise.sh
The default users are: admin and demo
The password: secrete
This is your host ip: 10.10.10.40
2014-07-21 07:49:14.808 | stack.sh completed in 1334 seconds.
$
$ git clone https://github.com/patux/devstack-minimal-vagrant.git
$ cd devstack-minimal-vagrant
$ vagrant up
.
.
==> default: Horizon is now available at http://10.10.10.40/
==> default: Keystone is serving at http://10.10.10.40:5000/v2.0/
==> default: Examples on using novaclient command line is in exercise.sh
==> default: The default users are: admin and demo
==> default: The password: secrete
==> default: This is your host ip: 10.10.10.40
==> default: 2014-07-21 07:49:14.808 | stack.sh completed in 1334 seconds.
$ vagrant ssh
sudo grep --color vmx /proc/cpuinfo
$ cd devstack-minimal-vagrant
$ vagrant box add trusty64-openstack trusty64-openstack.box
$ vim Vagrantfile
$ vagrant up --no-provision
$ vagrant ssh
$ cd devstack
$ vim local.conf
[[local|localrc]]
STACK_USER=vagrant
ADMIN_PASSWORD=secrete
DATABASE_PASSWORD=secrete
RABBIT_PASSWORD=secrete
SERVICE_PASSWORD=secrete
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
OFFLINE=true
RECLONE=false
GUEST_INTERFACE_DEFAULT=eth1
HOST_IP_IFACE=eth1
[[post-config|$NOVA_CONF]]
[DEFAULT]
flat_interface = eth1
vlan_interface = eth1
$ ./stack.sh
$ source openrc admin admin
$ echo $OS_TENANT_NAME
$ echo $OS_USERNAME
$ echo $OS_PASSWORD
$ echo $OS_AUTH_URL
$ source openrc demo demo
$ echo $OS_TENANT_NAME
$ echo $OS_USERNAME
$ echo $OS_PASSWORD
$ echo $OS_AUTH_URL
By Geronimo Orozco
First open session of the Openstack Community GDL | The goal of this session will be installing and configuring work environments for the development and use of OpenStack through Devstack.
Open source software hacker focused on cloud and automation technologies, linux, openstack, aws, vagrant, heroku, puppet, chef, cloudinit, docker, lxc etc. Mountain biker and avid reader.