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

Upgrade of RHEL 9.2 IdM installation hangs

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • rhel-9.7
    • rhel-9.5
    • 389-ds-base
    • None
    • Yes
    • None
    • rhel-idm-ds
    • ssg_idm
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      I try to debug upgrade issue for the https://github.com/freeipa/freeipa-container. In an attempt to minimize the setup as much as possible, I tried to take RHEL 9.2, install and configure IdM, and upgrade it to the latest version.

      In RHEL-85489 we clarified that the supported path should upgrade through all the minor RHEL versions, which I did here.

      What is the impact of this issue to you?

      It slows my investigation of the FreeIPA upgrade issue.

      Please provide the package NVR for which the bug is seen:

      ipa-server-4.12.2-1.el9_5.4.x86_64

      How reproducible is this bug?:

      Deterministic.

      Steps to reproduce

      1. Create a VM using rhel-9.2-x86_64-kvm.qcow2.
      2. Log in as root.
      3. subscription-manager register
      4. subscription-manager release --set 9.2
      5. dnf install -y ipa-server
      6. Observe that ipa-server 4.10.1-9.el9_2 was installed.
      7. ipa-server-install -U -r EXAMPLE.TEST -a Secret123 -p Secret123 --no-ntp
      8. seq 9.3 0.1 9.5 | while read i ; do subscription-manager release --set $i && dnf clean all && dnf upgrade -y && ls -la /var/log/ipaupgrade.log && tail /var/log/ipaupgrade.log ; done

      Expected results

      The IdM installation upgraded up to RHEL 9.5. Upon each upgrade, ipa-server-upgrade run automatically.

      Actual results

      The dnf transaction upgrading to RHEL 9.5 hangs at

         Running scriptlet: ipa-selinux-4.12.2-1.el9_5.4.noarch                                                                             681/681 
        Running scriptlet: kernel-modules-core-5.14.0-503.34.1.el9_5.x86_64                                                                681/681 
        Running scriptlet: kernel-core-5.14.0-503.34.1.el9_5.x86_64                                                                        681/681 
        Running scriptlet: kernel-modules-5.14.0-503.34.1.el9_5.x86_64                                                                     681/681 
        Running scriptlet: kexec-tools-2.0.27-16.el9_5.1.x86_64                                                                            681/681 
        Running scriptlet: sssd-common-2.9.5-4.el9_5.4.x86_64                                                                              681/681 
        Running scriptlet: subscription-manager-1.29.42-1.el9.x86_64                                                                       681/681 
        Running scriptlet: httpd-2.4.62-1.el9_5.2.x86_64                                                                                   681/681 
        Running scriptlet: ipa-server-4.12.2-1.el9_5.4.x86_64                                                                              681/681 
      

      After two hours, this is still the last line on the terminal.

      When I check /var/log/ipaupgrade.log from another terminal, it ends with

       2025-03-31T18:33:44Z DEBUG step duration: dirsrv __save_config 0.03 sec
      2025-03-31T18:33:44Z DEBUG   [2/9]: disabling listeners
      2025-03-31T18:33:44Z DEBUG step duration: dirsrv __disable_listeners 0.03 sec
      2025-03-31T18:33:44Z DEBUG   [3/9]: enabling DS global lock
      2025-03-31T18:33:44Z DEBUG step duration: dirsrv __enable_ds_global_write_lock 0.03 sec
      2025-03-31T18:33:44Z DEBUG   [4/9]: disabling Schema Compat
      2025-03-31T18:33:44Z DEBUG step duration: dirsrv __disable_schema_compat 0.04 sec
      2025-03-31T18:33:44Z DEBUG   [5/9]: starting directory server
      2025-03-31T18:33:44Z DEBUG Starting external process
      2025-03-31T18:33:44Z DEBUG args=['/bin/systemctl', 'start', 'dirsrv@EXAMPLE-TEST.service']
      

      There is nothing visibly consuming CPU in that VM, things are just stuck.

        1. errors
          276 kB
        2. errors-post-pstack
          43 kB

              idm-ds-dev-bugs IdM DS Dev
              jpx-rh Jan P
              IdM DS Dev IdM DS Dev
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: