devstack and physical network configurations

asked 2017-03-20 22:51:59 -0500

syjeong gravatar image

Hi,

I'm a newbie of OpenStack and I did not have many experiences on network configurations with physical servers.

I'm going to prepare 2-node (1 controller embedding network node, 1 compute node on each server) openstack deployment through devstack.

I attached a figure that describes my network and original thoughts. The terms, management/API network and data network, come from https://sreeninet.wordpress.com/2014/05/10/openstack-networking/ (here)

In this network, my question is that

  1. I cannot match the logical networking terms to my physical network. Can you explain a little bit?
  2. What IP addresses should I put on devstack HOST_IP and SERVICE_HOST fields.
  3. And What about devstack FLOATING_RANGE and FIXED_RANGE?

In both nodes devstack, I found that using one of 151.223.xxx.0 address as HOST_IP and SERVICE_HOST without setting FLOATING and FIXED_RANGE didn't work for creating VM instances in the compute node (HORIZON: no valid host was found error)

I know my question is rough, but I don't have much time to do and people to help me around. So, I will be really happy with any small advice from you.

Thanks,

https://i.stack.imgur.com/QUfT5.png (image description)

edit retag flag offensive close merge delete

Comments

While the blog entry you reference may have been useful three years ago, I suggest you read the networking guide on docs.openstack.org to answer question 1. Question 2: HOST_IP is the IP of the host where you run stack.sh. SERVICE_HOST is the IP of the controller.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-21 21:46:48 -0500 )edit

I don't think you need to set the IP ranges (Q3). Here is an example for a three node setup (2 years old, sorry): https://assafmuller.com/2015/04/06/mu....

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-21 21:48:30 -0500 )edit

I also strongly recommend to use devstack only for development and testing as an OpenStack developer. If your goal is learning and/or you are a newbie, use something more robust and more standard. I recommend Packstack.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-21 21:50:59 -0500 )edit