{"id":742,"date":"2016-04-06T20:29:57","date_gmt":"2016-04-06T08:29:57","guid":{"rendered":"http:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=742"},"modified":"2016-04-06T20:29:57","modified_gmt":"2016-04-06T08:29:57","slug":"another-new-project-walmarts-oneops-day-1","status":"publish","type":"post","link":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=742","title":{"rendered":"Another new project &#8211; Walmarts OneOps &#8211; Day 1"},"content":{"rendered":"<p>Since Walmarts &#8220;OneOps&#8221; platform has been open sourced and placed on github for the world to use I have added yet another project onto my TODO list.<\/p>\n<p>From a quick read OneOps is designed to deploy VMs from a single management infrastrcture onto any cloud platform; Azure, Rackspace, Amazon or even a local OpenStack system&#8230; basically being able to redeploy to whatever is cheapest at the time.<\/p>\n<p>It is unlikely to be usable by me unless I install it on bare metal as the minimum hardware requirements seem to be 16Gb of memory&#8230; but for testing the installation and configuration steps I have fired up a 4Gb VM to work out how to get the software installed, when I have that tested\/documented I will use bare metal.<\/p>\n<p>The first step for me was obviously to install the documentation. That is very briefly covered in the readme at the main documentation project at <a href=\"https:\/\/github.com\/oneops\/oneops.github.io\">https:\/\/github.com\/oneops\/oneops.github.io<\/a>. Did I mention very briefly.<\/p>\n<p>Fortunately the Fedora documentation at <a href=\"https:\/\/developer.fedoraproject.org\/tech\/languages\/ruby\/gems-installation.html\">https:\/\/developer.fedoraproject.org\/tech\/languages\/ruby\/gems-installation.html<\/a> covered most of the steps needed to install ruby\/gems.<\/p>\n<p>The steps here are how to install the documentation, based on a merging of the references above. The commands need to be run as root of course.<\/p>\n<pre>\r\ndnf install ruby-devel\r\ndnf group install \"C Development Tools and Libraries\"\r\ndnf install redhat-rpm-config patch git\r\ngem install jekyll\r\ngem install redcarpet\r\nuseradd oneops\r\nsu - oneops\r\ngit clone https:\/\/github.com\/oneops\/oneops.github.io.git\r\ncd oneops.githup.io\r\njekyll serve --no-watch\r\n<\/pre>\n<p>And then&#8230; you should be able to view the documentation using a local browser at http:\/\/127.0.0.1:4000\/<\/p>\n<p><b>And there is my first obvious problem<\/b>. Netstat does indeed show a service listening on 127.0.0.1 port 4000&#8230; the key problem being it is listening only on 127.0.0.1 not on 0.0.0.0&#8230; the VM is a &#8220;server&#8221; with no desktop environment and it has no web browsers and because it is bound to localhost using a browser from another machine cannot read the doco !.<\/p>\n<p>I installed my favourite text browser lynx onto the VM and confirmed the doco is being served correctly, but of course it is hard to follow the doc in a text browser.<\/p>\n<p>Lots of grep on 127.0.0.1 and localhost failed to find where it was set.<\/p>\n<p>So Day 2 to Day N will be trying to find where that is set so the documentation is network available via a gui browser rather than only available to localhost. If I cannot find that by the weekend I will install apache and &#8220;proxy&#8221; to the port, but I am trying to minimise software installs to just what is required.<\/p>\n<p>So watch this space.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since Walmarts &#8220;OneOps&#8221; platform has been open sourced and placed on github for the world to use I have added yet another project onto my TODO list. From a quick read OneOps is designed to deploy VMs from a single &hellip; <a href=\"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/?p=742\">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":[5],"tags":[],"class_list":["post-742","post","type-post","status-publish","format-standard","hentry","category-my-nux-thoughts-and-notes"],"_links":{"self":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/742","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=742"}],"version-history":[{"count":2,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/742\/revisions"}],"predecessor-version":[{"id":744,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/742\/revisions\/744"}],"wp:attachment":[{"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mdickinson.dyndns.org\/php\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}