{"id":284,"date":"2015-11-26T10:37:10","date_gmt":"2015-11-26T10:37:10","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=284"},"modified":"2015-11-26T18:02:49","modified_gmt":"2015-11-26T18:02:49","slug":"deploying-devstack-my-way","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2015\/11\/26\/deploying-devstack-my-way\/","title":{"rendered":"Deploying Devstack successfully in CentOS 7"},"content":{"rendered":"<p>So, do you want to setup your own openstack infrastructure? With Cinder, Nova, nova API, keystone and the such? That&#8217;s easy enough. Here is how to do it.<\/p>\n<p>Step 1. Deploy CentOS7, any basic install should be fine. I deployed using the Rackspace cloud server 8Gigs standard instance type. (standard install should be fine!)<\/p>\n<p>Step 2. Add stack user<\/p>\n<pre>\r\nadduser stack\r\n<\/pre>\n<p>Step 3. Add stack to sudoers wheel group, ensuring sudo is there <\/p>\n<pre>\r\nyum install -y sudo\r\necho \"stack ALL=(ALL) NOPASSWD: ALL\" >> \/etc\/sudoers\r\n<\/pre>\n<p>Step 4. Modify \/etc\/passwd so that the home directory for stack is \/opt\/stack . It needs this. And chown<\/p>\n<pre>\r\nvi \/etc\/passwd\r\n# make sure home directory for stack is \/opt\/stack (thats all!)\r\nmkdir \/opt\/stack\r\nchown -R stack:stack \/opt\/stack\r\n<\/pre>\n<p>Step 5. Clone Devstack from git<\/p>\n<pre>\r\nsudo yum install -y git\r\nsu stack\r\ngit clone https:\/\/git.openstack.org\/openstack-dev\/devstack\r\ncd devstack\r\n<\/pre>\n<p>Step 6. Cp base config sample file <\/p>\n<pre>\r\ncp samples\/local.conf .\r\n<\/pre>\n<p>Step 7. Deploy stack<\/p>\n<pre>\r\n.\/stack.sh\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>So, do you want to setup your own openstack infrastructure? With Cinder, Nova, nova API, keystone and the such? That&#8217;s easy enough. Here is how to do it. Step 1. Deploy CentOS7, any basic install should be fine. I deployed &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2015\/11\/26\/deploying-devstack-my-way\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,7,21,11,12,5],"tags":[],"class_list":["post-284","post","type-post","status-publish","format-standard","hentry","category-cloud","category-management-tools","category-nova","category-openstack","category-openstack-api","category-xen"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=284"}],"version-history":[{"count":4,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/284\/revisions"}],"predecessor-version":[{"id":288,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/284\/revisions\/288"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}