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

Capsule upgrade fails as packages-enable-modules step enables satellite:el8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • stream
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • SAT-21969 - Provide upgrade and update commands in satellite-maintain
    • rubygem-foreman_maintain-1.6.11
    • 0
    • Moderate
    • No

      Description of problem:
      Capsule upgrade fails as packages-enable-modules step tries to enable satellite:el8 module
       

      How reproducible:
      deterministic
      Stream Snap 63.0
       

      Is this issue a regression from an earlier version:
      yes
       

      Steps to Reproduce:
      1. Upgrade Capsule 6.15 to Stream

      # satellite-maintain upgrade run -y --target-version 6.16 -w repositories-validate,repositories-setup
      ...
      Running Migration scripts
      ================================================================================
      Setup repositories:                                                   [SKIPPED]
      --------------------------------------------------------------------------------
      Switch the given stream modules:                                      [OK]
      --------------------------------------------------------------------------------
      Enable the given stream modules:                                      [FAIL]
      Failed executing dnf -y --disableplugin=foreman-protector module enable satellite:el8, exit status 1:
       Updating Subscription Management repositories.
      Satellite Capsule Stream RHEL8                   33 kB/s | 2.1 kB     00:00    
      Satellite Maintenance Stream RHEL8               46 kB/s | 2.1 kB     00:00    
      Error: Problems in request:
      missing groups or modules: satellite:el8
      --------------------------------------------------------------------------------
      Scenario [Migration scripts] failed.
      
      The following steps ended up in failing state:
      
        [packages-enable-modules]
      

      Actual behavior:
      [Describe the issue in detail, including what is happening and where]
      upgrade fails

      Expected behavior:
      [Describe what should be happening instead]
      upgrade succeeds

      Business Impact / Additional info:

       

            egolov@redhat.com Evgeni Golov
            lpramuk Lukas Pramuk
            Lukas Pramuk Lukas Pramuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: