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. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  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...

31 Responses

  1. Amar Tiwari says:

    Hi Sir,
    I have installed openstack successfully and its opened on browser , but when I am trying to providing keystone user name i.e admin and password ..Not able to login.. Please help on this ..

    • Matei Cezar says:

      Completely disable Selinux policy, reboot and trey to login. If this doesn’t work try to change the OPENSTACK_KEYSTONE_DEFAULT_ROLE from “Member” to “admin”, reboot and try login.

      • Amar Tiwari says:

        Thanks Sir,

        I have done everything, I was facing issue because of mitaka centos release and clinder=y. Now my openstack interface is working as expected. Thanks for this tutorial. Now I will work on further tasks and if I will get any issue share here, possibly with solution.. Thanks lot of ton again :)

  2. Michel says:


    I just get the following error while installing via answer file.

    Preparing Nova VNC Proxy entries [ ERROR ]
    ERROR : [Errno 2] No such file or directory: ‘/etc/pki/tls/certs/selfcert.crt’

    Can you help me?

    Thanks a lot

    • Matei Cezar says:

      Openstack insights and bugs are beyond my level of experience with software design. I suggest that you register to Openstack Q&A and add a question there in order for Openstack software developers or designers to troubleshoot and debug your this issue (there’s seems to be some already unanswered topics concerning this problem you’re facing)

    • Evans Banda says:

      me too!

      • Evans Banda says:

        I set the SSL for horizon config to n and my installation completed. I am not sure if this will apply for anyone setting up a production installation, I am doing an installation in a lab. its still installing, will update when done!

  3. manuel says:

    Hello! i have one error.. :-( i don’t solve this problem. (Same procedure)

    ERROR : Error appeared during Puppet run:
    Error: Could not prefetch keystone_service provider ‘openstack’: Command: ‘openstack [“service”, “list”, “–quiet”, “–format”, “csv”, “–long”]’ has been running for more then 20 seconds!

  4. Torben G. Hansen says:

    How can you suggest setting SSH config option ‘PermitRootLogin’ to ‘yes’ and disable SELinux when this article ‘’ clearly state that this is NOT a good idea, if you want a stable and secure server?

    It would be nice if this tutorial was edited so that installation of OpenStack could be done on a secure server :)

    Thanks :)
    Torben G. Hansen

  5. Hugo Flores says:

    Hi guys

    Congratulations Matei wonderful tutorial, I want to share about bug and what I did and works.



  6. Evans Banda says:

    I got stuck on the “yum install openstack-packstack” part. No package openstack-packstack available.

  7. cmdrtech says:

    Just a quick question. Shouldnt the # packstack –gen-answer-file=’date +”%d.%m.%y”‘.conf
    actually have backticks to make the com,and produce the date.conf file? Maybe its just a text translation thing.

    Here is what i mean
    # packstack –gen-answer-file=`date +”%d.%m.%y”`.conf

    • matei cezar says:

      Yes…it must have backtricks to produce the command output. You can also use command substitution with $(command to execute)

    • Matei Cezar says:

      I see that your Linux knowledge is limited. No offence but you should first start to learn how the system and Linux bash operates and then go to more complicated stages, such as Openstack, which is very hard to be configured for beginners.

  8. Matei Cezar says:

    It seems to be a bug or a compatibility problem with already installed software or libraries on your system. Please consult OpenStack forums for this issue or send the output of the log file to their mail list.

  9. Mahesh says:

    I am getting below error after fallowing above steps, can you please help me on this? [ ERROR ]
    Applying Puppet manifests [ ERROR ]

    ERROR : Error appeared during Puppet run:
    Error: Execution of ‘/usr/bin/yum -d 0 -e 0 -y install openstack-nova-compute’ r eturned 1: Transaction check error:
    You will find full trace in log /var/tmp/packstack/20160505-010355-Cu15RF/manife sts/
    Please check log file /var/tmp/packstack/20160505-010355-Cu15RF/openstack-setup. log for more information
    Additional information:

Got something to say? Join the discussion.

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

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?