Is there a way to automate the provisioning of open stack VM for Docker Containers? For example I have 3 mesos slaves running on 3 open stack vms and now there are no more VM's left. My next docker containers is waiting to be run and I want open stack to know that my docker container needs a VM and it should automatically instantiate a VM. How to go about it? What open source technologies are available to make this work?
As Adam points out this is out of band of Mesos and would require some coding / scripting on your part. You could however use the mesos-master REST API to determine capacity of the cluster. {mesos-master ip}:5050/master/stats.json or {mesos-master ip}:5050/system/stats.json should provide good information
Based on values there, you could automate OpenStack.