Enhance ManageIQ docs
  • Introduction
  • Chapter 1
    • Introduction to ManageIQ
    • Installation
    • appliance_console
    • Basic Configuration
  • Chapter 2
    • Introduction to OpenStack
    • Installation using Packstack
    • Openstack Configuration
    • Launch instance in OpenStack
    • Integrate OpenStack with ManageIQ
  • Chapter 3
    • Automation Using Ansible
    • Embedded Ansible in ManageIQ
    • Embedded Ansible using AWX
  • Chapter 4
    • Service catalogs and user self-service portal
    • Domain and Namespaces
    • Creating a Ansible Service
Powered by GitBook
On this page
  • Configure OpenStack Network
  • Create Router
  • OpenStack Configuration
  1. Chapter 2

Openstack Configuration

PreviousInstallation using PackstackNextLaunch instance in OpenStack

Last updated 7 years ago

Once the installation of OpenStack is done, we need to configure OpenStack Network to access it's instances.

Configure OpenStack Network

Login to OpenStack dashboard using admin credentials. Go to Project → Networks. While on this page, hit Create Network button and setup internal network as follows:

Next, use the above steps to create external network. Make sure that IP address for external network is in same network range as your compute node IP address range.

On the next step, we need to mark external network as External. To do this, Navigate to Admin → Networks then while editing external network that we created, check External Network option. This is required in order to communicate with instances.

Create Router

We need to create router to communicate between two networks. Go to Project → Network → Routers and click on Create Router.

Once router has been created, go to interface tab of that router and click on Add Interface. Select internal network and hit on Submit. We can see the whole network map in Project → Network → Network Topology.

OpenStack Configuration

An ini is simple text file which contains options as key=value pairs and grouped into sections.

[DEFAULT]
# Defines which driver to use for controlling virtualization.
compute_driver=libvirt.LibvirtDriver

[api_database]
# Interval between retries of opening a SQL connection. (integer value)
retry_interval=10

OpenStack has different components like Neutron, Nova etc., those are already mentioned in . Each component uses similar kind of configuration techniques and ini format for configuration files.

As required, we need to change this configuration further. On , provided more information about configuration file format.

chapter2.1
OpenStack docs
Create network in OpenStack
Create subnet for network
Enable DHCP
Create Router
Network Map