ubuntu 16.04 python-ldap and python-ldappol conflict

Bug #1709519 reported by Matthew J Black
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-keystone
Fix Released
Undecided
Matthew J Black

Bug Description

When setting up ldap in keystone it will install the ldap packages needed. Installing python-ldap uninstalls python-ldappool. Installing python-ldappool will uninstall python-ldap. Once python-ldappool is uninstalled, keystone will throw exceptions.

The recommendation is to install only python-ldappool. A portion of the apt output is pasted below showing the python-ldap package being uninstalled.

$ sudo apt-get install python-ldappool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  python-pyldap
The following packages will be REMOVED:
  python-ldap
The following NEW packages will be installed:
  python-ldappool python-pyldap

Revision history for this message
Matthew J Black (mjblack) wrote :

After taking a look at CentOS image, it's the same there the only difference is that YUM resolves the issue each run.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/492202

Changed in puppet-keystone:
assignee: nobody → Matthew J Black (mjblack)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-keystone (master)

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/492202
Reason: Need to clear out the queue as this is going to fail. Will restore momentarily

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-keystone (master)

Reviewed: https://review.openstack.org/492202
Committed: https://git.openstack.org/cgit/openstack/puppet-keystone/commit/?id=8ba0d32d5b6d9012fe80ce32fdadf1b36d19c33e
Submitter: Jenkins
Branch: master

commit 8ba0d32d5b6d9012fe80ce32fdadf1b36d19c33e
Author: Matthew J. Black <email address hidden>
Date: Wed Aug 9 12:13:59 2017 -0400

    fix ldap packages for keystone backend

    When puppet runs it will try to install python-ldap and
    python-ldappool. Each run will install one or the other
    due to the other package settings telling the package
    manager to uninstall it.

    Change-Id: I13a0af479dcac45ff77685f5eccfb865f7dab0f5
    Closes-Bug: #1709519

Changed in puppet-keystone:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-keystone (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/492956

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-keystone (stable/ocata)

Reviewed: https://review.openstack.org/492956
Committed: https://git.openstack.org/cgit/openstack/puppet-keystone/commit/?id=45577a94ab054f275305011b9a7895a78f13f619
Submitter: Jenkins
Branch: stable/ocata

commit 45577a94ab054f275305011b9a7895a78f13f619
Author: Matthew J. Black <email address hidden>
Date: Wed Aug 9 12:13:59 2017 -0400

    fix ldap packages for keystone backend

    When puppet runs it will try to install python-ldap and
    python-ldappool. Each run will install one or the other
    due to the other package settings telling the package
    manager to uninstall it.

    Change-Id: I13a0af479dcac45ff77685f5eccfb865f7dab0f5
    Closes-Bug: #1709519
    (cherry picked from commit 8ba0d32d5b6d9012fe80ce32fdadf1b36d19c33e)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-keystone 11.3.0

This issue was fixed in the openstack/puppet-keystone 11.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-keystone 10.4.0

This issue was fixed in the openstack/puppet-keystone 10.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.