Uploaded image for project: 'OpenStack Strategy'
  1. OpenStack Strategy
  2. RHOSSTRAT-23

Granular Package Update Workflow for RHOSO compute nodes during the RHOSO update process - Technology Preview

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done-Errata
    • Icon: Major Major
    • rhos-18.0.10 FR 3
    • None
    • Upgrades
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • 0
    • 0
    • 0% To Do, 0% In Progress, 100% Done
    • openstack-operator-container-1.0.12-1
    • Enhancement
    • Hide
      .Granular package update workflow

      RHOSO 18.0.10 (Feature Release 3) introduces a feature to separate the update process for RHOSO EDPM nodes into two distinct phases:
      * updating OpenStack (containers & essential packages) and
      * updating the system (all packages).

      This separation gives operators finer control over the update process, reducing risks and simplifying troubleshooting in the event of issues.
      Show
      .Granular package update workflow RHOSO 18.0.10 (Feature Release 3) introduces a feature to separate the update process for RHOSO EDPM nodes into two distinct phases: * updating OpenStack (containers & essential packages) and * updating the system (all packages). This separation gives operators finer control over the update process, reducing risks and simplifying troubleshooting in the event of issues.
    • Done

      Feature Overview

      This feature introduces a mechanism to break down the update process for RHOSO compute nodes running RHEL 9.4 into two distinct phases: updating OpenStack-related RPM packages and updating system-related RPM packages. By enabling this separation, operators gain finer control over the update process, reducing risks and simplifying troubleshooting in the event of issues.

      Goals

      • Who benefits from this feature? Cloud operators and administrators responsible for maintaining RHOSO compute nodes.
      • How do they benefit? This feature provides:
        • Granular control over updates, enabling focused application of changes to OpenStack-related or system-related components.
        • Enhanced troubleshooting capabilities by isolating potential issues to a specific category of packages.
        • Reduced downtime and operational risks during updates.
      • Difference from the current state: Currently, a single command (“dnf update all”) updates all RPM packages at once, creating challenges in identifying and mitigating issues. The current state relies on a task in the playbook that it's part of the edpm.update process:
      - name: Apply packages updates
        become: true
        ansible.builtin.dnf:  # noqa: package-latest
          name: "*"
          state: latest
          update_cache: true
          exclude: "{{ _exclude_packages }}"
        tags:
          - edpm_update

      With the proposed feature, updates are segmented for better manageability.

      Requirements A list of specific needs or objectives that the feature must deliver.

      Requirements Notes isMvp?
      Introduce a mechanism to identify and update only OpenStack-related RPM packages The mechanism must integrate seamlessly with existing RHOSO workflows. Yes
      Provide a separate option to update system-related RPM packages Must work in conjunction with the OpenStack-related updates. Yes
      Ensure clear logging and feedback for each update step Operators should easily identify successes and failures in each phase. Yes

       

      Background, and Strategic Fit

      This feature aligns with Red Hat’s focus on providing robust, enterprise-grade tools that empower operators with greater control over their environments. It supports customer demands for higher reliability and minimal disruption during updates.

      Assumptions

      • Prerequisites include properly tagged OpenStack and system RPM packages.
      • Dependencies such as “dnf” and associated repositories are correctly configured.

      Customer Considerations

      • Environment Compatibility: Must work with existing RHEL 9.4 configurations and RHOSO deployments.

      Documentation Considerations

      • Docs Required:
        • Update the "Update guide"procedure.
        • Release notes highlighting the feature introduction.
      • Key Concepts:
        • The distinction between OpenStack-related and system-related packages update.

      Questions

      Question Outcome
      Will there be a way to roll back updates if an issue occurs? TBD

              rhn-engineering-jpretori Jesse Pretorius
              pnavarro@redhat.com Pedro Navarro Perez
              Pedro Navarro Perez Pedro Navarro Perez
              rhos-dfg-upgrades
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: