nova-network component prerouting to itself ? is this normal?

Asked by Hugo Kou

after a instance ran up , I can not ping or ssh it
FlatManager mode

I remember metadata should be route to nova-api server

nova-api server is
but I can saw prerouting on nova-network
-A PREROUTING -d -p tcp -m tcp --dport 80 -j DNAT --to-destination

is this the problem ?

Question information

English Edit question
nova-deployment-tool Edit question
Shigetoshi Yokoyama Edit question
Solved by:
Shigetoshi Yokoyama
Last query:
Last reply:
Revision history for this message
Shigetoshi Yokoyama (yoko) said :

In order to confirm the error, I tried to install all in one machine,
the same error (failed to ping or ssh) occurred, so I think that besides
the setting of iptables there should be other reasons.
I have reported the error in all-in-one environment as the following bug.

In addition, as to the value of network_manager, because the default
value is VlanManager, I think the VlanManager may be recommended by nova.
If it is ok in system configuration, how about trying VlanManager other
than FlatManager?

-- yoko

Revision history for this message
Hugo Kou (tonytkdk) said :

 it requires a switch that supports host-managed vlan tagging.

so I never try it.

In my successful testing environment.

Success.............All in one <Flat><FlatDHCP>
Success.............One machine include all nova service and two nova-compute <FlatDHCP>

btw, in nova.conf ,

during testing process...the instance ip is 10.0.0.x ???
I don't understand , bcz in my experience , instance's ip should be segment. am I right?
how come instance's ip assign to 10.0.0.x ?
I remember 10.0.0.x is default. Is that means --fixed_range is not work?

Revision history for this message
Hugo Kou (tonytkdk) said :

I'm not sure if my consideration is correct.

I check , I saw it create network for project is 3 16

I always set project network is inside fixed_range....

is there any tricky stuff ?

Revision history for this message
Best Shigetoshi Yokoyama (yoko) said :

Did you succeed to ping and ssh when network manager is Flat?
And if you succeeded, could you tell me how do you install it?

Yes, you are right. According to "Configuring OpenStack Compute -
/ch03s03.html#d5e257)", the IP addresses specified in command
"nova-manage network create" should be included in the values of

Therefore, as what you said, the fixed_range should be changed to

And if you want to change it to another value, the fixed_range and should be changed together.

As to the next version for Cactus, we shall move the IP addresses in to some config file.

-- yoko

Revision history for this message
Hugo Kou (tonytkdk) said :

Thanks Shigetoshi Yokoyama, that solved my question.