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 983463 - ipa-server may be depend on openssh-clients package
Summary: ipa-server may be depend on openssh-clients package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.3
Hardware: All
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: Martin Kosek
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-11 09:30 UTC by amedeo
Modified: 2015-05-19 13:55 UTC (History)
4 users (show)

Fixed In Version: ipa-3.0.0-31.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-21 20:54:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1651 0 normal SHIPPED_LIVE ipa bug fix and enhancement update 2013-11-21 00:39:40 UTC

Description amedeo 2013-07-11 09:30:18 UTC
Description of problem:
When you try to install an ipa replica server they try to contact it's ipa server master with openssh-clients tools (like ssh)

Version-Release number of selected component (if applicable):
[root@itpvsldaps002 ~]# rpm -qa | grep ipa
ipa-admintools-3.0.0-26.el6_4.4.x86_64
ipa-pki-ca-theme-9.0.3-7.el6.noarch
libipa_hbac-python-1.9.2-82.7.el6_4.x86_64
ipa-python-3.0.0-26.el6_4.4.x86_64
ipa-client-3.0.0-26.el6_4.4.x86_64
ipa-server-selinux-3.0.0-26.el6_4.4.x86_64
ipa-pki-common-theme-9.0.3-7.el6.noarch
libipa_hbac-1.9.2-82.7.el6_4.x86_64
python-iniparse-0.3.1-2.1.el6.noarch
ipa-server-3.0.0-26.el6_4.4.x86_64
[root@itpvsldaps002 ~]#


How reproducible:
1. Install ipa server master
2. Install rhel host that will become ipa replica with only @core packages (without openss-clients installed!)
3. Install ipa-server packages on ipa replica host (but without launch ipa-server-install)
4. Launch ipa-replica-prepare on ipa master
5. Transfer gpg with sftp client and not with scp client (because scp will fail due to ipa replica server doesn' has scp program!)
6. Launch ipa-replica-install on ip replica server and you got:

# ipa-replica-install --setup-ca -p foopw -w foopw /var/lib/ipa/replica-info-XXXXX.gpg 
Run connection check to master
Check connection from replica to remote master 'YYYYYYY':
   Directory Service: Unsecure port (389): OK
   Directory Service: Secure port (636): OK
   Kerberos KDC: TCP (88): OK
   Kerberos Kpasswd: TCP (464): OK
   HTTP Server: Unsecure port (80): OK
   HTTP Server: Secure port (443): OK
   PKI-CA: Directory Service port (7389): OK

The following list of ports use UDP protocol and would need to be
checked manually:
   Kerberos KDC: UDP (88): SKIPPED
   Kerberos Kpasswd: UDP (464): SKIPPED

Connection from replica to master is OK.
Start listening on required ports for remote master check
Get credentials to log in to remote master
Execute check on remote master
Traceback (most recent call last):
  File "/usr/sbin/ipa-replica-conncheck", line 392, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-replica-conncheck", line 371, in main
    raiseonerr=False)
  File "/usr/lib/python2.6/site-packages/ipapython/ipautil.py", line 295, in run
    close_fds=True, env=env, cwd=cwd)
  File "/usr/lib64/python2.6/subprocess.py", line 639, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1228, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Connection check failed!
Please fix your network settings according to error messages above.
If the check results are not valid it can be skipped with --skip-conncheck parameter.

7. Install openssh-clients on ipa replica host
8. Re-Launch ipa-replica-install and all works fine!


Steps to Reproduce:
Same as above


Actual results:
No openssh-clients dependencies when install ipa-server packages


Expected results:
openssh-clients dependencies when install ipa-server packages

Additional info:

Comment 2 Rob Crittenden 2013-07-11 13:26:07 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/3777

Comment 6 Martin Kosek 2013-09-24 09:57:28 UTC
Note that in 6.5, we just added the openssh-clients dependency, fix described in Comment 5 is upstream enhancement only.

Comment 7 Kaleem 2013-09-26 08:45:40 UTC
Verified.

IPA version:
============
ipa-server-3.0.0-36

snip from beaker automation log.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: BZ983463 -  ipa-server should be dependent on openssh-clients package
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   LOG    ] :: Test for https://bugzilla.redhat.com/show_bug.cgi?id=983463
:: [   PASS   ] :: uninstalling ipa server (Expected 0, got 0)
:: [   PASS   ] :: capturing the deplist for ipa-server (Expected 0, got 0)
:: [   PASS   ] :: File '/dev/shm/replica-install-output' should contain 'dependency: openssh-clients' 
:: [   PASS   ] :: Removing openssh-clients (Expected 0, got 0)
:: [   PASS   ] :: File '/dev/shm/replica-install-output' should contain 'Erasing    : ipa-server' 
:: [   PASS   ] :: Installing ipa-server (Expected 0, got 0)
:: [   PASS   ] :: File '/dev/shm/replica-install-output' should contain 'Installing : openssh-clients' 
:: [   PASS   ] :: BZ 983463 not found 
:: [   LOG    ] :: Duration: 1m 29s
:: [   LOG    ] :: Assertions: 9 good, 0 bad
:: [   PASS   ] :: RESULT: BZ983463 -  ipa-server should be dependent on openssh-clients package

Comment 9 errata-xmlrpc 2013-11-21 20:54:11 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.

http://rhn.redhat.com/errata/RHBA-2013-1651.html


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