lost and found ( for me ? )

Install OpenStack Juno on Virtualbox

Here are logs when installing OpenStack Juno on Virtualbox.

Reference
http://openstack-cloud-mylearning.blogspot.jp/2015/02/openstack-juno-devstack-installation.html

Many thanks! I just followed this instruction.

Host OS : Ubuntu 14.04 ( virtualbox )
Guest OS : Ubuntu 14.04 <- I installed Juno within this VM.

Guest OS : vCUP*2, Memory 8GB, vHDD 50GB, vNIC * 1

on the VM.
hattori@ubuntu:~$ sudo apt-get install git -y

hattori@ubuntu:~$ git clone -b stable/juno https://git.openstack.org/openstack-dev/devstack

hattori@ubuntu:~$ cd devstack/

create a local.conf
hattori@ubuntu:~/devstack$ vi local.conf

hattori@ubuntu:~/devstack$ cat local.conf

cal|localrc]]
ADMIN_PASSWORD=stack
SERVICE_TOKEN=$ADMIN_PASSWORD
MYSQL_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

# Branch
GLANCE_BRANCH=stable/juno
HORIZON_BRANCH=stable/juno
KEYSTONE_BRANCH=stable/juno
NOVA_BRANCH=stable/juno
NEUTRON_BRANCH=stable/juno
HEAT_BRANCH=stable/juno
CEILOMETER_BRANCH=stable/juno
TROVE_BRANCH=stable/juno

# Services
ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,g-api,g-reg
ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
ENABLED_SERVICES+=,horizon

# Ceilometer
ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api
ENABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval

# Heat
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng

# Neutron
DISABLED_SERVICES=n-net
ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-metering,neutron

# Neutron - Load Balancing
ENABLED_SERVICES+=,q-lbaas

# VLAN configuration
Q_PLUGIN=ml2
ENABLE_TENANT_VLANS=True

# GRE tunnel configuration
Q_PLUGIN=ml2
ENABLE_TENANT_TUNNELS=True
Q_ML2_TENANT_NETWORK_TYPE=gre

# Logging
LOGFILE=$DEST/logs/stack.sh.log
SCREEN_LOGDIR=$DEST/logs/screen
LOGDAYS=2

# Swift
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data

# Tempest
enable_service tempest
hattori@ubuntu:~/devstack$

There is a sample local.conf under sample directory.
hattori@ubuntu:~/devstack$ ls samples/
local.conf  local.sh

install openstack by using “stack.sh”
hattori@ubuntu:~/devstack$ pwd
/home/hattori/devstack

hattori@ubuntu:~/devstack$
hattori@ubuntu:~/devstack$ ./stack.sh




Horizon is now available at http://10.0.2.15/
Keystone is serving at http://10.0.2.15:5000/v2.0/
Examples on using novaclient command line is in exercise.sh
The default users are: admin and demo
The password: 3f03ff9ca5e9840bb1ad
This is your host ip: 10.0.2.15
2015-06-11 16:46:07.186 | stack.sh completed in 1522 seconds.


configure port forwarding on virtualbox so that we can access to the horizon from the host OS.
on virtualbox,

VM -> Setting -> Network -> Adapter 1 -> Port forward


access to the Horizon. ( http://127.0.0.1:8080 )
login as user ‘demo’


Instances -> Launch Instance


now one instance is running.


hattori@ubuntu:~/devstack$ sudo virsh list --all
Id    Name                           State
----------------------------------------------------
2     instance-00000001              running

access to the VM.
Actions -> Console

“Click here to show only console”
You will not access to the VM, because this tries to access to the VM over TCP 6080, but this is not allowed.


configure port forward on virtualbox.




“Click here to show console” as a new tab and change an IP address to 127.0.0.1:6080

I can’t enter double colon ( : ) via console...

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.