[katello-devel] Current status of Foreman on rails32

Miroslav Suchy msuchy at redhat.com
Fri Mar 29 14:24:23 UTC 2013


I successfully built Foreman with rails32 - but there is still work to do:

I applied
https://github.com/theforeman/foreman/pull/487
to our foreman-build
and made (big thanks to inecas) some other changes - see attachment.
Sam - feel free to take it and apply to foreman-rpms.

With this change I was able to do scratch build:
http://koji.katello.org/koji/taskinfo?taskID=28403

But with the package installed the FQDN/foreman produce:

Started GET "/foreman/users/login" for 127.0.0.1 at 2013-03-29 10:04:17 
-0400
Processing by UsersController#login as HTML
   Rendered users/login.html.erb within layouts/application (72.3ms)
Operation FAILED: foreman_large.png isn't precompiled
   Rendered common/500.html.erb within layouts/application (3.4ms)
   Rendered home/_topbar.html.erb (1.3ms)
Completed 500 Internal Server Error in 160ms

ActionView::Template::Error (foreman.png isn't precompiled):
     8:   <span class="icon-cog icon-white"></span>
     9: </a>
     10: <!-- logo -->
     11: <%=image_tag("foreman.png", :class=>"logo") %> <%= link_to 
"Foreman", root_path, :class => "brand logo-text" %>
     12: <!-- menu -->
     13: <div id='current_tab' 
data-controller='<%=controller_name.gsub(/_.*/,"s")%>' 
data-settings='<%= class_for_setting_page %>'> </div>
     14:
   app/views/home/_topbar.html.erb:11:in 
`_app_views_home__topbar_html_erb___4411891742568325370_65630400'
   app/views/layouts/application.html.erb:21:in 
`_app_views_layouts_application_html_erb___534119209898294087_38977780'
   app/controllers/application_controller.rb:291:in `generic_exception'

Despite that
# ls /usr/share/foreman/public/assets/
application.css  application.css.gz  application.js  application.js.gz 
fontawesome-webfont.eot  fontawesome-webfont.ttf 
fontawesome-webfont.woff  jquery-ui  manifest.yml  noVNC  spinner.gif 
twitter

is present.

Will continue with the investigation on Monday.

Mirek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-foo.patch
Type: text/x-patch
Size: 7817 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/katello-devel/attachments/20130329/82467696/attachment.bin>


More information about the katello-devel mailing list