Project

General

Profile

Actions

Bug #32634

closed

Tracker #27511: ensure foreman-maintain works with RHEL8 Satellite & Capsules

assumes SCL prefixes in service names

Added by Evgeni Golov over 3 years ago. Updated about 3 years ago.

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

Description

% git grep rh-   
definitions/checks/mongo/tools_installed.rb:        tools_pkg = 'rh-mongodb34-mongo-tools'
definitions/features/mongo.rb:    unless find_package('rh-mongodb34-mongodb')
definitions/features/mongo.rb:    logger.debug("Mongo #{version} detected, using commands from rh-mongodb34 SCL")
definitions/features/pulpcore.rb:      system_service('rh-redis5-redis', 5),
definitions/features/redis.rb:    SCL_NAME = 'rh-redis5'.freeze
definitions/procedures/pulp/remove.rb:        "\n# yum remove rh-mongodb34-*" \
definitions/procedures/pulp/remove.rb:        packages_action(:remove, ['rh-mongodb34-*'], :assumeyes => true)
lib/foreman_maintain/utils/mongo_core.rb:      { 'rh-mongodb34-mongod' => 5 }
lib/foreman_maintain/utils/mongo_core.rb:      ['/etc/opt/rh/rh-mongodb34/mongod.conf']
lib/foreman_maintain/utils/mongo_core.rb:      'scl enable rh-mongodb34 -- mongo'
lib/foreman_maintain/utils/mongo_core.rb:      'scl enable rh-mongodb34 -- mongodump'
lib/foreman_maintain/utils/mongo_core.rb:      'scl enable rh-mongodb34 -- mongorestore'
lib/foreman_maintain/utils/mongo_core.rb:      if find_package('rh-mongodb34-mongodb-server')
lib/foreman_maintain/utils/mongo_core.rb:        @services['rh-mongodb34-mongod'] = 5
lib/foreman_maintain/utils/mongo_core.rb:        @server_config_files << '/etc/opt/rh/rh-mongodb34/mongod.conf'
lib/foreman_maintain/utils/mongo_core.rb:      if find_package('rh-mongodb34-mongodb')
lib/foreman_maintain/utils/mongo_core.rb:        @client_command = 'scl enable rh-mongodb34 -- mongo'
lib/foreman_maintain/utils/mongo_core.rb:        @dump_command = 'scl enable rh-mongodb34 -- mongodump'
test/lib/utils/system_service_test.rb:        'rh-mongodb34-mongod', 30, :db_feature => fake_feature
test/lib/utils/system_service_test.rb:        'rh-mongodb34-mongod', 30, :db_feature => fake_feature

The mongodb ones are irrelevant, as there won't be any MongoDB on EL8, but the others need adjustments.

Actions #1

Updated by Evgeni Golov over 3 years ago

  • Tracker changed from Tracker to Bug
Actions #2

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Evgeni Golov
  • Pull request https://github.com/theforeman/foreman_maintain/pull/518 added
Actions #3

Updated by Evgeni Golov about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF