LDAP plugin not working for 9.1 - propagate_task_deploy >=2.0.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Fuel Sustaining |
Bug Description
Detailed bug description:
After updating a Fuel environment from 9.0 to 9.1, environments with LDAP can no longer be created
Steps to reproduce:
Create a new env, enable the LDAP plugin, add some settings and click "Save Settings".
Expected results: LDAP plugin enabled.
Actual result:
the error message appears:
"Cannot enable plugin with legacy tasks unless propagate_
Reproducibility: On environments created on 9.0 and upgraded or new envs on 9.1
Description of the environment:
Fuel env upgraded from 9.0 a few days ago according to https:/
Operation system: CentOS Linux release 7.2.1511 Versions of components: LDAP plugin from master branch
Impact: can no longer use a critical component.
Possibly related bugs #1639393 #1619228
Attempted fix:
So the latest version of fuel-plugin-ldap was downloaded and installed, whose most recent commit adds "version: 2.0.0" to deployment_
Analysis:
It seems to be kicked in by /usr/lib/
So, added in a statement to log the version:
def contains_
.....
Which gives
Check task version min=2.0 ver=1.0 task={'task_name': u'ldap_plugin', 'parameters': {u'puppet_modules': u'puppet/
Which shows that 1.0.0 is detected!!
But /var/www/
- id: ldap_plugin
type: puppet
version: 2.0.0
and there is no trace of a "1.0.0" in the sources under /var/www/
Can someone help me understand what is going here, or suggest tips?
description: | updated |
Changed in fuel: | |
milestone: | none → 9.2 |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: area-python |
tags: | added: on-verification |
Just found the solution!
# find the id of the LDAP plugin and resync it with the API:
fuel plugins --list
fuel plugins --sync --plugin-id=1
I had update the ldap plugin by doing:
fpb --debug --build . && fuel plugins --update *rpm
But that was obviously not enough.