Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
authconfig should respect return value of ipa-client install.
[test] authconfig --enableipav2 --ipav2domain=ipa.baseos.qe --ipav2server=sec-ipa1.ipa.baseos.qe --ipav2realm=IPA.BASEOS.QE --ipav2join=admin --update
[/usr/sbin/ipa-client-install --domain=ipa.baseos.qe --server=sec-ipa1.ipa.baseos.qe --realm=IPA.BASEOS.QE --principal=admin ]
WARNING: ntpd time&date synchronization service will not be configured as
conflicting service (chronyd) is enabled
Use --force-ntpd option to disable it and force configuration of ntpd
Autodiscovery of servers for failover cannot work with this configuration.
If you proceed with the installation, services will be configured to always access the discovered server for all operations and will not fail over to other servers in case of failure.
Proceed with fixed values and no DNS discovery? [no]: yes
Hostname: ibm-x3650m4-01-vm-02.lab.eng.bos.redhat.com
Realm: IPA.BASEOS.QE
DNS Domain: ipa.baseos.qe
IPA Server: sec-ipa1.ipa.baseos.qe
BaseDN: dc=ipa,dc=baseos,dc=qe
Continue to configure the system with these values? [no]: yes
Synchronizing time with KDC...
Password for admin.QE:
Kerberos authentication failed
kinit: Password incorrect while getting initial credentials
Please make sure the following ports are opened in the firewall settings:
TCP: 80, 88, 389
UDP: 88 (at least one of TCP/UDP ports 88 has to be open)
Also note that following ports are necessary for ipa-client working properly after enrollment:
TCP: 464
UDP: 464, 123 (if NTP enabled)
Installation failed. Rolling back changes.
IPA client is not configured on this system.
authconfig: IPAv2 domain join was not succesful. The ipa-client-install command failed.
Job for sssd.service failed. See 'systemctl status sssd.service' and 'journalctl -xn' for details.
[test]echo $?
0
return value of ipa-client-install:
[test]/usr/sbin/ipa-client-install --domain=ipa.baseos.qe --server=sec-ipa1.ipa.baseos.qe --realm=IPA.BASEOS.QE --principal=admin
WARNING: ntpd time&date synchronization service will not be configured as
conflicting service (chronyd) is enabled
Use --force-ntpd option to disable it and force configuration of ntpd
Autodiscovery of servers for failover cannot work with this configuration.
If you proceed with the installation, services will be configured to always access the discovered server for all operations and will not fail over to other servers in case of failure.
Proceed with fixed values and no DNS discovery? [no]: yes
Hostname: ibm-x3650m4-01-vm-02.lab.eng.bos.redhat.com
Realm: IPA.BASEOS.QE
DNS Domain: ipa.baseos.qe
IPA Server: sec-ipa1.ipa.baseos.qe
BaseDN: dc=ipa,dc=baseos,dc=qe
Continue to configure the system with these values? [no]: yes
Synchronizing time with KDC...
Password for admin.QE:
Kerberos authentication failed
kinit: Password incorrect while getting initial credentials
Please make sure the following ports are opened in the firewall settings:
TCP: 80, 88, 389
UDP: 88 (at least one of TCP/UDP ports 88 has to be open)
Also note that following ports are necessary for ipa-client working properly after enrollment:
TCP: 464
UDP: 464, 123 (if NTP enabled)
Installation failed. Rolling back changes.
IPA client is not configured on this system.
[test]echo $?
1
Version-Release number of selected component (if applicable):
authconfig-6.2.7-1.el7
How reproducible:
always
Steps to Reproduce:
1. unsuccessfull 'authconfig --enableipav2 --ipav2domain=ipa.baseos.qe --ipav2server=sec-ipa1.ipa.baseos.qe --ipav2realm=IPA.BASEOS.QE --ipav2join=admin --update'
2.echo $?
3.
Actual results:
return value is 0
Expected results:
return value is != 0
Additional info:
IPADOMAINJOINED parameter in /etc/sysconfig/authconfig should be set to yes|no according to return value of ipa-client-install. Now is always se to no even if machine is successfully joined to the domain
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.
Description of problem: authconfig should respect return value of ipa-client install. [test] authconfig --enableipav2 --ipav2domain=ipa.baseos.qe --ipav2server=sec-ipa1.ipa.baseos.qe --ipav2realm=IPA.BASEOS.QE --ipav2join=admin --update [/usr/sbin/ipa-client-install --domain=ipa.baseos.qe --server=sec-ipa1.ipa.baseos.qe --realm=IPA.BASEOS.QE --principal=admin ] WARNING: ntpd time&date synchronization service will not be configured as conflicting service (chronyd) is enabled Use --force-ntpd option to disable it and force configuration of ntpd Autodiscovery of servers for failover cannot work with this configuration. If you proceed with the installation, services will be configured to always access the discovered server for all operations and will not fail over to other servers in case of failure. Proceed with fixed values and no DNS discovery? [no]: yes Hostname: ibm-x3650m4-01-vm-02.lab.eng.bos.redhat.com Realm: IPA.BASEOS.QE DNS Domain: ipa.baseos.qe IPA Server: sec-ipa1.ipa.baseos.qe BaseDN: dc=ipa,dc=baseos,dc=qe Continue to configure the system with these values? [no]: yes Synchronizing time with KDC... Password for admin.QE: Kerberos authentication failed kinit: Password incorrect while getting initial credentials Please make sure the following ports are opened in the firewall settings: TCP: 80, 88, 389 UDP: 88 (at least one of TCP/UDP ports 88 has to be open) Also note that following ports are necessary for ipa-client working properly after enrollment: TCP: 464 UDP: 464, 123 (if NTP enabled) Installation failed. Rolling back changes. IPA client is not configured on this system. authconfig: IPAv2 domain join was not succesful. The ipa-client-install command failed. Job for sssd.service failed. See 'systemctl status sssd.service' and 'journalctl -xn' for details. [test]echo $? 0 return value of ipa-client-install: [test]/usr/sbin/ipa-client-install --domain=ipa.baseos.qe --server=sec-ipa1.ipa.baseos.qe --realm=IPA.BASEOS.QE --principal=admin WARNING: ntpd time&date synchronization service will not be configured as conflicting service (chronyd) is enabled Use --force-ntpd option to disable it and force configuration of ntpd Autodiscovery of servers for failover cannot work with this configuration. If you proceed with the installation, services will be configured to always access the discovered server for all operations and will not fail over to other servers in case of failure. Proceed with fixed values and no DNS discovery? [no]: yes Hostname: ibm-x3650m4-01-vm-02.lab.eng.bos.redhat.com Realm: IPA.BASEOS.QE DNS Domain: ipa.baseos.qe IPA Server: sec-ipa1.ipa.baseos.qe BaseDN: dc=ipa,dc=baseos,dc=qe Continue to configure the system with these values? [no]: yes Synchronizing time with KDC... Password for admin.QE: Kerberos authentication failed kinit: Password incorrect while getting initial credentials Please make sure the following ports are opened in the firewall settings: TCP: 80, 88, 389 UDP: 88 (at least one of TCP/UDP ports 88 has to be open) Also note that following ports are necessary for ipa-client working properly after enrollment: TCP: 464 UDP: 464, 123 (if NTP enabled) Installation failed. Rolling back changes. IPA client is not configured on this system. [test]echo $? 1 Version-Release number of selected component (if applicable): authconfig-6.2.7-1.el7 How reproducible: always Steps to Reproduce: 1. unsuccessfull 'authconfig --enableipav2 --ipav2domain=ipa.baseos.qe --ipav2server=sec-ipa1.ipa.baseos.qe --ipav2realm=IPA.BASEOS.QE --ipav2join=admin --update' 2.echo $? 3. Actual results: return value is 0 Expected results: return value is != 0 Additional info: