[Openstack] Setting up Openstack Havana with Docker driver

Asiri Liyana Arachchi asiriwork at gmail.com
Fri Jul 18 13:51:37 UTC 2014


Hi all,

Environment:
     Ubuntu 14.04
     virtualbox 4.3.10_ubuntu
     Ubuntu server 13.10 64 bit
     Docker Version 0.7.6

I've followed this [1] guide to setup openstack with docker driver.I've
used three network adapters in setting up ubuntu server in virtualbox. One
nat and two host interfaces. One of the host only interface is to connect
to the virtualbox via ssh without confilicting with the host only interface
reserved for Openstack. Eventually I was able to run stack.sh successfully
[2].

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: g
This is your host ip: 10.0.2.15
2014-07-18 12:53:51.378 | stack.sh completed in 230 seconds.


eth1 and eth2 in virtualbox

eth1      Link encap:Ethernet  HWaddr 08:00:27:59:13:60
          inet addr:192.168.92.30  Bcast:192.168.92.255  Mask:255.255.255.0


eth2      Link encap:Ethernet  HWaddr 08:00:27:67:06:99
          inet addr:192.168.57.30  Bcast:192.168.57.255  Mask:255.255.255.0


Here is my localrc

FLOATING_RANGE=192.168.92.0/27
FIXED_RANGE=10.11.12.0/24
FIXED_NETWORK_SIZE=256
FLAT_INTERFACE=eth1
ADMIN_PASSWORD=g
MYSQL_PASSWORD=g
RABBIT_PASSWORD=g
SERVICE_PASSWORD=g
SERVICE_TOKEN=g
SCHEDULER=nova.scheduler.filter_scheduler.FilterScheduler
VIRT_DRIVER=docker
SCREEN_LOGDIR=$DEST/logs/screen



But when I try to log into horizon UI(http://192.168.57.30) in host (
ubuntu 14.04 ) it says

 Forbidden
   You don't have permission to access / on this server.
   Apache/2.4.6 (Ubuntu) Server at 192.168.57.30 Port 80

when with http://192.168.92.30 it says can't connect. I guess problem is
with localrc config. I would appreciate a lot if some one can help me on
this.


[1] :
http://damithakumarage.wordpress.com/2014/01/31/how-to-setup-openstack-havana-with-docker-driver/
[2] :
https://drive.google.com/file/d/0B7KeGmlNcKobWHYyMGZKZFB4cjg/edit?usp=sharing



Regards,
Asiri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140718/be309a6f/attachment.html>


More information about the Openstack mailing list