Public bug reported: In Ubuntu 26.04, the python3-hvac package was updated, which included the removal of the deprecated client.auth_approle function. Because vaultlocker relies on this deprecated method, it now crashes when attempting to authenticate.
Environment: OS: Ubuntu 26.04 LTS Failing Package: vaultlocker-1.0.6-0ubuntu2 Dependency: python3-hvac-2.3.0-5 Expected Behavior: vaultlocker should successfully authenticate using AppRole without throwing an attribute error, utilizing the updated hvac authentication methods. Actual Behavior: When vaultlocker runs, it fails to authenticate and throws the following error: `vaultlocker: 'Client' has no attribute 'auth_approle'` Additional Context & Proposed Solution: This has been a known compatibility issue for a number of years. There is currently an open Pull Request upstream that resolves this by updating the authentication method. Upstream PR: https://github.com/openstack- charmers/vaultlocker/pull/22/changes However, the upstream vaultlocker project appears to be largely inactive. Since a merged upstream fix is unlikely in the near future it may make sense to implement the upstream PR patch. ** Affects: vaultlocker (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2157034 Title: vaultlocker client has no attribute auth_approle To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vaultlocker/+bug/2157034/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
