← Back to team overview

openstack team mailing list archive

iptables and nova-manage network list do not match.

 

Hi
I am having a client not getting dhcp release problem, similar to
https://answers.launchpad.net/quantum/+question/197701

By looking at the iptables output, I see the /8 network mask should have
been /24. 
How can I fix this problem?
Thanks.

my nova.conf is at http://paste.openstack.org/show/18103/

[root@core01 nova]# nova-manage network list
id	IPv4	IPv6	start address  	DNS1            
17	10.0.0.0/24	None	10.0.0.2	8.8.4.4   

iptables -t nat -L -n 

Chain nova-network-POSTROUTING (1 references)
target     prot opt source               destination         
ACCEPT     all  --  10.0.0.0/8           172.20.0.51         
ACCEPT     all  --  10.0.0.0/8           10.128.0.0/24       
ACCEPT     all  --  10.0.0.0/8           10.0.0.0/8           ! ctstate
DNAT

Chain nova-network-PREROUTING (1 references)
target     prot opt source               destination         
DNAT       tcp  --  0.0.0.0/0            169.254.169.254      tcp dpt:80
to:172.20.0.51:8775

Chain nova-network-float-snat (1 references)
target     prot opt source               destination         

Chain nova-network-snat (1 references)
target     prot opt source               destination         
nova-network-float-snat  all  --  0.0.0.0/0
0.0.0.0/0           
SNAT       all  --  10.0.0.0/8           0.0.0.0/0
to:172.20.0.51
SNAT       all  --  10.0.0.0/24          0.0.0.0/0
to:172.20.0.51