Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-53500

Pagure #9637: adtrustinstance only prints issues in check_inst() and does not log them

    • ipa-4.12.0-7.el9
    • No
    • None
    • 3
    • rhel-sst-idm-ipa
    • ssg_idm
    • 24
    • 26
    • 3
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • 2024-Q3-Alpha-S3, 2024-Q3-Alpha-S4, 2024-Q3-Alpha-S5
    • Unspecified Release Note Type - Unknown
    • None

      Cloned from: https://pagure.io/freeipa/issue/9637
      
      ### Issue
      ipaserver/install/adtrustinstance.py provides the function check_inst() which ensures that the Samba packages are installed and that /usr/share/ipa/smb.conf.empty exists which means the adtrust sub-package is installed.
      
      Unfortunately it only prints the output and does not log it making reviewing a user-provided log insufficient to know exactly what is wrong.
      
      #### Steps to Reproduce
      1. Add --setup-adtrust to the ipa-server-install CLI without having the freeipa-server-trust-ad package installed
      
      #### Actual behavior
      AD Trust requires the 'freeipa-server-trust-ad' package
      Please install the package and start the installation again
      Aborting installation.
      
      The server install log contains only "Aborting installation."
      
      #### Expected behavior
      The server log also contains the printed messsage.
      

              frenaud@redhat.com Florence Renaud
              frenaud@redhat.com Florence Renaud
              Florence Renaud Florence Renaud
              Erik Belko Erik Belko
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: