Ask Your Question
0

I can't get access to VM instances with RDO

asked 2015-02-20 06:23:36 -0500

Pasquale Salza gravatar image

Hi there, I have a lot of problems with RDO/OpenStack configuration. Firstly, I need to describe my network situation.

I have 7 machine, each of them with 2 NIC. I would like to use one machine as a controller/network node and the others as compute nodes.

I would like to use the eth0 to connect nodes to internet (and get access by remote sessions) with the network "172.16.58.0/24", in which I have just 7 available IPs, and eth1 as configuration network on the network 10.42.100.0/42.

This is my current configuration, for each node (varying the IPs on each machine):

eth0:
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
IPADDR=172.16.58.50
NETMASK=255.255.255.0
GATEWAY=172.16.58.254
DNS1=172.16.58.50
DOMAIN=###
DEFROUTE="yes"

eth1:
DEVICE=eth1
TYPE=OVSPort
DEVICETYPE=ovs
OVS_BRIDGE=br-ex
ONBOOT=yes

br-ex:
DEVICE=br-ex
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=static
IPADDR=10.42.100.1
NETMASK=255.255.255.0
ONBOOT=yes

I'd like to have instances on 10.42.200.0/24 virtual private network and the remaining IPs of 10.42.100.0/24 network as floating IPs.

These are the relevant parts of my answers.txt file:

CONFIG_CONTROLLER_HOST=10.42.100.1
CONFIG_COMPUTE_HOSTS=10.42.100.10,10.42.100.11,10.42.100.12,10.42.100.13,10.42.100.14,10.42.100.15
CONFIG_NETWORK_HOSTS=10.42.100.1
CONFIG_AMQP_HOST=10.42.100.1
CONFIG_MARIADB_HOST=10.42.100.1
CONFIG_NOVA_COMPUTE_PRIVIF=eth1
CONFIG_NOVA_NETWORK_PUBIF=eth1
CONFIG_NOVA_NETWORK_PRIVIF=eth1
CONFIG_NOVA_NETWORK_FIXEDRANGE=10.42.200.0/24
CONFIG_NOVA_NETWORK_FLOATRANGE=10.42.100.0/24
CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan
CONFIG_NEUTRON_ML2_VNI_RANGES=10:100
CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1

After the installation, I configure the network like this:

neutron router-create router
neutron net-create private
neutron subnet-create private 10.42.200.0/24 --name private-subnet
neutron router-interface-add router private-subnet
neutron net-create public --router:external=True
neutron subnet-create public 10.42.100.0/24 --name public-subnet --enable_dhcp=False --allocation-pool start=10.42.100.100,end=10.42.100.200 --no-gateway
neutron router-gateway-set router public

I'm able to launch instances but I can't get access (ping/ssh) them.

Please, help me!

edit retag flag offensive close merge delete

Comments

Have you created an security group rules that permit ssh/ping? See https://www.youtube.com/watch?v=lj5D9... for a walk-through of doing that, if you haven't yet.

rbowen gravatar imagerbowen ( 2015-03-02 13:00:59 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-02 20:14:53 -0500

rushi gravatar image

i have the same problem. could some please explain what is missing on the network.

BR< Rushi.

edit flag offensive delete link more

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-02-20 06:23:36 -0500

Seen: 685 times

Last updated: Mar 02 '15