Ask Your Question
0

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

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

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
1

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

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. https://wiki.openstack.org/wiki/Neutr...

edit flag offensive delete link more

Comments

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

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

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

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

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

dbaxps gravatar image

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

UPDATE 04/14/2015

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

where 192.168.1.57 HOST_IP on Devstack Node
192.168.10.0/24   devstack's public  network
192.168.1.0/24    LAN address

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

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

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
0

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

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

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 stack.sh .. your problem will be solved.

edit flag offensive delete link more

Comments

Could you be so kind to provide a sample of local.conf with syntax you've mentioned ? Sample which I usually use here https://ask.openstack.org/en/question...
Except "LIBVIRT_TYPE=xen"

dbaxps gravatar imagedbaxps ( 2015-04-14 07:52:34 -0500 )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 -0500 )edit

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

Arvinder_Singh gravatar imageArvinder_Singh ( 2015-04-14 08:43:06 -0500 )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

Stats

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

Seen: 1,222 times

Last updated: Apr 14 '15