instance getting and not getting ip!

asked 2014-09-12 01:35:59 -0600

dsid gravatar image

updated 2014-09-12 05:52:46 -0600

lafada gravatar image

Hi there!

I am new to openstack and i followed the installation guide of icehouse for ubuntu 12.04/14.04

I chose 3 node architecture. Controller, Nova, Neutron.

The 3 nodes are installed in VM's. I used nested KVM. Inside VM's kvm is supported so nova will use virt_type=kvm. In controller i created 2 nics. eth0 is a NAT interface with ip 203.0.113.94 and eth1 a host only interface with ip 10.0.0.11.

In nova there are 3 nics. eth0 NAT - 203.0.113.23, eth1 host only 10.0.0.31 and eth2 another host only 10.0.1.31

In neutron 3 nics. eth0 NAT 203.0.113.234, eth1 host only 10.0.0.21 and eth2 another hosty only 10.0.1.21 (during installation guide in neutron node i created a br-ex (and a port to eth0) which took the settings of eth0 and eth0 settings are:

auto eth0 
iface eth0 inet manual 
up ifconfig $IFACE 0.0.0.0 up  
up ip link set $IFACE promisc on  
down ip link set $IFACE promisc off   
down ifconfig $IFACE down)

Everything seemed fine. I can create networks, routers etc, boot instances but i have this error.

When i launch an instance it takes a fixed ip but when i log in into instance (cirros) cant ping anything. ifconfig with no ip.

I noticed that in demo-net (tenant network) properties under subnet in the ports field it has 3 ports. 172.16.1.1 network:router_interface active 172.16.1.3 network:dhcp active 172.16.1.6 compute:nova down

I searched for solutions over the net but couldn't find anything!

Any help?

Ask me if you want specific logs because i dont know which ones to post!

Thanx anyway!

edit retag flag offensive close merge delete

Comments

there are a lot of questions and debugging instructions on this site for similar problems. Search 'cannot ping' and 'cannot ssh', follow debugging instructions there. Edit this question and add details as you debug.

smaffulli gravatar imagesmaffulli ( 2014-09-12 18:20:40 -0600 )edit