Bug 1452081
Summary: | Suggest user to install libyubikey package instead of traceback | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Abhijeet Kasurde <akasurde> |
Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | myusuf, ndehadra, pasik, pvoborni, rcritten, slaznick, tdudlak, tscherf |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ipa-4.6.4-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 10:56:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Abhijeet Kasurde
2017-05-18 10:10:44 UTC
Upstream ticket: https://pagure.io/freeipa/issue/6979 Fixed upstream master: https://pagure.io/freeipa/c/76357283ec522aef8aaf3d3b8eea7155263e3517 Fixed upstream ipa-4-5: https://pagure.io/freeipa/c/1b33cdad14d7d5978266bac07c68dbe66cd298ce version: ipa-server-4.6.4-6.el7.x86_64 Steps: 1. Install ipa server 2. Add test user 3. try to add YubiKey $ ipa -v otptoken-add-yubikey --owner=test1 Actual result: [root@master ~]# ipa -v otptoken-add-yubikey --owner=test1 ipa: INFO: trying https://master.testrelm.test/ipa/json ipa: ERROR: No backend available. Please install 'libyubikey' and 'libusb' packages first. [root@master ~]# yum install libyubikey libusb Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. No package libyubikey available. Resolving Dependencies --> Running transaction check ---> Package libusb.x86_64 1:0.1.4-3.el7 will be installed --> Processing Dependency: libusb-1.0.so.0()(64bit) for package: 1:libusb-0.1.4-3.el7.x86_64 --> Running transaction check ---> Package libusbx.x86_64 0:1.0.21-1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================== Package Arch Version Repository Size ================================================================================================================================================== Installing: libusb x86_64 1:0.1.4-3.el7 beaker-Server 19 k Installing for dependencies: libusbx x86_64 1.0.21-1.el7 beaker-Server 61 k Transaction Summary ================================================================================================================================================== Install 1 Package (+1 Dependent package) Total download size: 81 k Installed size: 163 k Is this ok [y/d/N]: y Downloading packages: (1/2): libusb-0.1.4-3.el7.x86_64.rpm | 19 kB 00:00:00 (2/2): libusbx-1.0.21-1.el7.x86_64.rpm | 61 kB 00:00:00 -------------------------------------------------------------------------------------------------------------------------------------------------- Total 655 kB/s | 81 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libusbx-1.0.21-1.el7.x86_64 1/2 Installing : 1:libusb-0.1.4-3.el7.x86_64 2/2 Verifying : 1:libusb-0.1.4-3.el7.x86_64 1/2 Verifying : libusbx-1.0.21-1.el7.x86_64 2/2 Installed: libusb.x86_64 1:0.1.4-3.el7 Dependency Installed: libusbx.x86_64 0:1.0.21-1.el7 Complete! [root@master ~]# [root@master ~]# ipa -v otptoken-add-yubikey --owner=test1 ipa: INFO: trying https://master.testrelm.test/ipa/session/json ipa: ERROR: No YubiKey found Traceback not appeared as reported in bz initially. Suggestion for installing respective packages thrown while command fire to add YubiKey. Thus based on above observations marking the bug as verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3187 Test on master: * e7581cc0d88c3f7d83a551a3decd054589b1d86e Test error when yubikey hardware not present |