Posted in Linux, Openstack

Multinode Openstack Installation on Centos 7/RHEL 7

This post describing multinode OpenStack installation on centos7/rhel7 for Liberty release. If you want to do single node installation please refer my earlier post.

We are installing OpenStack onto 3 nodes controller,compute and network using packstack utility

Following is 3 node Openstack Architecture and related Openstack services running on respective nodes. I am using two network one is management network of 192.168.56.* which is used for internal communication between nodes and one external network used to assign public IP to VM and to access instances/VM from outside. I am also using NATed DHCP ip on each nodes to download required filesets from internet.

o1

Following is my network details from these three nodes

o2

My VirtualBox configuration of these three nodes are as follows. 2GB memory to controller and compute and 1GB memory to network node is sufficient and given 2 processor to compute node to handle load on created VM on top of it.

o3

Once you installed centos/rhel 7 on VM perform yum update and reboot the system then after reboot edit /etc/hosts and /etc/hostname files and add following host entries and respective hostname.

o4

SELINUX security will not allow to run some openstack services on ports so change the mode of SELINUX to permissive on all nodes.

o5

NetworkManager is also create issues in Openstack networking connection between VMs so stop it and disable it on all 3 nodes.

o8

Check that you can do passwordless SSH login to other nodes from controller node.

o7

Now we are ready for Openstack Installation. Perform all following step from controller node only. Install rdo-release.rpm from rdomanager site which contains latest OpenStack release repository.

o9

12

After this install packstack utility which help to install Openstack bundles.

#yum install -y openstack-packstack

Now generate answer configuration file which contains all default configuration used to install openstack. I am generating this answer.cfg file because I don’t want to install Openstack using packstack with default configuration.

o10

Edit the configuration file and set respective controller, compute & network node IP details and set password of all services to openstack.

o11

o12

Now start the installation of Openstack using packstack by providing modifies answers.cfg file.

o13

Once packstack installation is completed you will get following information.

19

now just login to dashboard using http://192.168.56.101/ using username admin password is openstack which we have provided in answer.cfg file.

24

21

 

You can check the Openstack services status from controller node after sourcing keystone_admin file

#source keystone_admin

o14

Thats it your OpenStack setup is ready for testing Enjoy 🙂

Advertisements

Author:

I have created this blog to share my learning from IT world. Hope you find it useful in your day to day work. Feel free to send me your feedback about my blog.

12 thoughts on “Multinode Openstack Installation on Centos 7/RHEL 7

  1. Hello There,
    Thanks for the nice post. I am following your blog to install open stack and getting the error message i would be very thankful if you please help me in resolving the issue.

    ERROR : Error appeared during Puppet run: 172.17.100.21_mariadb.pp
    Error: Execution of ‘/usr/bin/rpm -e mariadb-server-5.5.44-2.el7.centos.x86_64’ returned 1: error: Failed dependencies:
    You will find full trace in log /var/tmp/packstack/20160210-120220-ffrQYn/manifests/172.17.100.21_mariadb.pp.log
    Please check log file /var/tmp/packstack/20160210-120220-ffrQYn/openstack-setup.log for more information
    Additional information:
    * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
    * Warning: NetworkManager is active on 172.17.100.21. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
    * File /root/keystonerc_admin has been created on OpenStack client host 172.17.100.21. To use the command line tools you need to source the file.
    * To access the OpenStack Dashboard browse to http://172.17.100.21/dashboard .
    Please, find your login credentials stored in the keystonerc_admin in your home directory.
    * To use Nagios, browse to http://172.17.100.21/nagios username: nagiosadmin, password: test1

    Like

    1. Hi Syed,

      You didn’t stop and disable NetworkManager. As warning showing it is still active. Please refer the post for command details and desired output.

      rerun packstack and let me know the results if problem still persist we need to check on dependencies.

      Like

      1. the issue was with maria db which i had installed it by my self and later i realise the script is installing the Maria db so i remove it completely along with the Lib files. and re run the setup and it work.

        Like

  2. Hi Vishwanath,
    Its working fine and yesterday i had tested but notice its not detecting the volume. I am getting the error ” Error: Unable to retrieve volume limit information.”

    Any way i can get help in relation to that would be much appreciated.

    Many thanks and Regards,
    Syed Hussaini.

    Like

  3. Hi Vishwanatha,
    Thanks for your assistance, the above issue is resolved as per the instructions.
    But the volume is not appearing under the volume section. Any way i can get the help in adding the storage to open-stack.
    Regards,
    Syed

    Like

  4. If we perform the installation on controller node and having passwordless ssh in place between all nodes. does that mean that packstack will take care of the installation on the other nodes as well?

    Like

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 )

w

Connecting to %s