Should nova-network be installed into the same machine with nova-compute if network-manager is FlatDHCPManager

Asked by guanxiaohua2k6

I tried to use FlatDHCPManager as the network-manager. I succeeded when nova-network was installed into the same machine with nova-compute. But when the nova-network is installed into a different machine, the status of instance I started became running, but I couldn't ping or ssh to the instance from the machine with nova-network. And it wasn't due to security group's setting. I had add rules to the security group.

So I wonder that the nova-network should be installed into the same machine with nova-compute if the network-manager is FlatDHCPManager.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Vish Ishaya
Solved:
Last query:
Last reply:
Revision history for this message
Vish Ishaya (vishvananda) said :
#1

You need to tell it which interface to bridge into by setting the flag
--flat_interface

On Wednesday, February 16, 2011, guan
<email address hidden> wrote:
> New question #145567 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/145567
>
> I tried to use FlatDHCPManager as the network-manager. I succeeded when nova-network was installed into the same machine with nova-compute. But when the nova-network is installed into a different machine, the status of instance I started became running, but I couldn't ping or ssh to the instance from the machine with nova-network. And it wasn't due to security group's setting. I had add rules to the security group.
>
> So I wonder that the nova-network should be installed into the same machine with nova-compute if the network-manager is FlatDHCPManager.
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).
>

Revision history for this message
guanxiaohua2k6 (guanxiaohua2k6) said :
#2

Thank you for your reply.

I tried with flag flat_interface. But I still failed. Now the error was the status of instance was network. After I confirmed connectivity of the network, I found it couldn't be connected between nova-network and nova-compute and I found the only one network interface(other than lo) was used by bridge br100.

Here is my assumption. In order to install with FlatDHCPManager, I need two physical network card in both nova-compute and nova-network if I don't want to use vlan. Could anyone tell me whether it is right or not?

Revision history for this message
Best Vish Ishaya (vishvananda) said :
#3

This was true in bexar. Code went in afterwards to setup a single card using flatdhcp:
https://bugs.launchpad.net/nova/+bug/710959

There have been a few other flatdhcp bugfixes recently as well. Trunk should work pretty well.

Vish

On Feb 20, 2011, at 10:26 PM, guan wrote:

> Question #145567 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/145567
>
> Status: Answered => Open
>
> guan is still having a problem:
> Thank you for your reply.
>
> I tried with flag flat_interface. But I still failed. Now the error was
> the status of instance was network. After I confirmed connectivity of
> the network, I found it couldn't be connected between nova-network and
> nova-compute and I found the only one network interface(other than lo)
> was used by bridge br100.
>
> Here is my assumption. In order to install with FlatDHCPManager, I need
> two physical network card in both nova-compute and nova-network if I
> don't want to use vlan. Could anyone tell me whether it is right or not?
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
guanxiaohua2k6 (guanxiaohua2k6) said :
#4

Thanks Vish Ishaya, that solved my question.