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

cockpit install all wildcard match does not work in newer el9

    • rhel-system-roles-1.82.0-0.1.el9
    • None
    • None
    • ZStream
    • 3
    • sst_system_roles
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • System Roles Sprint 2, System Roles Sprint 3, System Roles Sprint 4
    • Approved Blocker
    • Bug Fix
    • Hide
      .The `cockpit` RHEL system role installs all `cockpit`-related packages that match a wildcard pattern

      Previously, the `dnf` module used through the `cockpit` RHEL system role did not install all `cockpit`-related packages. As a consequence, some requested packages were not installed. With this update, the source code of the `cockpit` RHEL system role was changed to use the `dnf` module directly with an asterisk wildcard package name and a list of packages to exclude. As a result, the role correctly installs all requested packages that match the wildcard pattern.
      Show
      .The `cockpit` RHEL system role installs all `cockpit`-related packages that match a wildcard pattern Previously, the `dnf` module used through the `cockpit` RHEL system role did not install all `cockpit`-related packages. As a consequence, some requested packages were not installed. With this update, the source code of the `cockpit` RHEL system role was changed to use the `dnf` module directly with an asterisk wildcard package name and a list of packages to exclude. As a result, the role correctly installs all requested packages that match the wildcard pattern.
    • Done
    • None

      The cockpit role __cockpit_packages_full package set tries to install cockpit-. This isn't working in the latest el9. Might be an issue with the latest dnf module or the python libraries it uses. Note that doing dnf install cockpit- works as expected - it's just the dnf module isn't working.

      I think we're going to have to use something like dnf search cockpit- to get the full list of packages to install. Or, alternately - if we see cockpit- in the list of packages, remove it and use command: dnf y install cockpit* - the problem with that is - how to make it idempotent? Maybe dnf returns a special code if it didn't actually install anything.

      djez@redhat.com rhn-support-jharuda spetros@redhat.com

              rmeggins@redhat.com Richard Megginson
              rmeggins@redhat.com Richard Megginson
              Richard Megginson Richard Megginson
              David Jez David Jez
              Jaroslav Klech Jaroslav Klech
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: