Issue #2932 has been updated by Daniel Kerwin.

Same problem here. Rake trace output:

RAILS_ENV=production rake install --trace
(in /opt/reductivelabs-puppet-dashboard-87905c0)
** Invoke install (first_time)
** Invoke copy_config (first_time)
** Execute copy_config
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:create
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
==  BasicSchema: migrating ====================================================
-- create_table(:assignments, {:force=>true})
   -> 0.0198s
-- create_table(:nodes, {:force=>true})
   -> 0.0176s
-- create_table(:services, {:force=>true})
   -> 0.0167s
==  BasicSchema: migrated (0.0545s) ===========================================

==  CreateNodeGroupMemberships: migrating =====================================
-- create_table(:node_group_memberships)
   -> 0.0195s
==  CreateNodeGroupMemberships: migrated (0.0196s) ============================

==  CreateNodeClasses: migrating ==============================================
-- create_table(:node_classes)
   -> 0.0174s
==  CreateNodeClasses: migrated (0.0175s) =====================================

==  CreateNodeClassMemberships: migrating =====================================
-- create_table(:node_class_memberships)
   -> 0.0181s
==  CreateNodeClassMemberships: migrated (0.0182s) ============================

==  CreateNodeGroups: migrating ===============================================
-- create_table(:node_groups)
   -> 0.0171s
==  CreateNodeGroups: migrated (0.0172s) ======================================

==  CreateNodeGroupClassMemberships: migrating ================================
-- create_table(:node_group_class_memberships)
   -> 0.0200s
==  CreateNodeGroupClassMemberships: migrated (0.0201s) =======================

==  AddParametersToNodeGroups: migrating ======================================
-- add_column(:node_groups, :parameters, :text)
   -> 0.0244s
==  AddParametersToNodeGroups: migrated (0.0246s) =============================

==  CreateTimelineEvents: migrating ===========================================
-- create_table(:timeline_events)
   -> 0.0196s
==  CreateTimelineEvents: migrated (0.0197s) ==================================

==  CreateUsers: migrating ====================================================
-- create_table(:users)
   -> 0.0285s
==  CreateUsers: migrated (0.0286s) ===========================================

==  CreateParameters: migrating ===============================================
-- create_table(:parameters)
   -> 0.0209s
==  CreateParameters: migrated (0.0210s) ======================================

==  RemoveParametersFromNode: migrating =======================================
-- remove_column(:nodes, :parameters)
   -> 0.0306s
==  RemoveParametersFromNode: migrated (0.0308s) ==============================

==  CreateNodeGroupEdges: migrating ===========================================
-- create_table(:node_group_edges)
   -> 0.0193s
==  CreateNodeGroupEdges: migrated (0.0194s) ==================================

==  RemoveParametersFromNodeGroups: migrating =================================
-- remove_column(:node_groups, :parameters)
   -> 0.0206s
==  RemoveParametersFromNodeGroups: migrated (0.0207s) ========================

==  CreateReports: migrating ==================================================
-- create_table(:reports)
   -> 0.0201s
==  CreateReports: migrated (0.0202s) =========================================

==  AddUrlToNode: migrating ===================================================
-- add_column(:nodes, :url, :string)
   -> 0.0233s
==  AddUrlToNode: migrated (0.0234s) ==========================================

==  AddReportedAtToNode: migrating ============================================
-- add_column(:nodes, :reported_at, :timestamp)
   -> 0.0254s
==  AddReportedAtToNode: migrated (0.0255s) ===================================

** Invoke db:schema:dump (first_time)
** Invoke environment 
** Execute db:schema:dump
** Invoke db:seed (first_time)
** Invoke environment 
** Execute db:seed
rake aborted!
undefined method `success?' for #<Report:0x7f8927ce3238>
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:255:in
 `method_missing'
/opt/reductivelabs-puppet-dashboard-87905c0/app/models/report.rb:42:in 
`set_success_status'
/opt/reductivelabs-puppet-dashboard-87905c0/app/models/report.rb:33:in 
`process_report'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in
 `send'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in
 `evaluate_method'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in
 `call'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activesupport/lib/active_support/callbacks.rb:93:in
 `run'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in
 `each'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in
 `send'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in
 `run'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in
 `run_callbacks'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/callbacks.rb:344:in
 `callback'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/callbacks.rb:265:in
 `create'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/base.rb:2874:in
 `create_or_update_without_callbacks'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/callbacks.rb:250:in
 `create_or_update'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/base.rb:2538:in
 `save_without_validation'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/validations.rb:1078:in
 `save_without_dirty'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/dirty.rb:79:in
 `save_without_transactions'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/transactions.rb:229:in
 `send'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/transactions.rb:229:in
 `with_transaction_returning_status'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in
 `transaction'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/transactions.rb:182:in
 `transaction'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/transactions.rb:228:in
 `with_transaction_returning_status'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/transactions.rb:196:in
 `save'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/transactions.rb:208:in
 `rollback_active_record_state!'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/transactions.rb:196:in
 `save'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activerecord/lib/active_record/base.rb:723:in
 `create'
/opt/reductivelabs-puppet-dashboard-87905c0/db/seeds.rb:5
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
 `load_without_new_constant_marking'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
 `load'
/opt/reductivelabs-puppet-dashboard-87905c0/vendor/rails/railties/lib/tasks/databases.rake:215
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in 
`invoke_with_call_chain'
/usr/lib64/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in 
`invoke_with_call_chain'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in 
`invoke_prerequisites'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in 
`invoke_prerequisites'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in 
`invoke_with_call_chain'
/usr/lib64/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in 
`invoke_with_call_chain'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in 
`standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in 
`standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

----------------------------------------
Bug #2932: success column missing for reports table
http://projects.reductivelabs.com/issues/2932

Author: Martin Englund
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Keywords: 
Branch: 


I just tried to setup dashboard, but got an error during "rake install"; the 
reports table is missing the success column.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--

You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.


Reply via email to