Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-21970

Add an update command to satellite-maintain

XMLWordPrintable

    • Add an update command to satellite-maintain
    • False
    • Hide

      None

      Show
      None
    • False
    • To Do
    • SAT-21969 - Provide upgrade and update commands in satellite-maintain
    • 0
    • 0% To Do, 0% In Progress, 100% Done
    • Hide
      .`satellite-maintain update` command for minor releases

      The `satellite-maintain update` command replaces `satellite-maintain upgrade` with `--target-version` for updating minor (z-stream) versions.
      As the upgrade command is now dedicated to major upgrades, the `--target-version` parameter has been removed.
      Show
      .`satellite-maintain update` command for minor releases The `satellite-maintain update` command replaces `satellite-maintain upgrade` with `--target-version` for updating minor (z-stream) versions. As the upgrade command is now dedicated to major upgrades, the `--target-version` parameter has been removed.
    • Enhancement
    • Platform
    • Done

      Background

       

      A z-stream or y-stream upgrade uses the same command “upgrade” and requires supplying a target version (e.g. 6.15.z, 6.16.0) for the upgrade command. The upgrade workflow has changed such that a user must enable the next versions maintenance repository and then upgrade the foreman-maintain tool itself to get the y-stream upgrade scenario updates. Thus, supplying the target version does not make a lot more sense as there is no selection to make.

       

      Proposal

       

      Split out a separate update command that represents z-stream updates to Satellite or Capsule and leave upgrade to represent y-stream upgrades. This allows a cleaner differentiation between the actions that are taking place. This also mirrors a bit of RHEL / Fedora update vs. upgrade process that use separate commands and workflows depending. Examples:

        foreman-maintain upgrade run

        foreman-maintain update run

       

      This would not require –target-version anymore as it would know that if its the update command the target is z-stream. And the upgrade would be able to be smarter about whether a y-stream upgrade is available and the implications to the user if it is available.

              ehelms@redhat.com Eric Helms
              ehelms@redhat.com Eric Helms
              Lukas Pramuk Lukas Pramuk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: