Skip to content

Instantly share code, notes, and snippets.

@r1chardj0n3s
Created October 18, 2016 05:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r1chardj0n3s/316a87c4dcdac5334964c78cc2002339 to your computer and use it in GitHub Desktop.
Save r1chardj0n3s/316a87c4dcdac5334964c78cc2002339 to your computer and use it in GitHub Desktop.
REMOTE_USER:superego@testshib.org
[
{
"local": [
{
"group": {
"id": "600bf9dc4f184f409657e36d8fb80cb5"
},
"user": {
"domain": {
"name": "finance"
},
"name": "testshib:{0}"
}
}
],
"remote": [
{
"type": "REMOTE_USER",
"any_one_of": [
"myself@testshib.org"
]
},
{
"type": "REMOTE_USER"
}
]
},
{
"local": [
{
"group": {
"id": "a6c14c6ac2944be49d3f6e27a37e3711"
},
"user": {
"domain": {
"name": "finance"
},
"name": "testshib:{0}"
}
}
],
"remote": [
{
"type": "REMOTE_USER",
"any_one_of": [
"alterego@testshib.org"
]
},
{
"type": "REMOTE_USER"
}
]
},
{
"local": [
{
"group": {
"id": "aea183e7fc5e43298f22f0949e675db1"
},
"user": {
"domain": {
"name": "finance"
},
"name": "testshib:{0}"
}
}
],
"remote": [
{
"type": "REMOTE_USER",
"any_one_of": [
"superego@testshib.org"
]
},
{
"type": "REMOTE_USER"
}
]
}
]
ubuntu@server-03:/opt/stack/keystone/etc$ keystone-manage mapping_engine --rules /tmp/mapping.json --input /tmp/input.txt
2016-10-18 05:09:48.524 25128 CRITICAL keystone [-] TypeError: __init__() takes exactly 3 arguments (2 given)
2016-10-18 05:09:48.524 25128 TRACE keystone Traceback (most recent call last):
2016-10-18 05:09:48.524 25128 TRACE keystone File "/usr/local/bin/keystone-manage", line 10, in <module>
2016-10-18 05:09:48.524 25128 TRACE keystone sys.exit(main())
2016-10-18 05:09:48.524 25128 TRACE keystone File "/opt/stack/keystone/keystone/cmd/manage.py", line 44, in main
2016-10-18 05:09:48.524 25128 TRACE keystone cli.main(argv=sys.argv, config_files=config_files)
2016-10-18 05:09:48.524 25128 TRACE keystone File "/opt/stack/keystone/keystone/cmd/cli.py", line 1250, in main
2016-10-18 05:09:48.524 25128 TRACE keystone CONF.command.cmd_class.main()
2016-10-18 05:09:48.524 25128 TRACE keystone File "/opt/stack/keystone/keystone/cmd/cli.py", line 1123, in main
2016-10-18 05:09:48.524 25128 TRACE keystone rp = mapping_engine.RuleProcessor(rules['rules'])
2016-10-18 05:09:48.524 25128 TRACE keystone TypeError: __init__() takes exactly 3 arguments (2 given)
2016-10-18 05:09:48.524 25128 TRACE keystone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment