Project

General

Profile

Bug #14540

rake-apipie:cache:index fails: ActionView::MissingTemplate: Missing template ../../layouts/apipie/apipie

Added by Dylan Baars over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Packaging
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Attempting to install Katello 3.0RC, using the following repositories

yum -y localinstall https://fedorapeople.org/groups/katello/releases/yum/3.0/katello/el7/x86_64/katello-repos-latest.rpm
yum -y localinstall http://yum.theforeman.org/releases/1.11/el7/x86_64/foreman-release.rpm
yum -y localinstall http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
yum -y localinstall http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install foreman-release-scl

and running foreman-installer --scenario katello

fails, with the following in the katello.log

[DEBUG 2016-04-08 14:56:58 main] Exec[foreman-rake-apipie:cache:index](provider=posix): Executing '/usr/sbin/foreman-rake apipie:cache:index'
[DEBUG 2016-04-08 14:56:58 main] Executing '/usr/sbin/foreman-rake apipie:cache:index'
[ WARN 2016-04-08 14:59:11 main] /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]/returns: /opt/theforeman/tfm/root/usr/share/gems/gems/docker-api-1.17.0/lib/docker.rb:103: warning: circular argument reference - connection
[ WARN 2016-04-08 14:59:13 main] /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]/returns: Apipie cache enabled but not present yet. Run apipie:cache rake task to speed up API calls.
[ WARN 2016-04-08 14:59:13 main] /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]/returns: rake aborted!
[ WARN 2016-04-08 14:59:14 main] /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]/returns: ActionView::MissingTemplate: Missing template ../../layouts/apipie/apipie with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
[ WARN 2016-04-08 14:59:14 main] /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]/returns: * "/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.3.5/app/views/apipie/apipies"

This seems related to http://projects.theforeman.org/issues/13710
Installing tfm-rubygem-apipie-rails-0.3.6-1.el7.noarch.rpm from http://yum.theforeman.org/releases/nightly/el7/x86_64/
and re-running 'foreman-installer --scenario katello' the installation succeeds


Related issues

Related to Foreman - Bug #13710: apipie:cache fails with Missing template ../../layouts/apipie/apipieClosed2016-02-15

History

#1 Updated by Dominic Cleal over 4 years ago

  • Subject changed from New installation of Katello 3.0RC on a clean system (i.e. not upgrading) fails to rake-apipie:cache:index fails: ActionView::MissingTemplate: Missing template ../../layouts/apipie/apipie
  • Category set to Packaging
  • Status changed from New to Closed
  • Assignee set to Dominic Cleal
  • Legacy Backlogs Release (now unused) set to 141

Thanks for the report, I've retagged the package for inclusion in the next 1.11 update.

#2 Updated by Dominic Cleal over 4 years ago

  • Related to Bug #13710: apipie:cache fails with Missing template ../../layouts/apipie/apipie added

Also available in: Atom PDF