{"id":4782,"date":"2014-04-25T12:11:00","date_gmt":"2014-04-25T10:11:00","guid":{"rendered":"http:\/\/blog.zhaw.ch\/icclab\/?p=4782"},"modified":"2014-06-13T17:26:30","modified_gmt":"2014-06-13T15:26:30","slug":"getting-started-with-openshift-and-openstack","status":"publish","type":"post","link":"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/","title":{"rendered":"Getting Started with OpenShift and OpenStack"},"content":{"rendered":"<p>In <a href=\"http:\/\/blog.zhaw.ch\/icclab\/category\/projects\/mobile-cloud-networking\/\">Mobile Cloud Networking (MCN)<\/a> we rely heavily on <a href=\"http:\/\/openstack.org\">OpenStack<\/a>, <a href=\"http:\/\/openshift.com\">OpenShift<\/a> and of course <a href=\"http:\/\/blog.zhaw.ch\/icclab\/category\/research-approach\/themes\/cloud-automation\/\">Automation<\/a>. So that developers can get working fast with their own local infrastructure, we&#8217;ve spent time setting up an automated workflow, using Vagrant and <a href=\"http:\/\/puppetlabs.com\/\">puppet<\/a> to setup both OpenStack and OpenShift. If you want to experiment with both OpenStack and OpenShift locally, simply clone this project:<\/p>\n<pre><code>$ git clone https:\/\/github.com\/dizz\/os-ops.git\r\n<\/code><\/pre>\n<p>Once it has been cloned you&#8217;ll need to initialise the submodules:<\/p>\n<pre><code>$ git submodule init\r\n$ git submodule update\r\n<\/code><\/pre>\n<p>After that just you can begin the setup of OpenStack and OpenShift. You&#8217;ll need an installation of <a href=\"http:\/\/virtualbox.org\">VirtualBox<\/a> and <a href=\"http:\/\/vagrantup.com\">Vagrant<\/a>.<\/p>\n<h2>OpenStack<\/h2>\n<ul>\n<li>run in <strong>controller\/worker<\/strong> mode:\n<pre><code>  $ vagrant up os_ctl\r\n  $ vagrant up os_cmp\r\n<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>There&#8217;s some gotchas, so look at the known issues in the <a href=\"https:\/\/github.com\/dizz\/os-ops\/blob\/master\/README.md\">README<\/a>, specific to OpenStack. Otherwise, open your web browser at: <a href=\"http:\/\/10.10.10.51\">http:\/\/10.10.10.51<\/a>.<\/p>\n<h2>OpenShift<\/h2>\n<p>You&#8217;ve two OpenShift options:<\/p>\n<ul>\n<li>run <strong>all-in-one:<\/strong>\n<pre><code>  $ cd os-ops\r\n  $ vagrant up ops_aio\r\n<\/code><\/pre>\n<\/li>\n<li>run in <strong>controller\/worker<\/strong> mode:\n<pre><code>  $ cd os-ops\r\n  $ vagrant up ops_ctl\r\n  $ vagrant up ops_node\r\n<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>Once done open your web browser at: <a href=\"https:\/\/10.10.10.53\/console\/applications\">https:\/\/10.10.10.53\/console\/applications<\/a>. There more info in the <a href=\"https:\/\/github.com\/dizz\/os-ops\/blob\/master\/README.md\">README<\/a>.<\/p>\n<p><a href=\"http:\/\/blog.zhaw.ch\/icclab\/openshift-on-openstack-round-one\/\"><em><strong>In the next post we&#8217;ll look at<\/strong><\/em> getting OpenShift running on OpenStack<\/a>, quickly and fast using two approaches, direct with puppet and using <a href=\"https:\/\/wiki.openstack.org\/wiki\/Heat\">Heat<\/a> orchestration.<\/p>\n<div class=\"pt-sm\">Schlagw\u00f6rter: <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/automation\/\">automation<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/heat\/\">heat<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/iaas\/\">iaas<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/openshift\/\">openshift<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/openstack\/\">openstack<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/paas\/\">paas<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/puppet\/\">puppet<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/vagrant\/\">vagrant<\/a><br><\/div>","protected":false},"excerpt":{"rendered":"<p>In Mobile Cloud Networking (MCN) we rely heavily on OpenStack, OpenShift and of course Automation. So that developers can get working fast with their own local infrastructure, we&#8217;ve spent time setting up an automated workflow, using Vagrant and puppet to setup both OpenStack and OpenShift. If you want to experiment with both OpenStack and OpenShift locally, simply clone this project&#8230;<\/p>\n","protected":false},"author":72,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[15,21],"tags":[51,177,182,238,240,245,271,339],"features":[],"class_list":["post-4782","post","type-post","status-publish","format-standard","hentry","category-howtos","category-openstack-2","tag-automation","tag-heat","tag-iaas","tag-openshift","tag-openstack","tag-paas","tag-puppet","tag-vagrant"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Getting Started with OpenShift and OpenStack - Service Engineering (ICCLab &amp; SPLab)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Started with OpenShift and OpenStack\" \/>\n<meta property=\"og:description\" content=\"In Mobile Cloud Networking (MCN) we rely heavily on OpenStack, OpenShift and of course Automation. So that developers can get working fast with their own local infrastructure, we&#039;ve spent time setting up an automated workflow, using Vagrant and puppet to setup both OpenStack and OpenShift. If you want to experiment with both OpenStack and OpenShift locally, simply clone this project...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Engineering (ICCLab &amp; SPLab)\" \/>\n<meta property=\"article:published_time\" content=\"2014-04-25T10:11:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-06-13T15:26:30+00:00\" \/>\n<meta name=\"author\" content=\"Andy Edmonds\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andy Edmonds\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/\"},\"author\":{\"name\":\"Andy Edmonds\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/a62f7b702361e11d635f4e59446e8684\"},\"headline\":\"Getting Started with OpenShift and OpenStack\",\"datePublished\":\"2014-04-25T10:11:00+00:00\",\"dateModified\":\"2014-06-13T15:26:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/\"},\"wordCount\":184,\"commentCount\":5,\"keywords\":[\"automation\",\"heat\",\"iaas\",\"openshift\",\"openstack\",\"paas\",\"puppet\",\"vagrant\"],\"articleSection\":[\"HowTos\",\"OpenStack\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/\",\"name\":\"Getting Started with OpenShift and OpenStack - Service Engineering (ICCLab &amp; SPLab)\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#website\"},\"datePublished\":\"2014-04-25T10:11:00+00:00\",\"dateModified\":\"2014-06-13T15:26:30+00:00\",\"author\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/a62f7b702361e11d635f4e59446e8684\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\/\/blog.zhaw.ch\/icclab\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started with OpenShift and OpenStack\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#website\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/\",\"name\":\"Service Engineering (ICCLab &amp; SPLab)\",\"description\":\"A Blog of the ZHAW Zurich University of Applied Sciences\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.zhaw.ch\/icclab\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/a62f7b702361e11d635f4e59446e8684\",\"name\":\"Andy Edmonds\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/564b17a1126a2ed30e20d4c65842164e32a6cf798a8175e88bcf5b352ebd60c8?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/564b17a1126a2ed30e20d4c65842164e32a6cf798a8175e88bcf5b352ebd60c8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/564b17a1126a2ed30e20d4c65842164e32a6cf798a8175e88bcf5b352ebd60c8?s=96&d=mm&r=g\",\"caption\":\"Andy Edmonds\"},\"sameAs\":[\"http:\/\/andy.edmonds.be\"],\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/author\/edmo\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Getting Started with OpenShift and OpenStack - Service Engineering (ICCLab &amp; SPLab)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/","og_locale":"en_US","og_type":"article","og_title":"Getting Started with OpenShift and OpenStack","og_description":"In Mobile Cloud Networking (MCN) we rely heavily on OpenStack, OpenShift and of course Automation. So that developers can get working fast with their own local infrastructure, we've spent time setting up an automated workflow, using Vagrant and puppet to setup both OpenStack and OpenShift. If you want to experiment with both OpenStack and OpenShift locally, simply clone this project...","og_url":"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/","og_site_name":"Service Engineering (ICCLab &amp; SPLab)","article_published_time":"2014-04-25T10:11:00+00:00","article_modified_time":"2014-06-13T15:26:30+00:00","author":"Andy Edmonds","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Andy Edmonds","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/#article","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/"},"author":{"name":"Andy Edmonds","@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/a62f7b702361e11d635f4e59446e8684"},"headline":"Getting Started with OpenShift and OpenStack","datePublished":"2014-04-25T10:11:00+00:00","dateModified":"2014-06-13T15:26:30+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/"},"wordCount":184,"commentCount":5,"keywords":["automation","heat","iaas","openshift","openstack","paas","puppet","vagrant"],"articleSection":["HowTos","OpenStack"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/","url":"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/","name":"Getting Started with OpenShift and OpenStack - Service Engineering (ICCLab &amp; SPLab)","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#website"},"datePublished":"2014-04-25T10:11:00+00:00","dateModified":"2014-06-13T15:26:30+00:00","author":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/a62f7b702361e11d635f4e59446e8684"},"breadcrumb":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.zhaw.ch\/icclab\/getting-started-with-openshift-and-openstack\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/blog.zhaw.ch\/icclab\/"},{"@type":"ListItem","position":2,"name":"Getting Started with OpenShift and OpenStack"}]},{"@type":"WebSite","@id":"https:\/\/blog.zhaw.ch\/icclab\/#website","url":"https:\/\/blog.zhaw.ch\/icclab\/","name":"Service Engineering (ICCLab &amp; SPLab)","description":"A Blog of the ZHAW Zurich University of Applied Sciences","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.zhaw.ch\/icclab\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/a62f7b702361e11d635f4e59446e8684","name":"Andy Edmonds","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/564b17a1126a2ed30e20d4c65842164e32a6cf798a8175e88bcf5b352ebd60c8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/564b17a1126a2ed30e20d4c65842164e32a6cf798a8175e88bcf5b352ebd60c8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/564b17a1126a2ed30e20d4c65842164e32a6cf798a8175e88bcf5b352ebd60c8?s=96&d=mm&r=g","caption":"Andy Edmonds"},"sameAs":["http:\/\/andy.edmonds.be"],"url":"https:\/\/blog.zhaw.ch\/icclab\/author\/edmo\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/4782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/users\/72"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/comments?post=4782"}],"version-history":[{"count":4,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/4782\/revisions"}],"predecessor-version":[{"id":5181,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/4782\/revisions\/5181"}],"wp:attachment":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/media?parent=4782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/categories?post=4782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/tags?post=4782"},{"taxonomy":"features","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/features?post=4782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}