Project

General

Profile

Bug #29579

foreman-maintain should error if a server has both `satellite` and `satellite-capsule` packages installed.

Added by Suresh Thirugnanasambandan 9 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Right now, foreman-maintain uses the presence of `satellite` and `satellite-capsule` packages to determine if the server is a `Satellite` or a `Capsule` server.

It has been brought up recently that some users have `satellite-capsule` package installed in Satellite servers for some reason. See this PR discussion [1]. foreman-maintain should check and error if a server has both `satellite` and `satellite-capsule` packages installed. I think this is critical because the foreman-maintain upgrade scenarios differ for satellite and capsule based on the availability of these packages.

[1] https://github.com/theforeman/community-templates/pull/716#issuecomment-614738292


Related issues

Related to Foreman Remote Execution - Tracker #29643: Capsule upgrade playbook trackerClosed

Associated revisions

Revision c5cfc89d (diff)
Added by Suraj Patil 7 months ago

Fixes #29579 - fix confine block for capsule feature (#335)

History

#1 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/335 added

#2 Updated by Suraj Patil 9 months ago

@Suresh, Any idea why we provide satellite-capsule package through rhel-7-server-satellite repository? Ideally satellite-capsule package should be only provided through rhel-7-server-satellite-capsule repository.

Dependencies Resolved

============================================================================================================================================
 Package                          Arch                  Version                       Repository                                       Size
============================================================================================================================================
Installing:
 satellite-capsule                noarch                6.6.3-1.el7sat                rhel-7-server-satellite-6.6-rpms                9.6 k

Transaction Summary
============================================================================================================================================
Install  1 Package

#3 Updated by Suresh Thirugnanasambandan 9 months ago

#4 Updated by Kavita Gaikwad 7 months ago

  • Assignee set to Suraj Patil

#5 Updated by Anonymous 7 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Kavita Gaikwad 7 months ago

  • Bugzilla link set to 1838382

Also available in: Atom PDF