How to Install Your Own Cloud Platform with OpenStack in RHEL/CentOS 7

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

69 Responses

  1. nihar says:

    Centos Graphics gone after packstack installation. Any possibilities to get graphics back

    • Kostyanius says:

      Hello,
      Try this:

      1. Installing GNOME-Desktop:

      Install GNOME Desktop Environment on here.

      # yum -y groups install “GNOME Desktop”
      Input a command like below after finishing installation:

      # startx

      Or this:

      2. Installing KDE-Desktop:

      Install KDE Desktop Environment on here.

      # yum -y groups install “KDE Plasma Workspaces”
      Input a command like below after finishing installation:

      # echo “exec startkde” >> ~/.xinitrc
      # startx
      KDE Desktop Environment starts like follows:
      enter image description here

      Or this:

      3. Installing Xfce Desktop Environment:

      Install Xfce Desktop Environment on here.

      # yum -y groupinstall X11
      # yum –enablerepo=epel -y groups install “Xfce”

      # echo “exec /usr/bin/xfce4-session” >> ~/.xinitrc
      # startx

      I prefer Xfce desktop from all above mentioned. It is more simple and good-looking for me. But it is up to you.

  2. Scott says:

    Kept getting HTTPD service error near end of install using VirtualBox 5.1.6. Tried reinstalling HTTPD service and manual restart but Packstack kept failing around same place.

    Determined error was due to service timeout. Increased VM memory from 2GB to 4GB and clean minimal install from DVD ISO following instructions exactly as noted here = Successful install with NO errors.

    Cheers,
    Scott.

  3. kostya_h says:

    Hello guys,

    Does anybody know how to fix it? http://rgho.st/6JRTfrDjL/image.png

    It is in stack state all the time.

    Google does not help with this.

    I have found several cases like mine but there is no one solution for it.

    • kostya_h says:

      it works ok with last release https://www.rdoproject.org/install/packstack/
      just need alot RAM and CPU resources in order to speed up the process so as if use only 4GB RAM and 1 Core CPU it takes ages while it is completed. So it looks like that the process is stuck (for not experienced user like me). But when i added 8GB of RAM and all 4 cores then i was able to see that it was completed successfully (it took about 20-30 minutes). I hope that this information will be usefull for someone.

    • Matei Cezar says:

      Openstack is designed to run on powerfull bare-metal machines, so you should experience errors on virtual machies with less resources , such as RAM or CPUs.

  4. kostyanius says:

    This does not work at all, many users have errors with certs but author even did not mentioned that it is needed in this tutorial.

  5. Engr M Ali Raza says:

    Please help me;
    >
    10.0.2.15_controller.pp: [ ERROR ]
    Applying Puppet manifests [ ERROR ]

    ERROR : Error appeared during Puppet run: 10.0.2.15_controller.pp
    Error: Execution of ‘/usr/bin/yum -d 0 -e 0 -y install openstack-nova-api’ returned 1: Error: Package: 1:python-nova-15.0.3-2.el7.noarch (openstack-ocata)
    You will find full trace in log /var/tmp/packstack/20170517-071917-wAwg1p/manifests/10.0.2.15_controller.pp.log
    Please check log file /var/tmp/packstack/20170517-071917-wAwg1p/openstack-setup.log for more information
    Additional information:

  6. AVANISH KUMAR says:

    Getting below error. Could you help.

    Pre installing Puppet and discovering hosts’ details[ ERROR ]

    ERROR : Failed to run remote script, stdout: Loaded plugins: fastestmirror, langpacks
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
    14: curl#6 – “Could not resolve host: mirrorlist.centos.org; Unknown error”

  7. Alex says:

    Hello,

    I cannot seem to get the following command to complete:

    [[email protected] ~]# packstack --answer-file 04.11.16.conf
    ERROR : [Errno 2] No such file or directory: '/etc/pki/tls/certs/selfcert.crt'
    

    Then I got:

    ERROR : [Errno 2] No such file or directory: '/etc/pki/tls/private/selfkey.key'
    

    I am assuming that I am missing a critical piece to the installation. Perhaps something that is done even before this tutorial can be followed. I tried to follow the following link to fix the certificate issue:

    https://ask.openstack.org/en/question/97645/error-while-installing-openstack-newton-using-rdo-packstack/

    Can you help me figure out what is missing and get through the rest of the install?

    Thanks,

    Alex

    • Evans Banda says:

      Hey Alex

      Kindly go through the comments I came gave a hint on how to fix that issue. That will fix ya problem

  8. Karthiraja says:

    which ip address is configured here for openstack server 192.168.1.40 or 192.168.1.41 because openstack is being accessed with 192.168.1.40 and nagios from 192.168.1.41 its confusing..

  9. Omkar says:

    Need Help..

    After executing the command "packstack –answer-file 13.04.16.conf" the process asked me for password just after the line "Setting up SSH Keys"
    Please suggest me how to proceed

    • Krishnan says:

      Hi Omkar,

      To the best of my knowledge, It will let you to setup a password and this it will ask for each service and DB.

      I think this because of some recent update in openstack-packstack… not sure..

      Regards
      R.Krishnan

  10. Krishnan says:

    I’m trying to install the openstack on CentOS running as VM on VMware. I followed the same steps mentioned above, everything is fine but got the following error while updating the answer file with packstack .

    0.77.80.48_amqp.pp:                              [ ERROR ]       
    Applying Puppet manifests                         [ ERROR ]

    ERROR : Error appeared during Puppet run: 10.77.80.48_amqp.pp
    Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Class[Rabbitmq]: default expression for $config_management_variables tries to illegally access not yet evaluated $config_management_variables at /var/tmp/packstack/b90de8de0b1a4f3284e1a3e6018fe758/manifests/10.77.80.48_amqp.pp:58:5  at /var/tmp/packstack/b90de8de0b1a4f3284e1a3e6018fe758/manifests/10.77.80.48_amqp.pp:17 on node localhost
    You will find full trace in log /var/tmp/packstack/20170313-025724-8MKHPa/manifests/10.77.80.48_amqp.pp.log

    And also the openstack is not opening in web browser and the keystonerc_admin is not created. could you please provide me a solution?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *