Actions
Bug #35774
closedDon't initialize EventDaemon in rake tasks
Difficulty:
Triaged:
Yes
Description
Ohai,
when one currently runs a rake task, like bundle exec rake 'plugin:assets:precompile[katello]'
, Katello will place a katello_event_daemon.lock
file in #{Rails.root}/tmp
.
The actual EventDaemon is never started, as it checks for "in_rake", but the initialization does still happen.
In some rare cases, this can fail because the "tmp" directory has not been yet created.
We should ensure the directory is present, but also we should just not try to write there in rake tasks
Updated by The Foreman Bot almost 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/10362 added
Updated by Chris Roberts almost 2 years ago
- Category set to Tooling
- Target version set to Katello 4.8.0
- Triaged changed from No to Yes
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases Katello 4.8.0 added
Updated by Evgeni Golov over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|16d25a52bf37b8d2895e96559c8c369883607818.
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/Katello/katello/pull/10384 added
Actions