How to Deploy OpenStack according to my own desires?

asked 2014-07-08 15:08:59 -0500

anhdenday gravatar image

updated 2014-07-08 20:12:59 -0500


1- I am new to OpenStack, I want to ask you about how to deploy OpenStack after modifying the source code of it. I know there are some tools for deploying OpenStack but I found that in my opinion not as desired. For example, such DevStack, after I modified some things (such as change title, logo, some source codes ... etc), I want to see how it look after modifying how can I do? I have to restart each service? Because if every time I change the source code after that running file "" so that DevStack will reinstall everything from scratch. How can I do? And DevStack is good Development Environment or not? Should I deploy with DevStack or Deploy manual?

2- What is best tool to deploy OpenStack from the source code on multi nodes (not install openstack after that we cannot change anything as DevStack).

My English is not good and sorry for my stupid question

Thanks you so much

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-07-10 04:13:28 -0500

HoangDo gravatar image
  1. OpenStack is written in Python, so if you change some source code or configuration, simply restart the service for the changes to take effect. For example, if you change dashboard logo, restart apache, horizon; if you change neutron source code, restart neutron-server service. You only need to run one time at the begining.

    DevStack is all-in-one-node OpenStack. DevStack is sufficient for development. You should configure DevStack environment similar to the target environment that you want to deploy your app. For example, I used to dev a plugin for Sahara on DevStack with Nova network, and while deploying it on OpenStack Neutron, it didn't work at all.

    If you want to gain deep understanding about OpenStack, try to deploy OpenStack step by step on multi-nodes env. If you only need an env to dev app, use DevStack.

  2. To deploy OpenStack on multiple nodes, I used OpenStack chef recipe.You can try to use Puppet. Check this page for more detail. You can use chef to deploy Rackspace Private Cloud, a enterprise-ready version of OpenStack. It seems promising, but I haven't test it yet.

No question is stupid. Hope it helps.

edit flag offensive delete link more


good answer!!!

SGPJ gravatar imageSGPJ ( 2014-07-10 09:47:02 -0500 )edit

Multinode devstack is possible - see here.

darragh-oreilly gravatar imagedarragh-oreilly ( 2014-07-10 16:22:50 -0500 )edit

answered 2014-07-10 10:59:08 -0500

anhdenday gravatar image

updated 2014-07-10 11:00:36 -0500

Thanks you so much HoangDo,

But I'm still quite confused,

1 - If I've alredy changed some of source code of OpenStack but my server crash then I have to restart the server so that I have to run the file "" again then OpenStack reinstall from scratch. Is there a way to run only "" only one time at the first time after that if server have any problem so we dont need to run "" anymore? Just running OpenStack on existence source code that downloaded at the first time without running ""

2 - DevStack is a develop tool "all- in- one" on one node. But after modifying the source code, I want to deploy the changes on multiple nodes so I have to do so with other tools like Chef or SaltStack. How can I deploy the source code of OpenStack that has changed by DevStack by Chef or SaltStack? Because as I understand that, these tools (chef, saltstack) will deploy by the way download packages and dependencies from the internet and install OpenStack on multi-nodes as we configure but not from our exitance source code? May be I explain is not so clear, I hope you understand me. Please help me!

Thanks you so much

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-07-08 15:08:59 -0500

Seen: 368 times

Last updated: Jul 10 '14