Actions
Bug #22281
closedRuby Warnings on every call of foreman-rake
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Hi,
since I upgraded to Foreman 1.16/Katello 3.5, I get the following warnings on every run of a foreman-rake task:
/usr/share/foreman/lib/foreman.rb:8: warning: already initialized constant Foreman::UUID_REGEXP
/usr/share/foreman/lib/foreman.rb:8: warning: previous definition of UUID_REGEXP was here
I can find these in db-seed.log, on calling katello-backup or calling:
- sudo -u foreman /usr/sbin/foreman-rake templates:sync prefix="" branch="master" repo="<gitrepo>"
/usr/share/foreman/lib/foreman.rb:8: warning: already initialized constant Foreman::UUID_REGEXP
/usr/share/foreman/lib/foreman.rb:8: warning: previous definition of UUID_REGEXP was here
<successful template sync>
These warnings don't seem to affect the outcome of the corresponding jobs, but since I'm not good at ruby I'm neither able to tell for sure nor can I see how this error produced.
Actions