openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #14189
Re: PLEASE HELP multi_host not working
On 04/07/2012 21:43, Vishvananda Ishaya wrote:
It looks like the ip for your hosts is in the 10./8 range which is
probably messing up routing and snatting. You will need to use a
smaller range when you create your vm network, say 10.75.0.0/16
<http://10.75.0.0/16> and make sure you set fixed_range to the same
value in nova.conf
I already have it sub-netted to 10.10.11.128/26 and have
--fixed_range=10.10.11.128/26 in nova.conf.
For metadata, you may have to set metadata_host (it sets this
automatically, but if you have multiple interfaces it could be getting
the wrong value) to the ip of the compute node on each compute host
(and run nova-api-metadata or nova-api on each compute host as well.
On each host I see an iptables rule like this natting the
169.254.169.254 address to the br100 address of the host like this:
-A nova-network-PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport
80 -j DNAT --to-destination 10.10.20.114:8775
But "wget http://169.254.169.254/" on the controller node gives me the
horizon index page!
On the other compute nodes it gives "connection refused".
Should metadata_host be set to the public (eth0) ip of the host instead?
Tx for the advice so far.
M
References