{"id":424,"date":"2012-06-12T16:49:10","date_gmt":"2012-06-12T16:49:10","guid":{"rendered":"http:\/\/www.cloudcomp.ch\/?p=424"},"modified":"2012-06-12T16:49:10","modified_gmt":"2012-06-12T16:49:10","slug":"updated-occi-openstack-install-guide","status":"publish","type":"post","link":"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/","title":{"rendered":"Updated OCCI OpenStack Install Guide"},"content":{"rendered":"<p>Recently, the [OCCI implementation](http:\/\/www.github.com\/dizz\/nova) for [OpenStack](http:\/\/www.openstack.org) was made available by [work done by Intel Labs Europe](http:\/\/wiki.openstack.org\/occi) as part of the [FI-ware project](http:\/\/www.fi-ware.eu). Some of the install instructions are now somewhat out of date. In this post we&#8217;ll outline the steps necessary to get the OCCI implementation up and running. This updated install guide is also now reflected on the [OpenStack OCCI wiki](http:\/\/wiki.openstack.org\/occi). A big thanks goes out to Piotr Kasprzak at [GDWG](http:\/\/www.gwdg.de) for some of the updates!<\/p>\n<p># Steps<\/p>\n<p>Create a fresh VM. Ubuntu 12.04 is a good baseline.<\/p>\n<p>Get devstack:<\/p>\n<p>[gist id=2917429]<\/p>\n<p>Install some necessaries:<\/p>\n<p>[gist id=2917431]<\/p>\n<p>Fix the `prettytable` issue:<\/p>\n<p>[gist id=2917434]<\/p>\n<p>Edit `~\/devstack\/stackrc` so it checks out the OCCI branch of OpenStack:<\/p>\n<p>[gist id=2917441]<\/p>\n<p>Create\/Edit `~\/devstack\/localrc` with the following content:<\/p>\n<p>[gist id=2917445]<\/p>\n<p>Now execute devstack:<\/p>\n<p>[gist id=2917453]<\/p>\n<p>You will be now asked for a number of service admin passwords. Once the devstack process has completed you should see the following:<\/p>\n<p>[gist id=2917462]<\/p>\n<p>Once the stack is running you can then issue the commands that are on the [OpenStack OCCI wiki page](http:\/\/wiki.openstack.org\/occi).<\/p>\n<p>A virtual machine with both OpenStack and OCCI can be [downloaded from here](http:\/\/www.cloudcomp.ch\/wp-content\/uploads\/2012\/06\/OCCI-OS.ova). The user name and password is `occi` and `occi`. It is in an OVA export format and you can easily import into VirtualBox. In `~\/devstack\/localrc` the `OFFLINE` parameter is set to `True`. If you want to update the devstack installation change this to `False`.<\/p>\n<p>## Potential Issues<\/p>\n<p>1. If the OCCI API blocks and does not return a response then please check your `\/etc\/nova\/api-paste.ini` configuration. Ensure that the `[filter:authtoken]` section has the correct `service_host` and `auth_host` values.<\/p>\n<div class=\"pt-sm\">Schlagw\u00f6rter: <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/deploy\/\">deploy<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/fiware\/\">fiware<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/install\/\">install<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/occi\/\">occi<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/openstack\/\">openstack<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/standards\/\">standards<\/a><br><\/div>","protected":false},"excerpt":{"rendered":"<p>Recently, the [OCCI implementation](http:\/\/www.github.com\/dizz\/nova) for [OpenStack](http:\/\/www.openstack.org) was made available by [work done by Intel Labs Europe](http:\/\/wiki.openstack.org\/occi) as part of the [FI-ware project](http:\/\/www.fi-ware.eu). Some of the install instructions are now somewhat out of date. In this post we&#8217;ll outline the steps necessary to get the OCCI implementation up and running. This updated install guide is also now reflected on the [OpenStack OCCI wiki](http:\/\/wiki.openstack.org\/occi). A big thanks goes out to Piotr Kasprzak at [GDWG](http:\/\/www.gwdg.de) for some of the updates!<\/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":[5,31,25],"tags":[110,145,195,231,240,313],"features":[],"class_list":["post-424","post","type-post","status-publish","format-standard","hentry","category-articles","category-occi-2","category-standards-2","tag-deploy","tag-fiware","tag-install","tag-occi","tag-openstack","tag-standards"],"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>Updated OCCI OpenStack Install Guide - 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\/updated-occi-openstack-install-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Updated OCCI OpenStack Install Guide\" \/>\n<meta property=\"og:description\" content=\"Recently, the [OCCI implementation](http:\/\/www.github.com\/dizz\/nova) for [OpenStack](http:\/\/www.openstack.org) was made available by [work done by Intel Labs Europe](http:\/\/wiki.openstack.org\/occi) as part of the [FI-ware project](http:\/\/www.fi-ware.eu). Some of the install instructions are now somewhat out of date. In this post we&#039;ll outline the steps necessary to get the OCCI implementation up and running. This updated install guide is also now reflected on the [OpenStack OCCI wiki](http:\/\/wiki.openstack.org\/occi). A big thanks goes out to Piotr Kasprzak at [GDWG](http:\/\/www.gwdg.de) for some of the updates!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Engineering (ICCLab &amp; SPLab)\" \/>\n<meta property=\"article:published_time\" content=\"2012-06-12T16:49:10+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/\"},\"author\":{\"name\":\"Andy Edmonds\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/a62f7b702361e11d635f4e59446e8684\"},\"headline\":\"Updated OCCI OpenStack Install Guide\",\"datePublished\":\"2012-06-12T16:49:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/\"},\"wordCount\":317,\"commentCount\":0,\"keywords\":[\"deploy\",\"fiware\",\"install\",\"occi\",\"openstack\",\"standards\"],\"articleSection\":[\"Articles\",\"OCCI\",\"Standards\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/\",\"name\":\"Updated OCCI OpenStack Install Guide - Service Engineering (ICCLab &amp; SPLab)\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#website\"},\"datePublished\":\"2012-06-12T16:49:10+00:00\",\"author\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/a62f7b702361e11d635f4e59446e8684\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\/\/blog.zhaw.ch\/icclab\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Updated OCCI OpenStack Install Guide\"}]},{\"@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":"Updated OCCI OpenStack Install Guide - 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\/updated-occi-openstack-install-guide\/","og_locale":"en_US","og_type":"article","og_title":"Updated OCCI OpenStack Install Guide","og_description":"Recently, the [OCCI implementation](http:\/\/www.github.com\/dizz\/nova) for [OpenStack](http:\/\/www.openstack.org) was made available by [work done by Intel Labs Europe](http:\/\/wiki.openstack.org\/occi) as part of the [FI-ware project](http:\/\/www.fi-ware.eu). Some of the install instructions are now somewhat out of date. In this post we'll outline the steps necessary to get the OCCI implementation up and running. This updated install guide is also now reflected on the [OpenStack OCCI wiki](http:\/\/wiki.openstack.org\/occi). A big thanks goes out to Piotr Kasprzak at [GDWG](http:\/\/www.gwdg.de) for some of the updates!","og_url":"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/","og_site_name":"Service Engineering (ICCLab &amp; SPLab)","article_published_time":"2012-06-12T16:49:10+00:00","author":"Andy Edmonds","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Andy Edmonds","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/#article","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/"},"author":{"name":"Andy Edmonds","@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/a62f7b702361e11d635f4e59446e8684"},"headline":"Updated OCCI OpenStack Install Guide","datePublished":"2012-06-12T16:49:10+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/"},"wordCount":317,"commentCount":0,"keywords":["deploy","fiware","install","occi","openstack","standards"],"articleSection":["Articles","OCCI","Standards"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/","url":"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/","name":"Updated OCCI OpenStack Install Guide - Service Engineering (ICCLab &amp; SPLab)","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#website"},"datePublished":"2012-06-12T16:49:10+00:00","author":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/a62f7b702361e11d635f4e59446e8684"},"breadcrumb":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.zhaw.ch\/icclab\/updated-occi-openstack-install-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/blog.zhaw.ch\/icclab\/"},{"@type":"ListItem","position":2,"name":"Updated OCCI OpenStack Install Guide"}]},{"@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\/424","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=424"}],"version-history":[{"count":0,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/424\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/media?parent=424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/categories?post=424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/tags?post=424"},{"taxonomy":"features","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/features?post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}