Ask Your Question
0

Assign IP to nova instance without neutron

asked 2016-11-16 08:57:48 -0500

cbenito gravatar image

I am wondering if I can deploy OpenStack with keystone, nova, cinder and glance modules, without installing neutron module. Let's say we have a pool of IPs from an external source and we want to assing IPs from this pool to the instances launched in Nova. Is that possible?

It would be something like:

nova floating-ip-associate <instance> <ip_from_external_source>

Once the instance is terminated, what would happen with the IP assigned to the instance?

Thank you for your help.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-11-18 07:03:52 -0500

cbenito gravatar image

updated 2016-11-21 01:23:07 -0500

Thank you for your answer. So, If I understood correctly you either need to configure the pool of IPs in deprecated nova-netword or neutron. But there is no way to absolutely get rid of OpenStack in order to manage the pool of IPs.

edit flag offensive delete link more

Comments

OpenStack relies on the hypervisor to plug the VM to the network (in most OpenStack deployments the hypervisor is accessed via libvirt). Before the hypervisor can to that, though, the necessary network structures like bridges must exist and be configured. This is what Neutron or Nova-Network do.

Bernd Bausch gravatar imageBernd Bausch ( 2016-11-18 21:02:34 -0500 )edit

If you want to set up those structures in a different way, you will have to make changes to nova-compute, as it currently expects either Neutron or Nova-Network to be its partner in the setup. In short, the answer to your question is YES, there is no practical way.

Bernd Bausch gravatar imageBernd Bausch ( 2016-11-18 21:07:17 -0500 )edit
0

answered 2016-11-18 06:43:13 -0500

volenbovsky gravatar image

Hi,

you can install OpenStack without Neutron as of now (OpenStack Newton), but that requires that you will use nova-network being deprecated 'as we speak'. And then floating IPs (where you will use nova-network or Neutron): -note that you associate floating IP with one of private IP address -once instance is terminated - the floating IP returns to pool

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: 2016-11-16 08:57:48 -0500

Seen: 97 times

Last updated: Nov 21 '16