RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1727277 - [ansible-freeipa] Required better error report for /usr/bin/kinit (krb5-workstation) missing
Summary: [ansible-freeipa] Required better error report for /usr/bin/kinit (krb5-works...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ansible-freeipa
Version: 8.1
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-05 10:23 UTC by Varun Mylaraiah
Modified: 2020-11-14 06:54 UTC (History)
0 users

Fixed In Version: ansible-freeipa-0.1.6-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 21:08:48 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3418 0 None None None 2019-11-05 21:08:57 UTC

Description Varun Mylaraiah 2019-07-05 10:23:39 UTC
Description of problem:
/usr/bin/kinit is required on the controller if OTP(one time password) is used

Version-Release number of selected component (if applicable):
ansible-freeipa-0.1.4-2.el8.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
1)Required in error report 
2)/usr/bin/kinit required info should be available on ipaclient README.md


Additional info:

Comment 3 Varun Mylaraiah 2019-07-28 06:59:40 UTC
Verified 
# rpm -qa ansible-freeipa
ansible-freeipa-0.1.6-2.el8.noarch

Now error report looks good and required info also available in README.md

Console output
==============
TASK [ipaclient : Install - Report error for OTP generation] ********************************************************
task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:133
fatal: [ipaclient1.test.local]: FAILED! => {
    "msg": "kinit admin with password failed: [Errno 2] No such file or directory: '/usr/bin/kinit': '/usr/bin/kinit'"
}

# less /usr/share/doc/ansible-freeipa/README-client.md 

Requirements
------------

**Controller**
* Ansible version: 2.8+
* /usr/bin/kinit is required on the controller if a one time password (OTP) is used
* python3-gssapi is required on the controller if a one time password (OTP) is used to install the client.

Comment 5 errata-xmlrpc 2019-11-05 21:08:48 UTC
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-2019:3418


Note You need to log in before you can comment on or make changes to this bug.