RDO Newton with Nuage Integration

In this post we’ll learn how to install OpenStack RDO (Newton) and integrate it with nuage. As a perquisite the Nuage VCS components must have already been installed and setup. The only requirements between the OpenStack controller and the VSD is that the root (or whatever user you plan to utilize for API access between the OpenStack Contoller and the VSD) be placed within the CMS User Group which is found under:

Platform Configuration” –> “Settings” –> “User Group

Outline of things to do

  • Prepare the OpenStack Controller
  • Prepare the answers file
  • Prepare the OpenStack Compute Nodes
  • Run the PackStack answers file
  • Clone the bash scripts and run

RDO (PackStack) Newton installation with Nuage VCS 4.0R8

Preparing your OpenStack (PackStack) Controller

LAB Setup to deploy RDO OpenStack Newton with the following requirements
1 OpenStack Controller
2 Nova Compute Nodes
NFS Server (Nuage images/rpm repo)

OpenStack Controller (Virtual Machine)
4 vCPU, 8G RAM, 40G HDD

OpenStack Compute Nodes (Virtual Machines)
8 vCPU, 16G RAM, 100G HDD

Prepare the OpenStack Controller

Login as root and add the following line to your /etc/hosts file. newton.xyz.com

Note: Make sure you have access to both NTP and DNS as this solution is highly reliant on both to ensure success. See my post ntp and dns lab setup.

Edit the network settings
vi /etc/sysconfig/network-scripts/ifcfg-eth0


Reset the network
systemctl restart network

Install net-tools (re: ifconfig)
yum -y install net-tools

Stop and disable NetworkManager and Firewall:
systemctl stop firewalld
systemctl disable firewalld
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl start network

Edit /etc/selinux/config and change SELINUX to disabled


Update and reboot the system
rm -fr /var/cache/yum/*
yum clean all
yum -y update

To verify version of kernel is running run the following command
rpm --query centos-release

Setup the RDO repositories/update and install newton packstack

Install RDO Newton v3
yum -y install https://repos.fedorapeople.org/repos/openstack/openstack-newton/rdo-release-newton-3.noarch.rpm

update and install openstack packstack
yum -y update
yum -y install openstack-packstack

Prepare the OpenStack Controllers answers file

Generate answers file
packstack --gen-answer-file /root/packstack-answers.txt
Add your Controllers IP to the EXCLUDE_SERVERS section and add your compute nodes to the “CONFIG_COMPUTE_HOSTS” section.


Prepare the OpenStack Compute Nodes

Compute nodes should have base installation of CentOS-Minimal latest 7.3 with all security removed and EPEL installed before running the packstack answer file
Stop and disable NetworkManager:
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl start network
systemctl stop firewalld
systemctl disable firewalld

Enable two interfaces, eth0 for management (no gateway L2 only for analytics to VSD/MGT Network) and eth1 for overlay/dataplane (gateway to network)

Edit /etc/selinux/config and change
vi /etc/selinux/config


Enable the EPEL repository: (look in “http://mirror.pnl.gov/epel/7/x86_64/e/” for latest release)
rpm -Uvh http://mirror.pnl.gov/epel/7/x86_64/e/epel-release-7-9.noarch.rpm

Enabled the [epel-source] repository by editing
vi /etc/yum.repos.d/epel.repo


Enable the [centosplus] repository by editing
vi /etc/yum.repos.d/CentOS-Base.repo


Update the System
yum -y update

Run the packstack installation script

packstack –answer-file=/root/packstack-answers.txt
At this point you’ve successfully installed PackStack with 2x Compute Nodes. To test the environment login to your OpenStack controller via the WebUI and ensure the compute nodes are listed as available and active.

Clone the bash scripts and run

This next step will automate the integration of Nuage using bash scripts into both the OpenStack Controller and the Compute Nodes (independently).

You can download or clone it from GitHub RDO Newton with Nuage bash script.

Categories: nuage, openstack

Tags: , , ,

4 replies

  1. Reblogged this on Tricky Deadline and commented:
    Great ‘how-to’ about integrate Nuage into OpenStack. Thanks Scott

    Liked by 1 person

  2. Reblogged this on ✄ Geeky Snippets ✄ and commented:
    Clear instructions thanks for posting

    Liked by 1 person

  3. Very good article. Shouldn’t
    – CONFIG_CONTROLLER_HOST=[node1],[node2],etc…
    – CONFIG_COMPUTE_HOSTS=[node1],[node2],etc…


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: