Hello All, I''m happy to announce the next stable release of Foreman, main new features include: - Integration of Puppet Reports, once enabled you would see a real time overview of all of yours hosts status. - Improved support for multiple Puppet Masters (e.g. import facts and reports from remote serves over http) - Simplified migration from existing external nodes setup, now its possible to import your existing classifier data into Foreman. For a complete change log, please visit: http://theforeman.org/projects/changelog/foreman For feature requests, bugs, wiki etc, visit: http://theforeman.org If you already have Foreman installed, make sure you go through http://theforeman.org/wiki/foreman/Upgrade_instructions. Cheers, Ohad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Ohad, Great news with the upgrade! :-) I''m hitting a problem when trying to run import of facts. It seems to work the first few times, but then I start getting this - # rake puppet:import:hosts_and_facts RAILS_ENV=production --trace (in /var/www/html/foreman) ** Invoke puppet:import:hosts_and_facts (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute puppet:import:hosts_and_facts Importing from /var/lib/puppet/yaml/facts Importing server-01 rake aborted! comparison of ActiveSupport::TimeWithZone with String failed /var/www/html/foreman/app/models/host.rb:177:in `<'' /var/www/html/foreman/app/models/host.rb:177:in `importFacts'' /var/www/html/foreman/app/models/host.rb:166:in `importHostAndFacts'' /var/www/html/foreman/lib/tasks/puppet.rake:34 /var/www/html/foreman/lib/tasks/puppet.rake:31:in `each'' /var/www/html/foreman/lib/tasks/puppet.rake:31 /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/lib/ruby/1.8/monitor.rb:238: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 2009/9/21 Ohad Levy <ohadlevy@gmail.com>:> Hello All, > > I''m happy to announce the next stable release of Foreman, main new features > include: > > Integration of Puppet Reports, once enabled you would see a real time > overview of all of yours hosts status. > Improved support for multiple Puppet Masters (e.g. import facts and reports > from remote serves over http) > Simplified migration from existing external nodes setup, now its possible to > import your existing classifier data into Foreman. > > For a complete change log, please visit: > http://theforeman.org/projects/changelog/foreman > For feature requests, bugs, wiki etc, visit: http://theforeman.org > > If you already have Foreman installed, make sure you go through > http://theforeman.org/wiki/foreman/Upgrade_instructions. > > Cheers, > Ohad > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
just for a follow up if anyone is having a similar problem : http://theforeman.org/issues/show/29 <http://theforeman.org/issues/show/29>Ohad On Tue, Sep 22, 2009 at 7:51 PM, Matt <mattmoran76@gmail.com> wrote:> > Hi Ohad, > > Great news with the upgrade! :-) > > I''m hitting a problem when trying to run import of facts. It seems to > work the first few times, but then I start getting this - > > # rake puppet:import:hosts_and_facts RAILS_ENV=production --trace > (in /var/www/html/foreman) > ** Invoke puppet:import:hosts_and_facts (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute puppet:import:hosts_and_facts > Importing from /var/lib/puppet/yaml/facts > Importing server-01 > rake aborted! > comparison of ActiveSupport::TimeWithZone with String failed > /var/www/html/foreman/app/models/host.rb:177:in `<'' > /var/www/html/foreman/app/models/host.rb:177:in `importFacts'' > /var/www/html/foreman/app/models/host.rb:166:in `importHostAndFacts'' > /var/www/html/foreman/lib/tasks/puppet.rake:34 > /var/www/html/foreman/lib/tasks/puppet.rake:31:in `each'' > /var/www/html/foreman/lib/tasks/puppet.rake:31 > /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/lib/ruby/1.8/monitor.rb:238: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 > > > 2009/9/21 Ohad Levy <ohadlevy@gmail.com>: > > Hello All, > > > > I''m happy to announce the next stable release of Foreman, main new > features > > include: > > > > Integration of Puppet Reports, once enabled you would see a real time > > overview of all of yours hosts status. > > Improved support for multiple Puppet Masters (e.g. import facts and > reports > > from remote serves over http) > > Simplified migration from existing external nodes setup, now its possible > to > > import your existing classifier data into Foreman. > > > > For a complete change log, please visit: > > http://theforeman.org/projects/changelog/foreman > > For feature requests, bugs, wiki etc, visit: http://theforeman.org > > > > If you already have Foreman installed, make sure you go through > > http://theforeman.org/wiki/foreman/Upgrade_instructions. > > > > Cheers, > > Ohad > > > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Ohad, I''m having an installation issue on an CentOS 5 machine... I haven''t seen this issue mentioned before - am I missing something? Thanks! -kennon $ RAILS_ENV=production rake db:migrate --trace (in /var/home/l_kkwok/foreman) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate == CreateHosts: migrating ===================================================== AddCreatedAtToAllTables: migrating =======================================-- add_column("schema_migrations", :created_at, :datetime) -> 0.0006s == AddCreatedAtToAllTables: migrated (0.0124s) ============================== == RemoveDuplicatedIndexOnAllTables: migrating ================================ RemoveDuplicatedIndexOnAllTables: migrated (0.0076s) ===================== == AddEnvironmentToHost: migrating ==========================================-- add_column(:hosts, :environment, :string) rake aborted! An error has occurred, this and all later migrations canceled: Could not migrate database: An error has occurred, this and all later migrations canceled: SQLite3::SQLException: duplicate column name: environment: ALTER TABLE "hosts" ADD "environment" varchar(255) /usr/lib/ruby/site_ruby/1.8/puppet/rails.rb:106:in `migrate'' ./db/migrate//20090714132448_create_hosts.rb:9:in `up_without_benchmarks'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:282:in `send'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:282:in `migrate'' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:282:in `migrate'' (__DELEGATION__):2:in `__send__'' (__DELEGATION__):2:in `migrate'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:486:in `migrate'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:560:in `call'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:560:in `ddl_transaction'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ connection_adapters/abstract/database_statements.rb:136:in `transaction'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ transactions.rb:182:in `transaction'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:560:in `ddl_transaction'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:485:in `migrate'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:472:in `each'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:472:in `migrate'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:400:in `up'' /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ migration.rb:383:in `migrate'' /var/home/l_kkwok/foreman/vendor/rails/railties/lib/tasks/ databases.rake:116 /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'' /usr/lib/ruby/1.8/monitor.rb:238:in `synchronize'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'' /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load'' /usr/bin/rake:19 On Sep 21, 6:10 am, Ohad Levy <ohadl...@gmail.com> wrote:> Hello All, > > I''m happy to announce the next stable release of Foreman, main new features > include: > > - Integration of Puppet Reports, once enabled you would see a real time > overview of all of yours hosts status. > - Improved support for multiple Puppet Masters (e.g. import facts and > reports from remote serves over http) > - Simplified migration from existing external nodes setup, now its > possible to import your existing classifier data into Foreman. > > For a complete change log, please visit:http://theforeman.org/projects/changelog/foreman > For feature requests, bugs, wiki etc, visit:http://theforeman.org > > If you already have Foreman installed, make sure you go throughhttp://theforeman.org/wiki/foreman/Upgrade_instructions. > > Cheers, > Ohad--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Kennon, Are you sharing storeconfig database? The error complains about an environment table already in the database? the error actually comes from puppet migrations (regardless to foreman), so its quite strange that you get this error. Maybe you can try out first without storeconfigs (if you did) and see if you get the same error. cheers, Ohad On Wed, Sep 30, 2009 at 5:44 AM, Kennon <kennon.kwok@gmail.com> wrote:> > Hi Ohad, > I''m having an installation issue on an CentOS 5 machine... I haven''t > seen this issue mentioned before - am I missing something? > > Thanks! > > -kennon > > $ RAILS_ENV=production rake db:migrate --trace > (in /var/home/l_kkwok/foreman) > ** Invoke db:migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute db:migrate > == CreateHosts: migrating > ===================================================> == AddCreatedAtToAllTables: migrating > =======================================> -- add_column("schema_migrations", :created_at, :datetime) > -> 0.0006s > == AddCreatedAtToAllTables: migrated (0.0124s) > ==============================> > == RemoveDuplicatedIndexOnAllTables: migrating > ==============================> == RemoveDuplicatedIndexOnAllTables: migrated (0.0076s) > =====================> > == AddEnvironmentToHost: migrating > ==========================================> -- add_column(:hosts, :environment, :string) > rake aborted! > An error has occurred, this and all later migrations canceled: > > Could not migrate database: An error has occurred, this and all later > migrations canceled: > > SQLite3::SQLException: duplicate column name: environment: ALTER TABLE > "hosts" ADD "environment" varchar(255) > /usr/lib/ruby/site_ruby/1.8/puppet/rails.rb:106:in `migrate'' > ./db/migrate//20090714132448_create_hosts.rb:9:in > `up_without_benchmarks'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:282:in `send'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:282:in `migrate'' > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:282:in `migrate'' > (__DELEGATION__):2:in `__send__'' > (__DELEGATION__):2:in `migrate'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:486:in `migrate'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:560:in `call'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:560:in `ddl_transaction'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/database_statements.rb:136:in > `transaction'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > transactions.rb:182:in `transaction'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:560:in `ddl_transaction'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:485:in `migrate'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:472:in `each'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:472:in `migrate'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:400:in `up'' > /var/home/l_kkwok/foreman/vendor/rails/activerecord/lib/active_record/ > migration.rb:383:in `migrate'' > /var/home/l_kkwok/foreman/vendor/rails/railties/lib/tasks/ > databases.rake:116 > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:636:in > `call'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:636:in > `execute'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:in > `each'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:in > `execute'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:597:in > `invoke_with_call_chain'' > /usr/lib/ruby/1.8/monitor.rb:238:in `synchronize'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:590:in > `invoke_with_call_chain'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:583:in > `invoke'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in > `invoke_task'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in > `top_level'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in > `each'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in > `top_level'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in > `standard_exception_handling'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in > `top_level'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in > `run'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in > `standard_exception_handling'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in > `run'' > /var/home/l_kkwok/.gem/ruby/1.8/gems/rake-0.8.7/bin/rake:31 > /usr/bin/rake:19:in `load'' > /usr/bin/rake:19 > > > On Sep 21, 6:10 am, Ohad Levy <ohadl...@gmail.com> wrote: > > Hello All, > > > > I''m happy to announce the next stable release of Foreman, main new > features > > include: > > > > - Integration of Puppet Reports, once enabled you would see a real > time > > overview of all of yours hosts status. > > - Improved support for multiple Puppet Masters (e.g. import facts and > > reports from remote serves over http) > > - Simplified migration from existing external nodes setup, now its > > possible to import your existing classifier data into Foreman. > > > > For a complete change log, please visit: > http://theforeman.org/projects/changelog/foreman > > For feature requests, bugs, wiki etc, visit:http://theforeman.org > > > > If you already have Foreman installed, make sure you go throughhttp:// > theforeman.org/wiki/foreman/Upgrade_instructions. > > > > Cheers, > > Ohad > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---