Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Cloud Plugfest OCCI, pyssf and OpenStack
1. Interop Clouds with OCCI
Thijs Metsch - Platform Computing, an IBM Company
Andrew Edmonds - Intel Corporation
Cloud Plugfest – February/March 2012, Düsseldorf Germany
2. Starring
In Order of apprerances
OCCI As the cool kid in town
OpenStack As the „Cloud“
ISF As the Platform Cloud
Andy Edmonds As the Developer
Thijs Metsch As the Integrator
6. The OCCI library
HTTP Header
Rendering
Backend
HTTP text/uri-list
Rendering Backend
WSGI App
HTTP HTTP text/plain OCCI Backend Your
Handling Rendering Model* App
Backend
HTTP text/html
Rendering
…
HTTP app/json
Rendering
Map the HTTP Data to
the OCCI Model
(Automatic)
* http://www.occi-wg.org
7. The OCCI library
HTTP Header
Rendering
Backend
HTTP text/uri-list
Rendering Backend
WSGI App
HTTP HTTP text/plain OCCI Backend Your
Handling Rendering Model* App
Backend
HTTP text/html
Rendering
Backends define
…
HTTP app/json categories they can
Rendering handle – this all you
need to implement
(Automatic selection)
http://pyssf.sf.net
* http://www.occi-wg.org
8. The software package is flexible
• OCCI‘s IaaS extension is provided within
but with own extensions you can:
– Use it for you IaaS based cloud
• From „Dummy Cloud“ to OpenStack OCCI
services
– A Platformish approach
• As a proxy for another web services – Platform ISF
– Job submission
• See OCCI DRMAA proposal Specification
– Key Value storage
• Described in a Springer book:
16. OCCI & OpenStack Features
• Status
– General support for VM management is available
– First set of tests available
– Aligned with the coding Standards of OpenStack!
– OCCI Compliant – thanks pyssf!
• Features
– Deployment and Management of VMs & Volumes
– Scale up (Resize), Rebuild, Imaging of VMs
– Integrated as a nova-wsgi WSGI service
17. OS OCCI Parity*
• Summary:
– Servers (5/5)
– Server Addresses (1/2)
– Flavors (1/2)
– Images (1/2)
– Metadata (0/6)
• Further details here: http://bit.ly/os-occi
* Does not include OS API Extensions
18. Install & Play
• 1: Install pyssf
– From code repository at pyssf.sf.net
– pip/easy_install install pyssf
• Option 1 - Easiest way will be using devstack
– Configure stackrc to clone nova code from:
git://git@github.com/dizz/nova
• Option 2 - Get the Code (Optional) & Do It Yourself:
– cd $YOUR_NOVA_INSTALL_LOCATION
– git add remote occi-upstream
git://git@github.com/dizz/nova
– git fetch occi-upstream
– git merge occi-upstream/master
23. Live Demo Overview
• Faisal needs a VM to process data
– He Creates a VM
• Realises it’s not powerful enough
–Resizes it
• Begins to crunch his data
• His boss finds out: “You’re using the Cloud?
OMFG!”
– Faisal quickly Tears Down his resources
24. Developing with Open/Dev-Stack
• Experiences – „WAT!?“
– Devstack can be helpful
– BUT: Sometimes not!
– Set Root password!
• Unittesting
– Writing Unittests for our OCCI-api was straight
forward
• Changing APIs
– Especially integration with Keystone was „fun“
25. OCCI-OpenStack Roadmap
• Submit to OpenStack review process
• Add features:
1. Documentation
2. OCCI registry backend - OS Nova DB
3. OCCI on OS to parity
4. CDMI volume management e.g. rOCCI
5. Quantum
• Use it as a proving ground of OCCI awesome sauce!
27. Conclusions
• OCCI offers flexibility while being a Standard
– Thanks to the Model and our renderings
– Discoverability
• Can be used for way more than just IaaS
– Examples: FiWare and ISF extensions
– Other use cases
• CDMI & swift
– New Blueprint with updated details
– Expose nova-volume via CDMI
28. Closing remarks
• This work was partly funded by the projects:
http://dgsi.d-grid.de http://fi-ware.eu
Notes de l'éditeur
Flavour and image is a ML discussion – note there is limited support for details in QIMetadata is a ML discussion
This is through the default keystone middleware. OS nova authmiddlware or an OCCI specific middleware could be implemented to reduce the requirements just to X-Auth-Token