Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-2027

[Dev] Suport extensions in multi-stream

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • MCO Sprint 281, MCO Sprint 282
    • 0

      Story:
      When extensions are configured using rhel-10 OS Image Stream the MCP is degraded with the following message

          message: 'Node ip-10-0-24-255.us-east-2.compute.internal is reporting: "Node ip-10-0-24-255.us-east-2.compute.internal
            upgrade failure. error running rpm-ostree update --install NetworkManager-libreswan
            --install crun-wasm --install kata-containers --install kernel-devel --install
            kernel-headers --install krb5-workstation --install libkadm5 --install libreswan
            --install sysstat --install usbguard: error: Packages not found: NetworkManager-libreswan,
            crun-wasm, libreswan\n: exit status 1", Node ip-10-0-24-255.us-east-2.compute.internal
            is reporting: "error running rpm-ostree update --install NetworkManager-libreswan
            --install crun-wasm --install kata-containers --install kernel-devel --install
            kernel-headers --install krb5-workstation --install libkadm5 --install libreswan
            --install sysstat --install usbguard: error: Packages not found: NetworkManager-libreswan,
            crun-wasm, libreswan\n: exit status 1"'
          reason: ""
          status: "True"
          type: Degraded
      

      We need support installing extensions in the rhel-10 stream.

      We need to take into account that wee need to support switching between streams when the extensions are installed too.

      • rhel9 -> install extensions -> rhel10
      • rhel10 -> install extensions -> rhel9

      All extensions should be supported

      apiVersion: machineconfiguration.openshift.io/v1
      kind: MachineConfig
      metadata:
        labels:
          machineconfiguration.openshift.io/role: worker
        name: worker-all-extensions
      spec:
        config:
          ignition:
            version: 3.2.0
        extensions:
        - usbguard
        - kerberos
        - kernel-devel
        - sandboxed-containers
        - ipsec
        - wasm
        - sysstat
      
      

      Acceptance Criteria:

      • All extensions are properly installed in both rhel-9 and rhel-10 streams
      • We can switch streams while all extensions are installed without problems and the extensions should properly work in both streams.
      • An e2e test case is created

              rh-ee-pabrodri Pablo Rodriguez Nava
              sregidor@redhat.com Sergio Regidor de la Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: