All Hosts out of Sync after 1.5.0 upgrade

I just upgraded my Foreman to the 1.5.0 build. I am able to access all the
resources in the dashboard but my hosts are all reporting to be out of
sync. I checked on the server and the yaml files are being updated on the
server (/var/lib/puppet/yaml/) but there is an error when Foreman tries to
post to the /api/reports and /api/hosts/facts. I have googled the heck out
of the messages in the production log but nothing seems to match what I am
experiencing. Looking at the production log this is what I see.

Started POST "/api/hosts/facts" for "ipaddress removed" at 2014-05-20
14:33:14 -0400
Processing by Api::V2::HostsController#facts as JSON
Parameters: {"certname"=>"value removed", "name"=>"value removed",
"facts"=>"[FILTERED]", "apiv"=>"v2", "host"=>{"certname"=>"value removed",
"name"=>"value removed", "facts"=>"[FILTERED]"}}
undefined method full' for "1.5.0-1.el6 openstack":String (NoMethodError) /usr/share/foreman/app/controllers/api/base_controller.rb:195:inadd_version_header'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:420:in
block (2 levels) in _run__2333524289506827416__process_action__2451879739259856472__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_6331'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:33:in
clear_thread' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_6331'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:404:in
block in _run__2333524289506827416__process_action__2451879739259856472__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_6330'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in_callback_around_13'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_6330' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:403:in_run__2333524289506827416__process_action__2451879739259856472__callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:inprocess'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:inblock in call'
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
each' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.1.2/lib/apipie/static_dispatcher.rb:65:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.1.2/lib/apipie/middleware/checksum_in_headers.rb:27:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:incall'
/usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in
context' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:inblock in call'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
_run__2480371558597692964__call__20813116035147762__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in__run_callback'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in
_run_call_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:inrun_callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in
call_app' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/quiet_assets-1.0.2/lib/quiet_assets.rb:18:in
call_with_quiet_assets' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:inforward'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in
pass' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:ininvalidate'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in
call!' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in
method_missing' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:ineach'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in
call' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:inprocess_request'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in
accept_and_process_next_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:inmain_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in
`block (3 levels) in start_threads'
Rendered api/v2/errors/standard_error.json.rabl within
api/v2/layouts/error_layout (0.6ms)
Completed 500 Internal Server Error in 3ms (Views: 1.6ms | ActiveRecord:
0.0ms)

System information

HOSTNAME: hostname removed
OS: redhat
RELEASE: Red Hat Enterprise Linux Server release 6.5 (Santiago)
FOREMAN: 1.5.0
RUBY: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
PUPPET: 3.6.0

Here is a list of my foreman rpms currently installed.

foreman-mysql2-1.5.0-1.el6.noarch
foreman-selinux-1.5.0-1.el6.noarch
foreman-proxy-1.5.0-1.el6.noarch
ruby193-rubygem-foremancli-1.0-6.el6.noarch
foreman-console-1.5.0-1.el6.noarch
foreman-release-1.5.0-1.el6.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-5.el6ost.noarch
openstack-foreman-installer-1.0.5-1.el6ost.noarch
foreman-1.5.0-1.el6.noarch
rubygem-foreman_api-0.1.11-1.el6.noarch
foreman-gce-1.5.0-1.el6.noarch
foreman-vmware-1.5.0-1.el6.noarch
rubygem-hammer_cli_foreman-0.1.0-1.el6.noarch
foreman-postgresql-1.5.0-1.el6.noarch
foreman-installer-1.5.0-1.el6.noarch
foreman-compute-1.5.0-1.el6.noarch
foreman-ovirt-1.5.0-1.el6.noarch
foreman-assets-1.5.0-1.el6.noarch
foreman-cli-1.5.0-1.el6.noarch

On a related note I tried to add my ldap server connection via the Foreman
dashboard but when I click the New Authentication Source I get another
undefined method error.

NoMethodError
*undefined method short' for "1.5.0-1.el6 openstack":String* app/views/auth_source_ldaps/_form.html.erb:1:in_app_views_auth_source_ldaps__form_html_erb__2693463209757053880_84306680'
app/views/auth_source_ldaps/new.html.erb:3:in
_app_views_auth_source_ldaps_new_html_erb__3181190141726627546_83314380' app/models/concerns/foreman/thread_session.rb:33:inclear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Something with the Post method to the Foreman API is hinky.

Full Stack Trace

Started GET "/auth_source_ldaps/new" for 149.8.204.99 at 2014-05-21
08:32:08 -0400
Processing by AuthSourceLdapsController#new as HTML
^[[1;32mDeface:^[[0m 2 overrides found for 'layouts/application'
^[[1;32mDeface:^[[0m 'title_branding' matched 0 times with 'html > head >
title > code[erb-silent]:contains('title =')'
^[[1;32mDeface:^[[0m 'header_branding' matched 0 times with '.logo-bar >
.container > code[erb-loud]:contains('image_tag')'
Rendered auth_source_ldaps/_form.html.erb (1.8ms)
Rendered auth_source_ldaps/new.html.erb within layouts/application (8.0ms)
Operation FAILED: undefined method `short' for "1.5.0-1.el6
openstack":String
Rendered common/500.html.erb within layouts/application (5.1ms)
Rendered layouts/base.html.erb (1.3ms)
Completed 500 Internal Server Error in 194ms (Views: 9.3ms | ActiveRecord:
0.0ms)

··· On Tuesday, May 20, 2014 2:48:47 PM UTC-4, Patrick Devine wrote: > > I just upgraded my Foreman to the 1.5.0 build. I am able to access all the > resources in the dashboard but my hosts are all reporting to be out of > sync. I checked on the server and the yaml files are being updated on the > server (/var/lib/puppet/yaml/) but there is an error when Foreman tries to > post to the /api/reports and /api/hosts/facts. I have googled the heck out > of the messages in the production log but nothing seems to match what I am > experiencing. Looking at the production log this is what I see. > > Started POST "/api/hosts/facts" for "ipaddress removed" at 2014-05-20 > 14:33:14 -0400 > Processing by Api::V2::HostsController#facts as JSON > Parameters: {"certname"=>"value removed", "name"=>"value removed", > "facts"=>"[FILTERED]", "apiv"=>"v2", "host"=>{"certname"=>"value removed", > "name"=>"value removed", "facts"=>"[FILTERED]"}} > undefined method `full' for "1.5.0-1.el6 openstack":String (NoMethodError) > /usr/share/foreman/app/controllers/api/base_controller.rb:195:in > `add_version_header' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:420:in > `block (2 levels) in > _run__2333524289506827416__process_action__2451879739259856472__callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in > `block in _conditional_callback_around_6331' > /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:33:in > `clear_thread' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in > `_conditional_callback_around_6331' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:404:in > `block in > _run__2333524289506827416__process_action__2451879739259856472__callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in > `block in _conditional_callback_around_6330' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in > `around' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in > `_callback_around_13' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in > `_conditional_callback_around_6330' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:403:in > `_run__2333524289506827416__process_action__2451879739259856472__callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in > `__run_callback' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in > `_run_process_action_callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in > `run_callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in > `process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in > `process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in > `block in process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in > `block in instrument' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in > `instrument' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in > `instrument' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in > `process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in > `process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in > `process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in > `process' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in > `process' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in > `dispatch' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in > `dispatch' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in > `block in action' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in > `dispatch' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in > `block in call' > /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in > `each' > /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.1.2/lib/apipie/static_dispatcher.rb:65:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.1.2/lib/apipie/middleware/checksum_in_headers.rb:27:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in > `call' > /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in > `context' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in > `block in call' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in > `_run__2480371558597692964__call__20813116035147762__callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in > `__run_callback' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in > `_run_call_callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in > `run_callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in > `call_app' > /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/quiet_assets-1.0.2/lib/quiet_assets.rb:18:in > `call_with_quiet_assets' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in > `forward' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in > `pass' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in > `invalidate' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in > `call!' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in > `method_missing' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in > `block in call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in > `each' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in > `call' > /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in > `process_request' > /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in > `accept_and_process_next_request' > /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in > `main_loop' > /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in > `block (3 levels) in start_threads' > Rendered api/v2/errors/standard_error.json.rabl within > api/v2/layouts/error_layout (0.6ms) > Completed 500 Internal Server Error in 3ms (Views: 1.6ms | ActiveRecord: > 0.0ms) > > > System information > > HOSTNAME: hostname removed > OS: redhat > RELEASE: Red Hat Enterprise Linux Server release 6.5 (Santiago) > FOREMAN: 1.5.0 > RUBY: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] > PUPPET: 3.6.0 > >

Removing the ruby and openstack rpm seems to have done the trick. Checking
now to see what functionality maybe lost from removing those two rpms.

Thanks

··· On Tuesday, May 20, 2014 2:48:47 PM UTC-4, Patrick Devine wrote: > > I just upgraded my Foreman to the 1.5.0 build. I am able to access all the > resources in the dashboard but my hosts are all reporting to be out of > sync. I checked on the server and the yaml files are being updated on the > server (/var/lib/puppet/yaml/) but there is an error when Foreman tries to > post to the /api/reports and /api/hosts/facts. I have googled the heck out > of the messages in the production log but nothing seems to match what I am > experiencing. Looking at the production log this is what I see. > > Started POST "/api/hosts/facts" for "ipaddress removed" at 2014-05-20 > 14:33:14 -0400 > Processing by Api::V2::HostsController#facts as JSON > Parameters: {"certname"=>"value removed", "name"=>"value removed", > "facts"=>"[FILTERED]", "apiv"=>"v2", "host"=>{"certname"=>"value removed", > "name"=>"value removed", "facts"=>"[FILTERED]"}} > undefined method `full' for "1.5.0-1.el6 openstack":String (NoMethodError) > /usr/share/foreman/app/controllers/api/base_controller.rb:195:in > `add_version_header' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:420:in > `block (2 levels) in > _run__2333524289506827416__process_action__2451879739259856472__callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in > `block in _conditional_callback_around_6331' > /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:33:in > `clear_thread' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in > `_conditional_callback_around_6331' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:404:in > `block in > _run__2333524289506827416__process_action__2451879739259856472__callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in > `block in _conditional_callback_around_6330' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in > `around' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in > `_callback_around_13' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in > `_conditional_callback_around_6330' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:403:in > `_run__2333524289506827416__process_action__2451879739259856472__callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in > `__run_callback' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in > `_run_process_action_callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in > `run_callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in > `process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in > `process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in > `block in process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in > `block in instrument' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in > `instrument' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in > `instrument' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in > `process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in > `process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in > `process_action' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in > `process' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in > `process' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in > `dispatch' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in > `dispatch' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in > `block in action' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in > `dispatch' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in > `block in call' > /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in > `each' > /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.1.2/lib/apipie/static_dispatcher.rb:65:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.1.2/lib/apipie/middleware/checksum_in_headers.rb:27:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in > `call' > /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in > `context' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in > `block in call' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in > `_run__2480371558597692964__call__20813116035147762__callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in > `__run_callback' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in > `_run_call_callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in > `run_callbacks' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in > `call_app' > /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/quiet_assets-1.0.2/lib/quiet_assets.rb:18:in > `call_with_quiet_assets' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in > `forward' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in > `pass' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in > `invalidate' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in > `call!' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in > `method_missing' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:in > `call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in > `block in call' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in > `each' > /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in > `call' > /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in > `process_request' > /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in > `accept_and_process_next_request' > /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in > `main_loop' > /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in > `block (3 levels) in start_threads' > Rendered api/v2/errors/standard_error.json.rabl within > api/v2/layouts/error_layout (0.6ms) > Completed 500 Internal Server Error in 3ms (Views: 1.6ms | ActiveRecord: > 0.0ms) > > > System information > > HOSTNAME: hostname removed > OS: redhat > RELEASE: Red Hat Enterprise Linux Server release 6.5 (Santiago) > FOREMAN: 1.5.0 > RUBY: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] > PUPPET: 3.6.0 > >

Where is your Foreman RPM from?

rpm -qi foreman output would be very useful.

··· On 20/05/14 19:48, Patrick Devine wrote: > I just upgraded my Foreman to the 1.5.0 build. I am able to access all > the resources in the dashboard but my hosts are all reporting to be out > of sync. I checked on the server and the yaml files are being updated on > the server (/var/lib/puppet/yaml/) but there is an error when Foreman > tries to post to the /api/reports and /api/hosts/facts. I have googled > the heck out of the messages in the production log but nothing seems to > match what I am experiencing. Looking at the production log this is what > I see. > > Started POST "/api/hosts/facts" for "ipaddress removed" at 2014-05-20 > 14:33:14 -0400 > Processing by Api::V2::HostsController#facts as JSON > Parameters: {"certname"=>"value removed", "name"=>"value removed", > "facts"=>"[FILTERED]", "apiv"=>"v2", "host"=>{"certname"=>"value > removed", "name"=>"value removed", "facts"=>"[FILTERED]"}} > undefined method `full' for "1.5.0-1.el6 openstack":String (NoMethodError) > /usr/share/foreman/app/controllers/api/base_controller.rb:195:in > `add_version_header'


Dominic Cleal
Red Hat Engineering

One more thought, do you have an OpenStack-related or "simplify" plugin
installed? I've a vague memory of an old version of them overriding
Foreman's internal version with the string from rpm -q which wouldn't
work on any recent Foreman release.

rpm -qa \*foreman\* would probably show this.

··· On 21/05/14 09:52, Dominic Cleal wrote: > On 20/05/14 19:48, Patrick Devine wrote: >> I just upgraded my Foreman to the 1.5.0 build. I am able to access all >> the resources in the dashboard but my hosts are all reporting to be out >> of sync. I checked on the server and the yaml files are being updated on >> the server (/var/lib/puppet/yaml/) but there is an error when Foreman >> tries to post to the /api/reports and /api/hosts/facts. I have googled >> the heck out of the messages in the production log but nothing seems to >> match what I am experiencing. Looking at the production log this is what >> I see. >> >> Started POST "/api/hosts/facts" for "ipaddress removed" at 2014-05-20 >> 14:33:14 -0400 >> Processing by Api::V2::HostsController#facts as JSON >> Parameters: {"certname"=>"value removed", "name"=>"value removed", >> "facts"=>"[FILTERED]", "apiv"=>"v2", "host"=>{"certname"=>"value >> removed", "name"=>"value removed", "facts"=>"[FILTERED]"}} >> undefined method `full' for "1.5.0-1.el6 openstack":String (NoMethodError) >> /usr/share/foreman/app/controllers/api/base_controller.rb:195:in >> `add_version_header' > > Where is your Foreman RPM from? > > `rpm -qi foreman` output would be very useful.


Dominic Cleal
Red Hat Engineering

Could you try uninstalling this RPM and then restart Foreman?

ruby193-rubygem-foreman_openstack_simplify-0.0.6-5.el6ost.noarch

··· -- Dominic Cleal Red Hat Engineering

On 21/05/14 13:36, Patrick Devine wrote:

Here is a list of my foreman rpms currently installed.

foreman-mysql2-1.5.0-1.el6.noarch
foreman-selinux-1.5.0-1.el6.noarch
foreman-proxy-1.5.0-1.el6.noarch
ruby193-rubygem-foremancli-1.0-6.el6.noarch
foreman-console-1.5.0-1.el6.noarch
foreman-release-1.5.0-1.el6.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-5.el6ost.noarch
openstack-foreman-installer-1.0.5-1.el6ost.noarch
foreman-1.5.0-1.el6.noarch
rubygem-foreman_api-0.1.11-1.el6.noarch
foreman-gce-1.5.0-1.el6.noarch
foreman-vmware-1.5.0-1.el6.noarch
rubygem-hammer_cli_foreman-0.1.0-1.el6.noarch
foreman-postgresql-1.5.0-1.el6.noarch
foreman-installer-1.5.0-1.el6.noarch
foreman-compute-1.5.0-1.el6.noarch
foreman-ovirt-1.5.0-1.el6.noarch
foreman-assets-1.5.0-1.el6.noarch
foreman-cli-1.5.0-1.el6.noarch

On a related note I tried to add my ldap server connection via the
Foreman dashboard but when I click the New Authentication Source I get
another undefined method error.

/NoMethodError/
*undefined method short' for "1.5.0-1.el6 openstack":String* app/views/auth_source_ldaps/_form.html.erb:1:in_app_views_auth_source_ldaps__form_html_erb__2693463209757053880_84306680’
app/views/auth_source_ldaps/new.html.erb:3:in
_app_views_auth_source_ldaps_new_html_erb__3181190141726627546_83314380' app/models/concerns/foreman/thread_session.rb:33:inclear_thread’
lib/middleware/catch_json_parse_errors.rb:9:in `call’

Something with the Post method to the Foreman API is hinky.

Full Stack Trace

Started GET “/auth_source_ldaps/new” for 149.8.204.99 at 2014-05-21
08:32:08 -0400
Processing by AuthSourceLdapsController#new as HTML
^[[1;32mDeface:^[[0m 2 overrides found for ‘layouts/application’
^[[1;32mDeface:^[[0m ‘title_branding’ matched 0 times with 'html > head

title > code[erb-silent]:contains(‘title =’)’
^[[1;32mDeface:^[[0m ‘header_branding’ matched 0 times with '.logo-bar >
.container > code[erb-loud]:contains(‘image_tag’)‘
Rendered auth_source_ldaps/_form.html.erb (1.8ms)
Rendered auth_source_ldaps/new.html.erb within layouts/application (8.0ms)
Operation FAILED: undefined method `short’ for “1.5.0-1.el6
openstack”:String
Rendered common/500.html.erb within layouts/application (5.1ms)
Rendered layouts/base.html.erb (1.3ms)
Completed 500 Internal Server Error in 194ms (Views: 9.3ms |
ActiveRecord: 0.0ms)

On Tuesday, May 20, 2014 2:48:47 PM UTC-4, Patrick Devine wrote:

I just upgraded my Foreman to the 1.5.0 build. I am able to access
all the resources in the dashboard but my hosts are all reporting to
be out of sync. I checked on the server and the yaml files are being
updated on the server (/var/lib/puppet/yaml/) but there is an error
when Foreman tries to post to the /api/reports and /api/hosts/facts.
I have googled the heck out of the messages in the production log
but nothing seems to match what I am experiencing. Looking at the
production log this is what I see.

Started POST "/api/hosts/facts" for "ipaddress removed" at
2014-05-20 14:33:14 -0400
Processing by Api::V2::HostsController#facts as JSON
  Parameters: {"certname"=>"value removed", "name"=>"value removed",
"facts"=>"[FILTERED]", "apiv"=>"v2", "host"=>{"certname"=>"value
removed", "name"=>"value removed", "facts"=>"[FILTERED]"}}
undefined method `full' for "1.5.0-1.el6 openstack":String
(NoMethodError)
/usr/share/foreman/app/controllers/api/base_controller.rb:195:in
`add_version_header'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:420:in
`block (2 levels) in
_run__2333524289506827416__process_action__2451879739259856472__callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
`block in _conditional_callback_around_6331'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:33:in
`clear_thread'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
`_conditional_callback_around_6331'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:404:in
`block in
_run__2333524289506827416__process_action__2451879739259856472__callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
`block in _conditional_callback_around_6330'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
`around'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in
`_callback_around_13'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
`_conditional_callback_around_6330'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:403:in
`_run__2333524289506827416__process_action__2451879739259856472__callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
`__run_callback'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in
`_run_process_action_callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
`run_callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in
`process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
`process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in
`block in process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
`block in instrument'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
`instrument'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in
`process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
`process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in
`process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
`process'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in
`process'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
`dispatch'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in
`dispatch'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
`block in action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
`dispatch'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
`block in call'
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
`each'
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.1.2/lib/apipie/static_dispatcher.rb:65:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.1.2/lib/apipie/middleware/checksum_in_headers.rb:27:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in
`call'
/usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in
`context'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in
`block in call'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
`_run__2480371558597692964__call__20813116035147762__callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
`__run_callback'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in
`_run_call_callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
`run_callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in
`call_app'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/quiet_assets-1.0.2/lib/quiet_assets.rb:18:in
`call_with_quiet_assets'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in
`forward'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in
`pass'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in
`invalidate'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in
`call!'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in
`method_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:in
`call'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in
`block in call'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in
`each'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in
`call'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in
`process_request'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in
`accept_and_process_next_request'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in
`main_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in
`block (3 levels) in start_threads'
  Rendered api/v2/errors/standard_error.json.rabl within
api/v2/layouts/error_layout (0.6ms)
Completed 500 Internal Server Error in 3ms (Views: 1.6ms |
ActiveRecord: 0.0ms)


System information

 HOSTNAME: hostname removed
       OS: redhat
  RELEASE: Red Hat Enterprise Linux Server release 6.5 (Santiago)
  FOREMAN: 1.5.0
     RUBY: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
   PUPPET: 3.6.0


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+unsubscribe@googlegroups.com
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

I've got the same issue, without any openstack or simplify rpms:

[root@ewrpmgmt01 aaron.seibert]# rpm -qa
*foreman*

foreman-1.5.0-1.el6.noarch
foreman-cli-1.5.0-1.el6.noarch
foreman-libvirt-1.5.0-1.el6.noarch
foreman-assets-1.5.0-1.el6.noarch
foreman-proxy-1.5.0-1.el6.noarch
foreman-postgresql-1.5.0-1.el6.noarch
foreman-release-1.5.0-1.el6.noarch
foreman-compute-1.5.0-1.el6.noarch
rubygem-hammer_cli_foreman-0.1.0-1.el6.noarch

[root@ewrpmgmt01 aaron.seibert]# rpm -qi foreman
Name : foreman Relocations: (not relocatable)
Version : 1.5.0 Vendor: Koji
Release : 1.el6 Build Date: Fri 09 May 2014
02:14:56 PM UTC
Install Date: Tue 03 Jun 2014 03:26:40 PM UTC Build Host:
koji.katello.org
Group : Applications/System Source RPM:
foreman-1.5.0-1.el6.src.rpm
Size : 11130525 License: GPLv3+ with
exceptions
Signature : RSA/SHA1, Fri 09 May 2014 02:17:18 PM UTC, Key ID
66cf053fe775ff07
Packager : Koji
URL : http://theforeman.org
Summary : Systems Management web application
Description :
Foreman is aimed to be a Single Address For All Machines Life Cycle
Management.
Foreman is based on Ruby on Rails, and this package bundles Rails and all
plugins required for Foreman to work.

[root@ewrpmgmt01 aaron.seibert]# yum repolist
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile

  • base: centos.mirror.constant.com
  • epel: epel.mirror.constant.com
  • extras: centos.mirror.constant.com
  • rpmforge: repoforge.mirror.constant.com
  • updates: centos.mirror.constant.com
    repo
    id
    repo
    name
    status
    base
    CentOS-6 -
    Base
    6,367
    epel
    Extra Packages for Enterprise Linux 6 -
    x86_64
    10,895
    extras
    CentOS-6 -
    Extras
    14
    foreman
    Foreman
    1.5
    133
    foreman_proxy
    Foreman stable
    repository
    133
    newrelic
    New Relic
    Repo
    9
    puppetlabs-deps
    Puppet Labs Dependencies El 6 -
    x86_64
    61
    puppetlabs-products
    Puppet Labs Products El 6 -
    x86_64
    374
    repos.openvpn.net-CentOS6-snapshots
    OpenVPN project yum
    repository
    21
    rpmforge
    RHEL 6 - RPMforge.net -
    dag
    4,688
    scl
    CentOS-6 -
    SCL
    548
    updates
    CentOS-6 -
    Updates
    987
    repolist: 24,230
    [root@ewrpmgmt01 aaron.seibert]#
··· On Wednesday, May 21, 2014 9:16:27 AM UTC-4, Patrick Devine wrote: > > Removing the ruby and openstack rpm seems to have done the trick. Checking > now to see what functionality maybe lost from removing those two rpms. > > Thanks > > On Tuesday, May 20, 2014 2:48:47 PM UTC-4, Patrick Devine wrote: >> >> I just upgraded my Foreman to the 1.5.0 build. I am able to access all >> the resources in the dashboard but my hosts are all reporting to be out of >> sync. I checked on the server and the yaml files are being updated on the >> server (/var/lib/puppet/yaml/) but there is an error when Foreman tries to >> post to the /api/reports and /api/hosts/facts. I have googled the heck out >> of the messages in the production log but nothing seems to match what I am >> experiencing. Looking at the production log this is what I see. >> >> Started POST "/api/hosts/facts" for "ipaddress removed" at 2014-05-20 >> 14:33:14 -0400 >> Processing by Api::V2::HostsController#facts as JSON >> Parameters: {"certname"=>"value removed", "name"=>"value removed", >> "facts"=>"[FILTERED]", "apiv"=>"v2", "host"=>{"certname"=>"value removed", >> "name"=>"value removed", "facts"=>"[FILTERED]"}} >> undefined method `full' for "1.5.0-1.el6 openstack":String (NoMethodError) >> /usr/share/foreman/app/controllers/api/base_controller.rb:195:in >> `add_version_header' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:420:in >> `block (2 levels) in >> _run__2333524289506827416__process_action__2451879739259856472__callbacks' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in >> `block in _conditional_callback_around_6331' >> /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:33:in >> `clear_thread' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in >> `_conditional_callback_around_6331' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:404:in >> `block in >> _run__2333524289506827416__process_action__2451879739259856472__callbacks' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in >> `block in _conditional_callback_around_6330' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in >> `around' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in >> `_callback_around_13' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in >> `_conditional_callback_around_6330' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:403:in >> `_run__2333524289506827416__process_action__2451879739259856472__callbacks' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in >> `__run_callback' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in >> `_run_process_action_callbacks' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in >> `run_callbacks' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in >> `process_action' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in >> `process_action' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in >> `block in process_action' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in >> `block in instrument' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in >> `instrument' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in >> `instrument' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in >> `process_action' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in >> `process_action' >> /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in >> `process_action' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in >> `process' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in >> `process' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in >> `dispatch' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in >> `dispatch' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in >> `block in action' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in >> `dispatch' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in >> `block in call' >> /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in >> `each' >> /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.1.2/lib/apipie/static_dispatcher.rb:65:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.1.2/lib/apipie/middleware/checksum_in_headers.rb:27:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in >> `call' >> /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in >> `context' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in >> `block in call' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in >> `_run__2480371558597692964__call__20813116035147762__callbacks' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in >> `__run_callback' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in >> `_run_call_callbacks' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in >> `run_callbacks' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in >> `call_app' >> /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/quiet_assets-1.0.2/lib/quiet_assets.rb:18:in >> `call_with_quiet_assets' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in >> `forward' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in >> `pass' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in >> `invalidate' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in >> `call!' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in >> `method_missing' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:in >> `call' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in >> `block in call' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in >> `each' >> /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in >> `call' >> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in >> `process_request' >> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in >> `accept_and_process_next_request' >> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in >> `main_loop' >> /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in >> `block (3 levels) in start_threads' >> Rendered api/v2/errors/standard_error.json.rabl within >> api/v2/layouts/error_layout (0.6ms) >> Completed 500 Internal Server Error in 3ms (Views: 1.6ms | ActiveRecord: >> 0.0ms) >> >> >> System information >> >> HOSTNAME: hostname removed >> OS: redhat >> RELEASE: Red Hat Enterprise Linux Server release 6.5 (Santiago) >> FOREMAN: 1.5.0 >> RUBY: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] >> PUPPET: 3.6.0 >> >>

I've rtfm and figured it out… I went from 1.2 to 1.5 and had to change
the report and fact uploaders

··· On Jun 4, 2014 5:01 AM, "Aaron Seibert" wrote:

I’ve got the same issue, without any openstack or simplify rpms:

[root@ewrpmgmt01 aaron.seibert]# rpm -qa
*foreman*

foreman-1.5.0-1.el6.noarch
foreman-cli-1.5.0-1.el6.noarch
foreman-libvirt-1.5.0-1.el6.noarch
foreman-assets-1.5.0-1.el6.noarch
foreman-proxy-1.5.0-1.el6.noarch
foreman-postgresql-1.5.0-1.el6.noarch
foreman-release-1.5.0-1.el6.noarch
foreman-compute-1.5.0-1.el6.noarch
rubygem-hammer_cli_foreman-0.1.0-1.el6.noarch

[root@ewrpmgmt01 aaron.seibert]# rpm -qi foreman
Name : foreman Relocations: (not relocatable)
Version : 1.5.0 Vendor: Koji
Release : 1.el6 Build Date: Fri 09 May 2014
02:14:56 PM UTC
Install Date: Tue 03 Jun 2014 03:26:40 PM UTC Build Host:
koji.katello.org
Group : Applications/System Source RPM:
foreman-1.5.0-1.el6.src.rpm
Size : 11130525 License: GPLv3+ with
exceptions
Signature : RSA/SHA1, Fri 09 May 2014 02:17:18 PM UTC, Key ID
66cf053fe775ff07
Packager : Koji
URL : http://theforeman.org
Summary : Systems Management web application
Description :
Foreman is aimed to be a Single Address For All Machines Life Cycle
Management.
Foreman is based on Ruby on Rails, and this package bundles Rails and all
plugins required for Foreman to work.

[root@ewrpmgmt01 aaron.seibert]# yum repolist
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile

  • base: centos.mirror.constant.com
  • epel: epel.mirror.constant.com
  • extras: centos.mirror.constant.com
  • rpmforge: repoforge.mirror.constant.com
  • updates: centos.mirror.constant.com
    repo
    id
    repo
    name
    status
    base
    CentOS-6 -
    Base
    6,367
    epel
    Extra Packages for Enterprise Linux 6 -
    x86_64
    10,895
    extras
    CentOS-6 -
    Extras
    14
    foreman
    Foreman
    1.5
    133
    foreman_proxy
    Foreman stable
    repository
    133
    newrelic
    New Relic
    Repo
    9
    puppetlabs-deps
    Puppet Labs Dependencies El 6 -
    x86_64
    61
    puppetlabs-products
    Puppet Labs Products El 6 -
    x86_64
    374
    repos.openvpn.net-CentOS6-snapshots
    OpenVPN project yum
    repository
    21
    rpmforge
    RHEL 6 - RPMforge.net -
    dag
    4,688
    scl
    CentOS-6 -
    SCL
    548
    updates
    CentOS-6 -
    Updates
    987
    repolist: 24,230
    [root@ewrpmgmt01 aaron.seibert]#

On Wednesday, May 21, 2014 9:16:27 AM UTC-4, Patrick Devine wrote:

Removing the ruby and openstack rpm seems to have done the trick.
Checking now to see what functionality maybe lost from removing those two
rpms.

Thanks

On Tuesday, May 20, 2014 2:48:47 PM UTC-4, Patrick Devine wrote:

I just upgraded my Foreman to the 1.5.0 build. I am able to access all
the resources in the dashboard but my hosts are all reporting to be out of
sync. I checked on the server and the yaml files are being updated on the
server (/var/lib/puppet/yaml/) but there is an error when Foreman tries to
post to the /api/reports and /api/hosts/facts. I have googled the heck out
of the messages in the production log but nothing seems to match what I am
experiencing. Looking at the production log this is what I see.

Started POST “/api/hosts/facts” for “ipaddress removed” at 2014-05-20
14:33:14 -0400
Processing by Api::V2::HostsController#facts as JSON
Parameters: {“certname”=>“value removed”, “name”=>“value removed”,
“facts”=>"[FILTERED]", “apiv”=>“v2”, “host”=>{“certname”=>“value removed”,
“name”=>“value removed”, “facts”=>"[FILTERED]"}}
undefined method full' for "1.5.0-1.el6 openstack":String (NoMethodError) /usr/share/foreman/app/controllers/api/base_controller.rb:195:inadd_version_header’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-
3.2.8/lib/active_support/callbacks.rb:420:in block (2 levels) in _run__2333524289506827416__process_action__2451879739259856472__ callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport- 3.2.8/lib/active_support/callbacks.rb:215:inblock in
_conditional_callback_around_6331’
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:33:in
clear_thread' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport- 3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_6331’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-
3.2.8/lib/active_support/callbacks.rb:404:in block in _run__2333524289506827416__process_action__2451879739259856472__ callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport- 3.2.8/lib/active_support/callbacks.rb:215:inblock in
_conditional_callback_around_6330’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-
3.2.8/lib/active_support/callbacks.rb:326:in around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport- 3.2.8/lib/active_support/callbacks.rb:310:incallback_around_13’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-
3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_6330' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport- 3.2.8/lib/active_support/callbacks.rb:403:inrun__2333524289506827416__process_action__2451879739259856472

callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-
3.2.8/lib/active_support/callbacks.rb:405:in __run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport- 3.2.8/lib/active_support/callbacks.rb:385:inrun_process_action
callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-
3.2.8/lib/active_support/callbacks.rb:81:in run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_controller/metal/rescue.rb:29:in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in
process_action’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-
3.2.8/lib/active_support/notifications.rb:123:in block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport- 3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-
3.2.8/lib/active_support/notifications.rb:123:in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord- 3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/abstract_controller/base.rb:121:in process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/abstract_controller/rendering.rb:45:inprocess’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_controller/metal.rb:203:in dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_controller/metal.rb:246:in block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_dispatch/routing/route_set.rb:73:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_dispatch/routing/route_set.rb:73:in dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_dispatch/routing/route_set.rb:36:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_dispatch/routing/mapper.rb:42:in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:inblock in call’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
each' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_dispatch/routing/route_set.rb:600:in call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails- 0.1.2/lib/apipie/static_dispatcher.rb:65:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-
0.1.2/lib/apipie/middleware/checksum_in_headers.rb:27:in call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/ lib/rack/conditionalget.rb:35:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_dispatch/middleware/head.rb:14:in call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_dispatch/middleware/params_parser.rb:21:incall’
/usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_dispatch/middleware/flash.rb:242:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/
lib/rack/session/abstract/id.rb:205:in context' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/ lib/rack/session/abstract/id.rb:200:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_dispatch/middleware/cookies.rb:339:in call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord- 3.2.8/lib/active_record/query_cache.rb:64:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-
3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_dispatch/middleware/callbacks.rb:28:inblock in call’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-
3.2.8/lib/active_support/callbacks.rb:405:in
_run__2480371558597692964__call__20813116035147762__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport- 3.2.8/lib/active_support/callbacks.rb:405:inrun_callback’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-
3.2.8/lib/active_support/callbacks.rb:385:in _run_call_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport- 3.2.8/lib/active_support/callbacks.rb:81:inrun_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_dispatch/middleware/callbacks.rb:27:in call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_dispatch/middleware/remote_ip.rb:31:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.
8/lib/rails/rack/logger.rb:26:in call_app' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2. 8/lib/rails/rack/logger.rb:16:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/quiet_assets-
1.0.2/lib/quiet_assets.rb:18:in call_with_quiet_assets' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3. 2.8/lib/action_dispatch/middleware/request_id.rb:22:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/
lib/rack/methodoverride.rb:21:in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-
3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.
2.8/lib/action_dispatch/middleware/static.rb:62:in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1. 2/lib/rack/cache/context.rb:136:inforward’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.
2/lib/rack/cache/context.rb:143:in pass' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1. 2/lib/rack/cache/context.rb:155:ininvalidate’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.
2/lib/rack/cache/context.rb:71:in call!' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1. 2/lib/rack/cache/context.rb:51:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2. 8/lib/rails/application.rb:223:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.
8/lib/rails/railtie/configurable.rb:30:in method_missing' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in
call' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_ passenger/rack/thread_handler_extension.rb:77:inprocess_request’
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion

passenger/request_handler/thread_handler.rb:140:in
accept_and_process_next_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_ passenger/request_handler/thread_handler.rb:108:inmain_loop’
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion

passenger/request_handler.rb:441:in `block (3 levels) in start_threads’
Rendered api/v2/errors/standard_error.json.rabl within
api/v2/layouts/error_layout (0.6ms)
Completed 500 Internal Server Error in 3ms (Views: 1.6ms | ActiveRecord:
0.0ms)

System information

HOSTNAME: hostname removed
OS: redhat
RELEASE: Red Hat Enterprise Linux Server release 6.5 (Santiago)
FOREMAN: 1.5.0
RUBY: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
PUPPET: 3.6.0


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/MTD-Ex-e5yI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.