Bug when configuring Keystone events format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Rafael Weingartner | ||
kolla-ansible |
Fix Committed
|
Medium
|
Rafael Weingartner | ||
Stein |
New
|
Undecided
|
Unassigned | ||
Train |
Fix Committed
|
Medium
|
Rafael Weingartner |
Bug Description
By default Kolla-ansible defines 'enable_
Kolla-ansible will configure Keystone without setting the oslo.messaging driver as messagingv2 when 'enable_
* Moving the definition of 'enable_
* Changing the default value defined to 'yes' because that is the default behavior in Keystone. Keystone uses CADF format by Default.
* Add an else condition in Keystone.conf template. When CADF is not enabled, we need to explicitly set the format as 'basic'. Moreover, enabling the message driver to allow us to get messages in the queueing system.
After opening the PR, the fellow Radosław Piliszek questioned the proposed changes. More details can be found there (https:/
option 1 -- we can use the PR as is;
option 2 -- we can remove the "feature" (enable_
option 3 -- do nothing (abandon this PR), and leave things as they are.
The community now has to decide on which path we will follow to address this situation. Afterwards, we can move on and propose a PR to apply/address the selected option into Kolla-ansible.
Changed in kolla-ansible: | |
assignee: | nobody → Rafael Weingartner (rafaelweingartner) |
Changed in keystone: | |
assignee: | nobody → Rafael Weingartner (rafaelweingartner) |
Changed in kolla-ansible: | |
status: | New → Triaged |
Changed in keystone: | |
status: | New → Incomplete |
I strongly doubt keystone (as a project) is affected by this. ;-)
Option 2 is best for kolla because it aligns with letting users configure stuff like this using native config format via overrides. This option was not even documented. It needs to be deprecated/ obsoleted and removed. If there is something for k-a to orchestrate there, which would be unwieldy for overrides, then we can discuss it but in this form it's not worth the trouble of changing behavior.
Please see the change proposal comments for details
TL;DR: the proposal changed the default behavior by enabling the notification messaging driver by default (which is actually not a default for keystone). K-a simply did not enable it by default (and notification type was always CADF if only enabled). We would need to slap an upgrade note that we are changing that behavior and (while it is sensible to run notifications) it would need some explanation anyway.