Project

General

Profile

Actions

Bug #32787

closed

Check for pulpcore-api.service in ping

Added by Partha Aji over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Due to SELinux issues this call
https://github.com/Katello/katello/blob/KATELLO-3.18/app/models/katello/ping.rb#L12

system('systemctl is-enabled pulpcore-api.service') 

will always fail - https://github.com/Katello/katello/pull/9009#issuecomment-854648950

We should be doing check on

/etc/systemd/system/multi-user.target.wants/pulp_celerybeat.service
instead

Actions #1

Updated by Partha Aji over 3 years ago

  • Bugzilla link set to 1971051
Actions #2

Updated by Partha Aji over 3 years ago

  • Subject changed from Check for pulp_celerybeat.service in ping to Check for pulpcore-api.service in ping

File.exist?("/etc/systemd/system/multi-user.target.wants/pulpcore-api.service")

Actions #3

Updated by The Foreman Bot over 3 years ago

  • Assignee set to Partha Aji
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9403 added
Actions #4

Updated by Justin Sherrill over 3 years ago

  • Target version set to Katello 3.18.4
  • Triaged changed from No to Yes
Actions #5

Updated by Jonathon Turel over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF