Hi Guys
Already apply the patch but no luck in my second attempt got all this
I got also this issues with RC5
Upgrade Step: Running installer...
Could not prefetch mongodb_user provider 'mongodb': Could not evalute MongoDB shell command: printjson(db.system.users.find().toArray())
/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]
/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]
Upgrade step db_seed failed. Check logs for more information.
[root@nz2zsat01 katello-installer]# foreman-rake db:seed --trace
- Invoke db:seed (first_time)
- Execute db:seed
- Invoke db:abort_if_pending_migrations (first_time)
- Invoke environment (first_time)
- Execute environment
- Execute db:abort_if_pending_migrations
You have 8 pending migrations:
20151009084350 DropPtables
20151019174035 RenameDomainHostCount
20151025120534 AddHiddenValueToLookupKey
20151104100257 AddHostsCountToHostgroup
20151120153254 DeleteBootableInterface
20151220093801 RemoveSpacesFromSmartVariableKey
20160201131211 AddExpiredLogsToSmartProxy
20160215143900 AddSubnetDomainRelationConstraints
Run `rake db:migrate` to update your database then try again.
[root@nz2zsat01 katello-installer]# foreman-rake db:seed
You have 8 pending migrations:
20151009084350 DropPtables
20151019174035 RenameDomainHostCount
20151025120534 AddHiddenValueToLookupKey
20151104100257 AddHostsCountToHostgroup
20151120153254 DeleteBootableInterface
20151220093801 RemoveSpacesFromSmartVariableKey
20160201131211 AddExpiredLogsToSmartProxy
20160215143900 AddSubnetDomainRelationConstraints
Run `rake db:migrate` to update your database then try again.
[root@nz2zsat01 katello-installer]# rake db:migrate --trace
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:598:in `raw_load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:89:in `block in load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:88:in `load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:72:in `block in run'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:70:in `run'
/usr/bin/rake:37:in `<main>'
[root@nz2zsat01 katello-installer]# rake db:migrate
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
(See full trace by running task with --trace)
[root@nz2zsat01 katello-installer]# rake db:migrate --trace
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:598:in `raw_load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:89:in `block in load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:88:in `load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:72:in `block in run'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:70:in `run'
/usr/bin/rake:37:in `<main>'
[root@nz2zsat01 katello-installer]# packet_write_wait: Connection to 172.25.176.245: Broken pipe
mac:~ Mario$ DeleteBootableInterface
-bash: DeleteBootableInterface: command not found
mac:~ Mario$ 20151220093801 RemoveSpacesFromSmartVariableKey
-bash: 20151220093801: command not found
mac:~ Mario$ 20160201131211 AddExpiredLogsToSmartProxy
-bash: 20160201131211: command not found
mac:~ Mario$ 20160215143900 AddSubnetDomainRelationConstraints
-bash: 20160215143900: command not found
mac:~ Mario$ Run `rake db:migrate` to update your database then try again.
[root@nz2zsat01 katello-installer]# rake db:migrate --trace
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:598:in `raw_load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:89:in `block in load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:88:in `load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:72:in `block in run'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:70:in `run'
/usr/bin/rake:37:in `<main>'
[root@nz2zsat01 katello-installer]# rake db:migrate
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
(See full trace by running task with --trace)
[root@nz2zsat01 katello-installer]# rake db:migrate --trake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
(See full trace by running task with --trace)
-bash: Run: command not found
mac:~ Mario$ [root@nz2zsat01 katello-installer]# rake db:migrate --trace
-bash: [root@nz2zsat01: command not found
mac:~ Mario$ rake aborted!
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
(See full trace by running task with --trace)
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:598:in `raw_load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:89:in `block in load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:88:in `load_rakefile'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:72:in `block in run'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/share/gems/gems/rake-0.9.6/lib/rake/application.rb:70:in `run'
/usr/bin/rake:37:in `<main>'
[root@nz2zsat01 katello-installer]# rake db:migrate
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)