Ask Your Question

Is it possible to run neutron from devstack using an all on one machine approach?

asked 2015-04-02 17:16:32 -0600

fatk1d gravatar image

So, I installed devstack and put together a minimal local.conf file and it installed just fine. Then I realized that I couldn't reach any of the VMs that I was trying to spawn from my local network. I did some research and I think that in order for me to be able to reach the OpenStack VMs from my local area network (192.168.1.X), I need to have devstack-neutron installed along with OVS. Is it possible to use devstack and an all one one machine approach with neutron so that I can reach my OpenStack VMs from my LAN? I've been trying to get this to work for over a week now and I haven't been able to.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2015-04-03 14:40:02 -0600

Yes sir you've just got to make a few modifications to your local.conf before deploying. I think you may need to modify a few iptables rules for the NAT to access your LAN, Good Luck.

edit flag offensive delete link more


Thanks so much for your response. I may be back with more questions later. :)

fatk1d gravatar imagefatk1d ( 2015-04-03 16:32:25 -0600 )edit

I don't see here any additional iptables NAT rules on devstack node.

dbaxps gravatar imagedbaxps ( 2015-04-14 07:21:19 -0600 )edit

answered 2015-04-04 06:14:48 -0600

dbaxps gravatar image

updated 2015-04-14 07:19:17 -0600

UPDATE 04/14/2015

Run on Devstack Node
# Add route to LAN
$ sudo route add -net gw
Run on LAN box
# Add route to devstack public network  via HOST_IP
$ sudo route add -net gw

where HOST_IP on Devstack Node   devstack's public  network    LAN address

First : follow
Second: Set up SSH trusting between LAN boxes and devstack node ( with master on one of LANs machine)
Third: On devstack node (IP open ports 5900-6000
update /etc/rc.d/rc.local on remote hosts setting up tunnelling VNC over SSH

ssh -L 5901: -N -f -l root
ssh -L 5902: -N -f -l root
.  .  .  .  .  .

Fourth : on remote machine run to open VNC session with VM running on devstack node :-

$ vncviewer localhost:590(X).

All set

edit flag offensive delete link more

answered 2015-04-14 07:42:01 -0600

updated 2015-04-14 10:45:53 -0600

yes you can configure your local.conf file with neutron enable and you provide the networking details like host ip , gateway, private network etc...and run .. your problem will be solved.

edit flag offensive delete link more


Could you be so kind to provide a sample of local.conf with syntax you've mentioned ? Sample which I usually use here
Except "LIBVIRT_TYPE=xen"

dbaxps gravatar imagedbaxps ( 2015-04-14 07:52:34 -0600 )edit

Actually , I have no any idea how to issue command via local.conf on 10 another boxes on my LAN

dbaxps gravatar imagedbaxps ( 2015-04-14 08:12:13 -0600 )edit

Like what i have done is i have a local.conf file, and just executing i am able to run openstack all in one system is down currently..i will give once it comes up

Arvinder_Singh gravatar imageArvinder_Singh ( 2015-04-14 08:43:06 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-04-02 17:16:32 -0600

Seen: 1,233 times

Last updated: Apr 14 '15