General idea
SmartOS is a modern operating system that was actually created to run cloud orchestration software. Joyent uses it in their commercial Smart Data centre software. So it makes perfect sense to port OpenStack to it.
In fact, this idea is so obvious that there is a blueprint describing this.
Thijs Metsch wrote a there part (1,2,3) blog posts series about this endeavour. But it ends where it gets interesting: The part where you actually would start VMs, copy images, set up networking etc.
I built on his work and started where he stopped.
The plan
- Create a nova Hypervisor backend for SmartOS based on the current folsom (master) branch of Openstack Nova.
- Integrate networking through Quantum
- ???
- Profit
Current status
I can currently start and stop VMs (both SmartOS zones and KVM based VMs) through the OpenStack API. Glance integration is there (Images from glance will be put into ZFS the way “imgadm” wants them). On the SmartOS side I use the vmadm
and imgadm
tools as an integration API. Basic networking also works. Theres quite a lot of work to do to get security groups, floating IPs etc. working.
Here are two screenshots that show how it currently looks:
Expect more info to come in the next days and weeks.
Related Posts
- Stop writing tutorials - start writing Vagrantfiles or Dockerfiles - Make use of modern tools to make tutorials understandable as well as executable
- The missing piece: Operating Systems for web scale Cloud Apps - Operating systems that are optimised for cloud applications regarding configuration support and the distributed nature of apps are not there yet.
- There will be no reliable cloud (part 3) - How I stopped worrying and love the cloud