2017-03-30 20:13:06 |
Daniel Speichert |
bug |
|
|
added bug |
2017-04-04 15:13:42 |
Anthony Washington |
keystone: status |
New |
Invalid |
|
2017-05-26 16:35:01 |
Lance Bragstad |
nominated for series |
|
keystone/ocata |
|
2017-05-26 16:35:01 |
Lance Bragstad |
bug task added |
|
keystone/ocata |
|
2017-05-26 16:35:01 |
Lance Bragstad |
nominated for series |
|
keystone/newton |
|
2017-05-26 16:35:01 |
Lance Bragstad |
bug task added |
|
keystone/newton |
|
2017-05-26 16:35:12 |
Lance Bragstad |
keystone/ocata: status |
New |
Invalid |
|
2017-05-26 16:47:15 |
Lance Bragstad |
keystone/newton: status |
New |
In Progress |
|
2017-05-26 16:47:18 |
Lance Bragstad |
keystone/newton: importance |
Undecided |
Low |
|
2017-05-26 16:47:40 |
Lance Bragstad |
keystone/newton: assignee |
|
Frode Nordahl (fnordahl) |
|
2017-06-14 07:54:03 |
Frode Nordahl |
bug task added |
|
keystone (Ubuntu) |
|
2017-06-14 07:54:28 |
Frode Nordahl |
nominated for series |
|
Ubuntu Yakkety |
|
2017-06-14 07:54:28 |
Frode Nordahl |
nominated for series |
|
Ubuntu Xenial |
|
2017-06-14 08:11:14 |
Frode Nordahl |
description |
Running `keystone-manage mapping_engine` (with parameters) is broken:
2017-03-30 16:09:11.982 13513 CRITICAL keystone [-] TypeError: __init__() takes exactly 3 arguments (2 given)
2017-03-30 16:09:11.982 13513 ERROR keystone Traceback (most recent call last):
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/bin/keystone-manage", line 10, in <module>
2017-03-30 16:09:11.982 13513 ERROR keystone sys.exit(main())
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/manage.py", line 44, in main
2017-03-30 16:09:11.982 13513 ERROR keystone cli.main(argv=sys.argv, config_files=config_files)
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1270, in main
2017-03-30 16:09:11.982 13513 ERROR keystone CONF.command.cmd_class.main()
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1143, in main
2017-03-30 16:09:11.982 13513 ERROR keystone rp = mapping_engine.RuleProcessor(rules['rules'])
2017-03-30 16:09:11.982 13513 ERROR keystone TypeError: __init__() takes exactly 3 arguments (2 given)
Affects mitaka, newton and ocata stable (centos-release). |
[Impact]
* A bug in keystone-manage tool prohibits the use of the mapping_engine command for testing federation rules.
* Users of Keystone Federation will not be able to verify their mapping rules before pushing these to production.
* Not being able to test rules before pushing to production is a major operational challenge for our users.
* The proposed upload fixes this by backporting a fix for this issue from upstream stable/ocata.
[Test Case]
* Deploy keystone using Juju with this bundle:
http://pastebin.ubuntu.com/24855409/
* ssh to keystone unit, grab artifacts and run command:
- mapping.json: http://pastebin.ubuntu.com/24855419/
- input.txt: http://pastebin.ubuntu.com/24855420/
- command:
'keystone-manage mapping_engine --rules mapping.json --input input.txt'
* Observe that command provides no output and that a Python Traceback is printed in /var/log/keystone/keystone.log
* Install the proposed package, repeat the above steps and observe that the command now outputs its interpretation and effect of the rules.
[Regression Potential]
* keystone-manage mapping_engine is a operational test tool and is solely used by the operator to test their rules.
* The distributed version of this command in Xenial and Yakkety does currently not work at all.
* The change will make the command work as our users expect it to.
[Original bug description]
Running `keystone-manage mapping_engine` (with parameters) is broken:
2017-03-30 16:09:11.982 13513 CRITICAL keystone [-] TypeError: __init__() takes exactly 3 arguments (2 given)
2017-03-30 16:09:11.982 13513 ERROR keystone Traceback (most recent call last):
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/bin/keystone-manage", line 10, in <module>
2017-03-30 16:09:11.982 13513 ERROR keystone sys.exit(main())
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/manage.py", line 44, in main
2017-03-30 16:09:11.982 13513 ERROR keystone cli.main(argv=sys.argv, config_files=config_files)
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1270, in main
2017-03-30 16:09:11.982 13513 ERROR keystone CONF.command.cmd_class.main()
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1143, in main
2017-03-30 16:09:11.982 13513 ERROR keystone rp = mapping_engine.RuleProcessor(rules['rules'])
2017-03-30 16:09:11.982 13513 ERROR keystone TypeError: __init__() takes exactly 3 arguments (2 given)
Affects mitaka, newton and ocata stable (centos-release). |
|
2017-06-14 08:14:35 |
Frode Nordahl |
keystone (Ubuntu): status |
New |
Fix Released |
|
2017-06-14 08:17:15 |
Frode Nordahl |
attachment added |
|
keystone-yakkety.debdiff https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/1677730/+attachment/4895675/+files/keystone-yakkety.debdiff |
|
2017-06-14 08:17:33 |
Frode Nordahl |
attachment added |
|
keystone-xenial.debdiff https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/1677730/+attachment/4895676/+files/keystone-xenial.debdiff |
|
2017-06-14 08:49:18 |
Frode Nordahl |
tags |
|
sts sts-sru-needed |
|
2017-06-14 08:50:08 |
Frode Nordahl |
bug task added |
|
cloud-archive |
|
2017-06-14 08:54:36 |
Edward Hope-Morley |
nominated for series |
|
cloud-archive/mitaka |
|
2017-06-14 08:54:36 |
Edward Hope-Morley |
nominated for series |
|
cloud-archive/newton |
|
2017-06-14 09:00:27 |
Edward Hope-Morley |
cloud-archive: status |
New |
Fix Released |
|
2017-06-14 09:00:30 |
Edward Hope-Morley |
keystone/ocata: status |
Invalid |
Fix Released |
|
2017-06-14 09:17:00 |
Frode Nordahl |
description |
[Impact]
* A bug in keystone-manage tool prohibits the use of the mapping_engine command for testing federation rules.
* Users of Keystone Federation will not be able to verify their mapping rules before pushing these to production.
* Not being able to test rules before pushing to production is a major operational challenge for our users.
* The proposed upload fixes this by backporting a fix for this issue from upstream stable/ocata.
[Test Case]
* Deploy keystone using Juju with this bundle:
http://pastebin.ubuntu.com/24855409/
* ssh to keystone unit, grab artifacts and run command:
- mapping.json: http://pastebin.ubuntu.com/24855419/
- input.txt: http://pastebin.ubuntu.com/24855420/
- command:
'keystone-manage mapping_engine --rules mapping.json --input input.txt'
* Observe that command provides no output and that a Python Traceback is printed in /var/log/keystone/keystone.log
* Install the proposed package, repeat the above steps and observe that the command now outputs its interpretation and effect of the rules.
[Regression Potential]
* keystone-manage mapping_engine is a operational test tool and is solely used by the operator to test their rules.
* The distributed version of this command in Xenial and Yakkety does currently not work at all.
* The change will make the command work as our users expect it to.
[Original bug description]
Running `keystone-manage mapping_engine` (with parameters) is broken:
2017-03-30 16:09:11.982 13513 CRITICAL keystone [-] TypeError: __init__() takes exactly 3 arguments (2 given)
2017-03-30 16:09:11.982 13513 ERROR keystone Traceback (most recent call last):
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/bin/keystone-manage", line 10, in <module>
2017-03-30 16:09:11.982 13513 ERROR keystone sys.exit(main())
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/manage.py", line 44, in main
2017-03-30 16:09:11.982 13513 ERROR keystone cli.main(argv=sys.argv, config_files=config_files)
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1270, in main
2017-03-30 16:09:11.982 13513 ERROR keystone CONF.command.cmd_class.main()
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1143, in main
2017-03-30 16:09:11.982 13513 ERROR keystone rp = mapping_engine.RuleProcessor(rules['rules'])
2017-03-30 16:09:11.982 13513 ERROR keystone TypeError: __init__() takes exactly 3 arguments (2 given)
Affects mitaka, newton and ocata stable (centos-release). |
Running `keystone-manage mapping_engine` (with parameters) is broken:
2017-03-30 16:09:11.982 13513 CRITICAL keystone [-] TypeError: __init__() takes exactly 3 arguments (2 given)
2017-03-30 16:09:11.982 13513 ERROR keystone Traceback (most recent call last):
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/bin/keystone-manage", line 10, in <module>
2017-03-30 16:09:11.982 13513 ERROR keystone sys.exit(main())
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/manage.py", line 44, in main
2017-03-30 16:09:11.982 13513 ERROR keystone cli.main(argv=sys.argv, config_files=config_files)
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1270, in main
2017-03-30 16:09:11.982 13513 ERROR keystone CONF.command.cmd_class.main()
2017-03-30 16:09:11.982 13513 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1143, in main
2017-03-30 16:09:11.982 13513 ERROR keystone rp = mapping_engine.RuleProcessor(rules['rules'])
2017-03-30 16:09:11.982 13513 ERROR keystone TypeError: __init__() takes exactly 3 arguments (2 given)
Affects mitaka, newton and ocata stable (centos-release). |
|
2017-06-14 09:17:05 |
Edward Hope-Morley |
bug task deleted |
cloud-archive |
|
|
2017-06-14 09:17:10 |
Frode Nordahl |
tags |
sts sts-sru-needed |
|
|
2017-06-14 09:17:23 |
Frode Nordahl |
bug task deleted |
keystone (Ubuntu) |
|
|
2017-06-14 09:21:39 |
Frode Nordahl |
attachment removed |
keystone-yakkety.debdiff https://bugs.launchpad.net/keystone/+bug/1677730/+attachment/4895675/+files/keystone-yakkety.debdiff |
|
|
2017-06-14 09:21:53 |
Frode Nordahl |
attachment removed |
keystone-xenial.debdiff https://bugs.launchpad.net/keystone/+bug/1677730/+attachment/4895676/+files/keystone-xenial.debdiff |
|
|
2018-10-24 17:54:49 |
Morgan Fainberg |
keystone/newton: status |
In Progress |
Fix Released |
|
2018-10-24 17:54:54 |
Morgan Fainberg |
keystone/newton: status |
Fix Released |
Invalid |
|