{"id":477,"date":"2014-05-20T19:52:41","date_gmt":"2014-05-20T07:52:41","guid":{"rendered":"http:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=477"},"modified":"2014-05-20T19:52:41","modified_gmt":"2014-05-20T07:52:41","slug":"openshift-looks-interesting","status":"publish","type":"post","link":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=477","title":{"rendered":"Openshift looks interesting"},"content":{"rendered":"<p>Looking at PaaS.<\/p>\n<p>Passed on CloudFoundry as I do not want to install Ruby which seems to be needed to use that. <\/p>\n<p>So I am looking at OpenShift Origin instead. That works better for me as it&#8217;s Redhat oriented and I&#8217;m using Fedora. Also I already have OpenStack cloud infrastructure running and I may be able to use OpenShift against that. I am assuming it needs OpenStack&#8230; the doc doesn&#8217;t list that or Docker as a pre-requisite but I&#8217;m guessing it needs somewhere to start a machine instance running.<\/p>\n<p>Will probably get seriously into that over the weekend. <\/p>\n<p>Starting off with downloading the VM images for a test VM (yes images !), I only want a KVM image but both the KVM (VMware) and VirtualBox images are bundled in a single zip file so no choice but to download the entire zip file then remove the VirtualBox image&#8230; download will take a while. Install documentation says to convert the VMware image to &#8216;raw&#8217; format to get a image usable under KVM.<\/p>\n<p>The install documentation for the VM covers installing it using the virt-manager GUI. Not much use on a headless server, but no problems as I am comfortable in building (or rebuilding) VMs from the command line using existing disk images anyway.<\/p>\n<p>One curious thing is the documentation says KVM needs a &#8216;raw&#8217; disk. I&#8217;m assuming that is an OpenShift requirement as it is certainly not a KVM requirement, I have lots of KVM systems running off qcow2 disks without any problems.<\/p>\n<p>Puppet rules to install OpenShift Origin are documented on the OpenShift site. So while I have never played with Puppet it seems it <em>should<\/em> be trivial to install everythong on a physical machine&#8230; but I will not install it on a physical machine as<\/p>\n<ul>\n<li>It requires MongoDB; which seems a strange choice as Fedora uses postgress as the preferred DB (at least packaged utilities like bacula default to postgress now where they used to use mysql, which is a pain). Anyway I&#8217;m mariadb on physical hardware; not interested in installing multiple databases\n<\/li>\n<li><em>And also needs Ruby, which I will not install on a physical machine even if hell does freeze over<\/em>. Nothing wrong with Ruby, lots of sites use it without problem. I personally have never been able to do a sucessfull Fedora OS upgrade to a new release on any machine with Ruby installed, Fedora packaging conflicts I suppose, but I won&#8217;t use it on a physical machine anymore\n<\/li>\n<li>And is using ActiveMQ instead of RabbitMQ&#8230; which is not a problem but I haven&#8217;t come across ActiveMQ before, so will need to go off on a tangent to see what that involves\n<\/li>\n<\/ul>\n<p>As an aside annoyingly some of the links on the openshift page (at least the backlog link for the user interface) jump to &#8216;trello&#8217; which disables the browser &#8216;back&#8217; button to leave the trello site&#8230; which is a pain when trying to check out the documentation links.<\/p>\n<h2>However<\/h2>\n<p>My openstack test system has custom built images to create web server and database server instances already. I guess what my play with this will determine is if it is more that just another pretty frontend&#8230; which (assuming again) I guess it must be as the documentation for the downloaded VM images says 1Gb of memory for the downloaded VM image is fine&#8230; so where does the OpenShift VM spin up it&#8217;s instances ?&#8230; will try spinning the first one up with the router unplugged to make sure it&#8217;s not dependant upon external sites. if it needs openstack I want it to use my machines not external ones.<\/p>\n<p>But thats in the weekend&#8230; VM disk images still downloading, will be a while.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looking at PaaS. Passed on CloudFoundry as I do not want to install Ruby which seems to be needed to use that. So I am looking at OpenShift Origin instead. That works better for me as it&#8217;s Redhat oriented and &hellip; <a href=\"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=477\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-477","post","type-post","status-publish","format-standard","hentry","category-virtual-machines"],"_links":{"self":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=477"}],"version-history":[{"count":2,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/477\/revisions"}],"predecessor-version":[{"id":479,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/477\/revisions\/479"}],"wp:attachment":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}