Ask Your Question
0

Instance does not bring up network interfaces

asked 2012-05-08 08:41:11 -0500

mx-chilly gravatar image

I've got a two server setup running Essex. One server solely runs nova-compute, the other runs the rest of the services. I can bring up instances and ssh into them using some Ubuntu Cloud Image, that I downloaded. I wanted to run a CentOs 6.2 image, which I managed to create and run after struggling a bit with the custom image creation.

The problem I encountered was that I was neither able to ping nor ssh into the CentOs instance. But with the vnc console I was able to login and have a look. There I noticed, that no eth* interface was up and I was not able to get eth0 up, which I had previously used when I created the image. I checked /etc/udev/rules.d/70-persistent-net.rules, which had two new eth* interfaces (I got two networks assigned). After creating eth1 and eth2 using "setup" in CentOs and a reboot I was able to ping and ssh into the instance.

Is there a way that OpenStack automatically can create the interfaces and bring them up correctly?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2012-05-10 11:37:26 -0500

mx-chilly gravatar image

Thanks for the answer, it was part of the problem and helped to solve it. The other part being network interface configuration of CentOS, which I was not very familiar with.

edit flag offensive delete link more
0

answered 2012-05-10 11:37:34 -0500

mx-chilly gravatar image

Thanks Vish Ishaya, that solved my question.

edit flag offensive delete link more
0

answered 2012-05-08 18:40:35 -0500

vishvananda gravatar image

It should automatically bring up the interfaces and dhcp the new addresses. You probably have to delete persistent net rules in your image and make sure that the first interface is configured to dhcp.

On May 8, 2012, at 1:45 AM, Mark Gall wrote:

New question #196462 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

I've got a two server setup running Essex. One server solely runs nova-compute, the other runs the rest of the services. I can bring up instances and ssh into them using some Ubuntu Cloud Image, that I downloaded. I wanted to run a CentOs 6.2 image, which I managed to create and run after struggling a bit with the custom image creation.

The problem I encountered was that I was neither able to ping nor ssh into the CentOs instance. But with the vnc console I was able to login and have a look. There I noticed, that no eth* interface was up and I was not able to get eth0 up, which I had previously used when I created the image. I checked /etc/udev/rules.d/70-persistent-net.rules, which had two new eth* interfaces (I got two networks assigned). After creating eth1 and eth2 using "setup" in CentOs and a reboot I was able to ping and ssh into the instance.

Is there a way that OpenStack automatically can create the interfaces and bring them up correctly?


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-05-08 08:41:11 -0500

Seen: 21 times

Last updated: May 10 '12