While installing Red Hat Satellite v 6, katello-installer command fails with error "/usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]"
Issue
- While installing Red Hat Satellite v 6, katello-installer command fails with error :
[ERROR 2016-03-09 12:08:46 main] /Stage[main]/Apache/User[apache]/gid: change from 100513 to apache failed: Could not set gid on user[apache]: Execution of '/sbin/usermod -g 1000 apache' returned 6: usermod: user 'apache' does not exist in /etc/passwd
[ WARN 2016-03-09 12:55:43 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns: Apipie cache enabled but not present yet. Run apipie:cache rake task to speed up API calls.
[ERROR 2016-03-09 12:55:43 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
[ERROR 2016-03-09 12:55:43 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
Environment
- Red Hat Satellite v 6.1
- katello-installer
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
