Ask Your Question
0

openstack identity provider set --remote-id <remote-id> <idp-id> results in unrecognized arguments error

asked 2015-08-08 19:42:49 -0500

zok_8 gravatar image

Hi,

I'm trying to enable federation in Kilo.

When I try to run the OpenStackClient CLI command "openstack identity provider set --remote-id remote-id idp-id

I get the following error: error: unrecognized arguments: --remote-id idp-id

The command is used in the official documentation here: http://docs.openstack.org/developer/k...

but when I look at the OpenstackClient V3 API at https://wiki.openstack.org/wiki/OpenS..., I can't find it. Is this outdated?

As described here, https://bigjools.wordpress.com/2015/0...

I take the remote-id from the shibboleth2.xml file (I use the the string after the equal sign in the line SSO entityID="https://my_idp_url"

As idp-id I use the ID of the Identity provider, which I get by running "openstack identity provider list" and copying what I see in the ID field of the table.

Does anyone know what I'm doing wrong?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-18 02:18:25 -0500

jianzj gravatar image

Hi, actually you did not do anything wrong. The problem may be your python-openstackclient is not a suitable one, maybe a little older.

You could run command "openstack --version" to check your python-openstackclient version.

As python-openstackclient is developing all the time, so some api support is trying to improvement. For identity provider, this commit https://github.com/openstack/python-openstackclient/commit/6a9d6af225097969eacd376c7af298d906e40d95 (Add support to remote_id), is doing the job to support remote-id. and the date is May 30, so you could use 1.4.0 or later to do the thing.

To do "setting remote id for identity provider", you have two ways, one is to update your python-openstackclient, other way is to write some python code to call keystoneclient.v3 to do this thing directly.

Thanks very much.

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: 2015-08-08 19:42:49 -0500

Seen: 439 times

Last updated: Aug 08 '15