Actions
Bug #32634
closedTracker #27511: ensure foreman-maintain works with RHEL8 Satellite & Capsules
assumes SCL prefixes in service names
Difficulty:
Triaged:
No
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.
Updated by The Foreman Bot over 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
Updated by Evgeni Golov over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|7b63ce2dc94151842e4e826e1f91d0a9368ac38c.
Actions