Project

General

Profile

Actions

Bug #29579

closed

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

Added by Suresh Thirugnanasambandan over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by The Foreman Bot over 4 years ago

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

Updated by Suraj Patil over 4 years 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
Actions #3

Updated by Suresh Thirugnanasambandan over 4 years ago

Actions #4

Updated by Kavita Gaikwad over 4 years ago

  • Assignee set to Suraj Patil
Actions #5

Updated by Anonymous over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Kavita Gaikwad over 4 years ago

  • Bugzilla link set to 1838382
Actions

Also available in: Atom PDF