Ask Your Question

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


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:

but when I look at the OpenstackClient V3 API at, I can't find it. Is this outdated?

As described here,

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

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 (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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 498 times

Last updated: Aug 08 '15