Openstack support

Lots of fixes to get OpenStack working