This causes an error during installation running the apipie:cache generation: /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache]/Exec[foreman-rake-apipie:cache]: Failed to call refresh: /usr/sbin/foreman-rake apipie:cache returned 1 instead of one of [0] /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache]/Exec[foreman-rake-apipie:cache]: /usr/sbin/foreman-rake apipie:cache returned 1 instead of one of [0] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[satellite.example.dom]: Could not evaluate: Could not load data from https://satellite.example.com This is caused by a change in rails: https://github.com/rails/rails/commit/0c5c32aa7cea5ee1ea60bd1f87dfa5c7e7146a54 fixed upstream in apipie: https://github.com/Apipie/apipie-rails/commit/25a5de6e8621a361b6276a1c1b7bb1cb8348e569 need this immediately in Satellite 6 as it blocks all new installations.
Packages that fix the issue are available: RHEL7: http://download.devel.redhat.com/brewroot/packages/ruby193-rubygem-apipie-rails/0.2.5/3.el7sat/noarch/ruby193-rubygem-apipie-rails-0.2.5-3.el7sat.noarch.rpm RHEL6: http://download.devel.redhat.com/brewroot/packages/ruby193-rubygem-apipie-rails/0.2.5/3.el6_6sat/noarch/ruby193-rubygem-apipie-rails-0.2.5-3.el6_6sat.noarch.rpm To install just do: RHEL7: rpm -Uvh http://download.devel.redhat.com/brewroot/packages/ruby193-rubygem-apipie-rails/0.2.5/3.el7sat/noarch/ruby193-rubygem-apipie-rails-0.2.5-3.el7sat.noarch.rpm RHEL6: rpm -Uvh http://download.devel.redhat.com/brewroot/packages/ruby193-rubygem-apipie-rails/0.2.5/3.el6_6sat/noarch/ruby193-rubygem-apipie-rails-0.2.5-3.el6_6sat.noarch.rpm then run: # /usr/sbin/foreman-rake apipie:cache --trace ensure no errors then if you had a previously failed install, re-run it.
I tried the fix with give packages in comment 2 and covering two scenarios: 1) Installed 6.1.7 from CDN on *rhel7* and installer failed with the reported error. Applied fix with following steps a) rpm -Uvh <rhel7 package that includes the fix> b) /usr/sbin/foreman-rake apipie:cache --trace Logs: ==== [root@cloud-qe-20 ~]# rpm -qa | grep ruby193-rubygem-apipie-rails-0.2.5-3.el7sat ruby193-rubygem-apipie-rails-0.2.5-3.el7sat.noarch [root@cloud-qe-20 ~]# /usr/sbin/foreman-rake apipie:cache --trace ** Invoke apipie:cache (first_time) ** Invoke environment (first_time) ** Execute environment Apipie cache enabled but not present yet. Run apipie:cache rake task to speed up API calls. ** Execute apipie:cache 2016-03-18 04:19:06 -0400 | Started 2016-03-18 04:19:14 -0400 | Documents loaded... 2016-03-18 04:19:14 -0400 | Processing docs for 2016-03-18 04:19:25 -0400 | Finished Just doublecheck, I re-ran the installer and it was completed successfully. 2) Installed 6.1.7 packages from CDN on *rhel6* w/o running katello-installer Applied fix with following steps: a) rpm -Uvh <rhel6 package that includes the fix> b) katello-installer Installer successfully completed.
I ran some hammer commands to create/product/repo and synchronize it via hammer as suggested by Ivan and gone through API docs.. everything looks good.
Based on comments 3, 4 and 5. Moving this bz to verified. thanks
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:0462