Query for type "compute" instead of name "nova"
The former doesn't work in my private OpenStack cloud, because the
service is not named "nova".
{
Name: "Compute Service",
Type: "compute",
...
}
I think type "compute" is probably a more portable way to do it. That
was the impression I got from looking at
http://docs.rackspace.com/auth/api/v2.0/auth-client-devguide/content/Service_Types-d1e265.html
diff --git a/api_fetch.go b/api_fetch.go
index ef058c8..196047e 100644
--- a/api_fetch.go
+++ b/api_fetch.go
@@ -7,7 +7,7 @@
//The default generic openstack api
var OpenstackApi = map[string]interface{}{
- "Name": "nova",
+ "Type": "compute",
"UrlChoice": PublicURL,
}