Hi all,
I have to confess that I am a complete newbie regarding foreman/katello, just wanted to try it out to manage some boxes that host RHELs. So please, go easy on me Thanks
Problem:
During foreman-installer execution with scenario katello I get this error:
2021-04-07 15:58:20 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: ‘/usr/sbin/foreman-rake db:seed’ returned 1 instead of one of [0]
2021-04-07 15:58:20 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: ‘/usr/sbin/foreman-rake db:seed’ returned 1 instead of one of [0]
Sidenote: also had a problem with squid, but that was solved rerunning the installer (it seems that if the directory of var/spool/squid already exists it returns permision error; had it created already to mount a fresh block on it because of space)
So now I will try to get any ideaof what is wrong with rake, before running the installer again.
Thank you very much for any idea and sorry if this was already discussed or if it seems too obvious, as said, it is my first approach to this tool.
You can run /usr/sbin/foreman-rake db:seed which it is complaining about in the shell and it should produce some stacktrace which can help to debug the problem.