Hello, I get an error when I try to upgrade Katello from ver. 2.3 to 2.4. 

Upgrade step errata_import failed.

The logs say :




[ERROR 2017-06-28 18:25:26 main] API controllers newer than Apipie cache! Run 
apipie:cache rake task to regenerate cache.
rake aborted!
401 Unauthorized

Tasks: TOP => katello:upgrades:2.1:import_errata
(See full trace by running task with --trace)
Importing Errata

[ERROR 2017-06-28 18:25:26 main] Upgrade step errata_import failed. Check logs 
for more information.
[DEBUG 2017-06-28 18:25:26 main] Exit with status code: 1 (signal was 1)
[ERROR 2017-06-28 18:25:26 main] Repeating errors encountered during run:
[ERROR 2017-06-28 18:25:26 main] sed: can't read /etc/mongodb.conf: No such 
file or directory

[ERROR 2017-06-28 18:25:26 main]  Could not back up 
/etc/httpd/conf.d/userdir.conf: Got passed new contents for sum 
{md5}d4a2620683cc3ff2315c685f9f354265
[ERROR 2017-06-28 18:25:26 main]  Could not back up 
/etc/httpd/conf.d/userdir.conf: Got passed new contents for sum 
{md5}d4a2620683cc3ff2315c685f9f354265
[ERROR 2017-06-28 18:25:26 main]  
/Stage[main]/Apache/File[/etc/httpd/conf.d/userdir.conf]/ensure: change from 
file to absent failed: Could not back up /etc/httpd/conf.d/userdir.conf: Got 
passed new contents for sum {md5}d4a2620683cc3ff2315c685f9f354265
[ERROR 2017-06-28 18:25:26 main]  Could not back up 
/etc/httpd/conf.d/welcome.conf: Got passed new contents for sum 
{md5}9d1328b985d0851eb5bc610da6122f44
[ERROR 2017-06-28 18:25:26 main]  Could not back up 
/etc/httpd/conf.d/welcome.conf: Got passed new contents for sum 
{md5}9d1328b985d0851eb5bc610da6122f44
[ERROR 2017-06-28 18:25:26 main]  
/Stage[main]/Apache/File[/etc/httpd/conf.d/welcome.conf]/ensure: change from 
file to absent failed: Could not back up /etc/httpd/conf.d/welcome.conf: Got 
passed new contents for sum {md5}9d1328b985d0851eb5bc610da6122f44
[ERROR 2017-06-28 18:25:26 main]  Could not back up /etc/httpd/conf.d/README: 
Got passed new contents for sum {md5}20b886e8496027dcbc31ed28d404ebb1
[ERROR 2017-06-28 18:25:26 main]  Could not back up /etc/httpd/conf.d/README: 
Got passed new contents for sum {md5}20b886e8496027dcbc31ed28d404ebb1
[ERROR 2017-06-28 18:25:26 main]  
/Stage[main]/Apache/File[/etc/httpd/conf.d/README]/ensure: change from file to 
absent failed: Could not back up /etc/httpd/conf.d/README: Got passed new 
contents for sum {md5}20b886e8496027dcbc31ed28d404ebb1
[ERROR 2017-06-28 18:25:26 main] API controllers newer than Apipie cache! Run 
apipie:cache rake task to regenerate cache.
rake aborted!
401 Unauthorized

Tasks: TOP => katello:upgrades:2.1:import_errata
(See full trace by running task with --trace)
Importing Errata

[ERROR 2017-06-28 18:25:26 main] Upgrade step errata_import failed. Check logs 
for more information.



The Foreman has been upgraded just before from ver. 1.9.3 to 1.10.4, painfully 
(the Centos 7 SCL repo provides ruby193-rubygem-activesupport-3.2.8-5 but 
3.2.8-6 is needed, with 
security_utils.rb) but without errors in the end. 


I'm using the upstream versions of Foreman and Katello, on Centos 7 (I mean, 
this is not a RH Satellite) 


Do you know how to fix this and restart the faulty step, please ?


Thanks in advance.


Louis Coilliot

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to