Comment 2 for bug 1796415

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

Reviewed: https://review.openstack.org/608378
Committed: https://git.openstack.org/cgit/openstack/novajoin/commit/?id=96ab6fd525ffcdfbde41bfd7a399d1aae2467c04
Submitter: Zuul
Branch: master

commit 96ab6fd525ffcdfbde41bfd7a399d1aae2467c04
Author: Harald Jensås <email address hidden>
Date: Sat Oct 6 00:28:48 2018 +0200

    Fix - Invalid ipaotp returned if host in cache

    Change: Id107000b3a667f5724331e281912560cff6f92f0 implemented
    caching in the IPAClient. We need to store the OTP in the cache
    and return the cached OTP, not the one generated on the join
    request in case there is a cache hit, since we do not update
    the OTP in FreeIPA when the host is in the cache.

    Closes-Bug: #1796415
    Change-Id: Ic19ee7c2228d275397bc4be04432126fd2f228ec