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.45/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...

86 Responses


    Thanks for sharing this great tutorial.

    The OpenStack Mitaka do not list on these repos. When i try “yum install -y centos-release-openstack-mitaka“, they can’t find it.

    • Ravi Saive says:


      Have you enabled the following repository under your CentOS 7?

      # yum install 
  2. Kowalski says:

    Thanks a lot. I encounter a problem after executing the last command “packstack --answer-file 22.05.19.conf” the error say:

    ERROR: Error appeared during Puppet run:
    Error:'/usr/sbin/ntpdate' returned 1 instead of one of [0]

    I try to change the ntp server, restart ntpdate service, but it doesn’t work.

  3. k.agoudjil says:

    Hi, All,

    After # packstack –answer-file 13.04.16.conf, i have ERROR : Local IP address discovery failed. please set a default Gateway for your system.

    Please need help.

  4. Aayushi Choudhary says:

    ERROR: appeared during puppet run: controller.pp
    error: /stage[main]/Packstack::swift::Storage/Swift::Storage::Loopback[swiftloopback]/Swift::Storage::Ext4[Swiftloopback]/Swift::Storage::Mount[Swiftloopback]/Mount[/srv/node/swiftloopback]: Could not evaluate: Field ‘device’ is required

    getting this error, if anyone can help me out in this.

  5. Harshith Dayanand says:

    Many Thanks Matei Cezar!

    What a perfect procedure to deploy OpenStack!!! i was trying since last few days as per RDO official documentation and every time my installation was failing due to one or the other reason, unable to start nova scheduler, Nova table not found in DB, unable to download something and what not.

    Just completed installing Queens release on CentOS 7.5 (1804) without a single glitch. Thanks again.

    Keep Rocking!

  6. Sodalin Sen says:

    packstack –gen-answer-file=’date +”%d.%m.%y”‘.conf

    ERROR:root:Failed to load plugin from file
    ERROR:root:Traceback (most recent call last):
    File “/usr/lib/python2.7/site-packages/packstack/installer/”, line 923, in loadPlugins
    moduleobj = __import__(moduleToLoad)
    File “/usr/lib/python2.7/site-packages/packstack/plugins/”, line 20, in
    from OpenSSL import crypto
    File “/usr/lib/python2.7/site-packages/OpenSSL/”, line 8, in
    from OpenSSL import rand, crypto, SSL
    File “/usr/lib/python2.7/site-packages/OpenSSL/”, line 13, in
    from cryptography.hazmat.primitives.asymmetric import dsa, rsa
    File “/usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/asymmetric/”, line 14, in
    from cryptography.hazmat.backends.interfaces import RSABackend
    File “/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/”, line 7, in
    import pkg_resources
    ImportError: No module named pkg_resources

    ERROR:root:Traceback (most recent call last):
    File “/usr/lib/python2.7/site-packages/packstack/installer/”, line 988, in main
    File “/usr/lib/python2.7/site-packages/packstack/installer/”, line 931, in loadPlugins
    raise Exception(“Failed to load plugin from file %s” % item)
    Exception: Failed to load plugin from file

    ERROR : Failed to load plugin from file
    => Why it show this error?

  7. mike says:

    no selinux, PermitRootLogin, no Firewall… ??? sure??

  8. Dylan Savage says:

    While generating your answer file for packstack you have used single quotations instead of backticks.

    > packstack –gen-answer-file=`date +”%d.%m.%y”`.conf

  9. nareshpandian says: [ ERROR ]
    Applying Puppet manifests [ ERROR ]

    ERROR : Error appeared during Puppet run:
    Error: Evaluation Error: Comparison of: String >= Integer, is not possible. Caused by ‘A String is not comparable to a non String’. at /var/tmp/packstack/59912c061d894c9e93dfa6af60edca6d/modules/apache/manifests/version.pp:15:118 on node

  10. Michael Cooper says:

    This is what I got when I tried to install this:

    [[email protected] ~]# packstack --answer-file answers.conf
    Welcome to the Packstack setup utility

    The installation log file is available at: /var/tmp/packstack/20170908-034453-M_777s/openstack-setup.log

    Clean Up                                             [ DONE ]
    Discovering ip protocol version                      [ DONE ]
    Setting up ssh keys                                  [ DONE ]
    Preparing servers                                 [ ERROR ]
    ERROR : Failed to run remote script, stdout:
    stderr: /etc/ssh/ssh_config: line 40: Bad configuration option: permitrootlogin
    /etc/ssh/ssh_config: terminating, 1 bad configuration options

    Please check log file /var/tmp/packstack/20170908-034453-M_777s/openstack-setup.log for more information

    Additional information:
    * Parameter CONFIG_NAGIOS_INSTALL: Nagios installation option is deprecated and will be removed from packstack in Pike.


Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.