Ask Your Question
0

How can I determine what REST parameters my open stack instance allows, and is there an auth parameter?

asked 2014-08-23 18:12:08 -0600

jayunit100 gravatar image

I've been playing with the vagrant openstack provisioner plugin.

github.com/cloudbau/vagrant-openstack-plugin

At one point, it creates a JSON request, with parameters like this:

{:auth=>{:passwordCredentials=>{:username=>"jvyas", :password=>"XXXXXX"}, :tenantName=>"XXXXXXXX"}}

And a error is recieved : That "auth" is an unexpected keyword.

I'm assuming that there is some kind of version mismatch, between the parameter schema that my plugin is sending, versus the parameters that my openstack version accepts.

How can I determine the exact schema that my OS instance accpets? I can log into the browser, but I dont see details about the REST API in my instance, and I assume the REST API changes from instance to instance, so looking at the general docs may not be as useful.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-09-21 16:18:28 -0600

igorm gravatar image

updated 2014-09-21 16:19:35 -0600

Reading [1] and assuming you must provide endpoint to keystone at least [2], I am guessing you can start reading the version from that first response.

Hope it's a hint in the right direction? Or I completely don't understand your question...

[1] https://wiki.openstack.org/wiki/VersionDiscovery (https://wiki.openstack.org/wiki/Versi...)

[2] https://github.com/cloudbau/vagrant-openstack-plugin (https://github.com/cloudbau/vagrant-o...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-23 18:11:29 -0600

Seen: 307 times

Last updated: Sep 21 '14