<div dir="ltr"><div><div>Countless times I'm here trying to make my openstack runnig! So here we go again!<br><br></div>My set up is a <a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/existing-ha-networking-options.html">nova-network-ha</a>, so each of my nodes run a nova-{api-metadata,network,compute,volume}, my controller runs all of this and the rest of things it should run.<br>
<br></div><div>So I'm facing many problems in my setup. The main thing is: iptables rules are meaningless, they just doesnt work. VMs can't reach metadata, and floating ip SNAT/DNAT is not pointing to VM.<br><br>
</div>
<div>I will put the max of info I can here.<br><br>root@oxala:~# nova-manage service list <br>
Binary Host Zone Status State Updated_At<br>nova-compute xango nova enabled :-) 2012-12-18 20:34:21<br>nova-network xango nova enabled :-) 2012-12-18 20:34:20<br>
nova-compute oxossi nova enabled :-) 2012-12-18 20:34:15<br>nova-network oxossi nova enabled :-) 2012-12-18 20:34:20<br>
nova-volume oxossi nova enabled :-) 2012-12-18 20:34:18<br>nova-volume xango nova enabled :-) 2012-12-18 20:34:19<br>
nova-consoleauth oxala nova enabled :-) 2012-12-18 20:34:24<br>nova-scheduler oxala nova enabled :-) 2012-12-18 20:34:25<br>
nova-cert oxala nova enabled :-) 2012-12-18 20:34:25<br>nova-volume oxala nova enabled :-) 2012-12-18 20:34:25<br>
nova-network oxala nova enabled :-) 2012-12-18 20:34:17<br>nova-compute oxala nova enabled :-) 2012-12-18 20:34:10<br>
<br></div><div><b>controller nova.conf</b><br>#NETWORK<br>--allow_same_net_traffic=true<br>--network_manager=nova.network.manager.FlatDHCPManager<br>--firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver<br>
--public_interface=eth0<br>
--flat_interface=eth1<br>--flat_network_bridge=br100<br>--fixed_range=<a href="http://10.5.5.32/27">10.5.5.32/27</a><br>--network_size=32<br>--flat_network_dhcp_start=10.5.5.33<br>--my_ip=200.131.6.250<br>--multi_host=True<br>
#--enabled_apis=ec2,osapi_compute,osapi_volume,metadata <br>--dhcpbridge_flagfile=/etc/nova/nova.conf<br>--dhcpbridge=/usr/bin/nova-dhcpbridge<br>--force_dhcp_release<br>--ec2_private_dns_show<br>--routing_source_ip=$my_ip<br>
</div><div><br><div><b>nodes nova.conf</b><br></div><div>{same network configs}<br></div><div>--my_ip=200.131.6.248<br>--multi_host=True<br>--enabled_apis=ec2,osapi_compute,osapi_volume,metadata <br>--routing_source_ip=$my_ip<br>
</div><br></div><b></b><b>controller iptables -L -vn && </b><b>iptables -L -vn</b> <b>-t nat</b><br><a href="http://paste.openstack.org/show/mkWZTYI6cKHR4qUWbOUz/">http://paste.openstack.org/show/mkWZTYI6cKHR4qUWbOUz/</a><br>
<div><b>node</b> <b>iptables -L -vn && </b><b>iptables -L -vn</b> <b>-t nat<br></b><a href="http://paste.openstack.org/show/28384/">http://paste.openstack.org/show/28384/</a><b><br></b><b><br></b><br><div><b>controller ip a</b><br>
<a href="http://paste.openstack.org/show/W2vrVtost2EP2u62iZwp/">http://paste.openstack.org/show/W2vrVtost2EP2u62iZwp/</a><br>root@oxala:~# route<br>Tabela de Roteamento IP do Kernel<br>Destino Roteador MáscaraGen. Opções Métrica Ref Uso Iface<br>
default 200.131.6.129 0.0.0.0 UG 100 0 0 eth0<br>10.5.5.32 * 255.255.255.224 U 0 0 0 br100<br>200.131.6.128 * 255.255.255.128 U 0 0 0 eth0<br>
</div><br><b><b>node ip a</b><br></b><a href="http://paste.openstack.org/show/S44TL3sznIztNCO3s8p2/">http://paste.openstack.org/show/S44TL3sznIztNCO3s8p2/</a><b><br></b>root@oxossi:~# route<br>Tabela de Roteamento IP do Kernel<br>
Destino Roteador MáscaraGen. Opções Métrica Ref Uso Iface<br>default 200.131.6.129 0.0.0.0 UG 100 0 0 eth0<br>10.5.5.32 * 255.255.255.224 U 0 0 0 br100<br>
200.131.6.128 * 255.255.255.128 U 0 0 0 eth0<br><b><br><br></b></div><div><b>And finnaly the error throw out by the vm when running on Nodes.<br><br></b></div><div><div><div><div><pre>ci-info: lo : 1 127.0.0.1 255.0.0.0 .
ci-info: eth0 : 1 10.5.5.53 255.255.255.224 fa:16:3e:69:cb:d2
ci-info: route-0: 0.0.0.0 10.5.5.35 0.0.0.0 eth0 UG
ci-info: route-1: 10.5.5.32 0.0.0.0 255.255.255.224 eth0 U
cloud-init start running: Tue, 18 Dec 2012 20:34:09 +0000. up 4.02 seconds
2012-12-18 20:34:15,967 - util.py[WARNING]: '<a href="http://169.254.169.254/2009-04-04/meta-data/instance-id">http://169.254.169.254/2009-04-04/meta-data/instance-id</a>' failed [6/120s]: url error [[Errno 113] No route to host]</pre>
<br></div><div>I really don't know what to do anymore. This only happen on nodes, on cloudcontroller all instance run smoothly. they get the floatip, metadata service, etc.<br><br>I thought the nova-network-HA would give me less headache but is happening the opposite. I would really appreciate if someone could help me!<br>
<br></div><div>Thanks in advance!<br></div><div>-- <br><font face="Arial, Helvetica, sans-serif"><b>guilherme</b> \n<br>\<font>t</font> <b>maluf</b><br></font><br>
</div></div></div></div></div>