keystone-manage mapping_engine tester problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
John Dennis | ||
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Mitaka |
Fix Released
|
Undecided
|
Unassigned | ||
Newton |
Fix Released
|
Undecided
|
Unassigned | ||
keystone (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Won't Fix
|
Undecided
|
Unassigned |
Bug 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://
* ssh to keystone unit, grab artifacts and run command:
- mapping.json: http://
- input.txt: http://
- 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/
* 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]
There are several problems with keystone-manage mapping_engine
* It aborts with a backtrace because of wrong number of arguments
passed to the RuleProcessor
* The --engine-debug option does not work.
* Error messages related to input data are cryptic and inprecise.
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
milestone: | none → ocata-3 |
Changed in keystone: | |
assignee: | John Dennis (jdennis-a) → Steve Martinelli (stevemar) |
Changed in keystone: | |
assignee: | Steve Martinelli (stevemar) → John Dennis (jdennis-a) |
tags: | added: sts |
Changed in cloud-archive: | |
status: | New → Fix Released |
Changed in keystone (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in keystone (Ubuntu Yakkety): | |
status: | New → Triaged |
Changed in keystone (Ubuntu Yakkety): | |
status: | Triaged → Won't Fix |
Fix proposed to branch: master /review. openstack. org/418165
Review: https:/