Issue #168 Support both v1 & v2 glance API