Running Foreman on ruby 1.9.3 (preview)

Awesome! Might finally get around to running my house Foreman instance
on Archlinux now :wink:

Greg

路路路 On 25 October 2012 14:10, Dmitri Dolguikh wrote: > Hey there, > If you are interested in running Foreman under 1.9.3 (without disabling any > functionality available under 1.8.7), you can give a whirl to the version > available at [1]. Any and all feedback is appreciated. > > Cheers, > -Dmitri > > > [1]. https://github.com/witlessbird/foreman/tree/1.9.3

That's the intention. I had to update some of Foreman's dependencies too -
it's going to take some time for the changes to propagate.
-d

路路路 On Thursday, October 25, 2012 4:06:38 PM UTC+1, Telmo wrote: > > Any chance of this making it to the master tree? I've been running foreman > 1.0 under 1.9.3 for a while now and I haven't seen many issues but merging > this changes would be a welcome addition :) > > > > Light travels faster than sound. This is why some people appear bright > until you hear them speak > >

Any chance of this making it to the master tree? I've been running foreman
1.0 under 1.9.3 for a while now and I haven't seen many issues but merging
this changes would be a welcome addition :slight_smile:

Light travels faster than sound. This is why some people appear bright
until you hear them speak

These changes should get merged in develop pretty soon.

-S

路路路 On 10/25/2012 11:06 AM, Telmo X wrote: > Any chance of this making it to the master tree? I've been running > foreman 1.0 under 1.9.3 for a while now and I haven't seen many issues > but merging this changes would be a welcome addition :) > > > > Light travels faster than sound. This is why some people appear bright > until you hear them speak > > -- > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to > foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/foreman-users?hl=en.

just a heads up I am getting an error when trying to import puppet classes
from a smart-proxy. This is a brand new instance of Foreman from your
clone. I am still trying to figure out where the "foreman" in the table
name is coming from.

Mysql2::Error in PuppetclassesController#import_environments

Table 'foreman.environments_puppetclasses' doesn't exist

Rails.root: /app/copa/foreman

Application Trace | Framework Trace | Full Trace

app/models/environment.rb:38:in `block in importClasses'

app/models/environment.rb:38:in `map'

app/models/environment.rb:38:in `importClasses'

lib/foreman/controller/environments.rb:7:in `import_environments'

/app/interpreters/ruby/1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:138:in
`service'

/app/interpreters/ruby/1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:94:in
`run'

/app/interpreters/ruby/1.9.3/lib/ruby/1.9.1/webrick/server.rb:191:in `block
in start_thread'

Request

Parameters:

{"proxy"=>"2-puppet"}

Light travels faster than sound. This is why some people appear bright
until you hear them speak

路路路 On Thu, Oct 25, 2012 at 11:09 AM, Dmitri Dolguikh wrote:

That鈥檚 the intention. I had to update some of Foreman鈥檚 dependencies too -
it鈥檚 going to take some time for the changes to propagate.
-d

On Thursday, October 25, 2012 4:06:38 PM UTC+1, Telmo wrote:

Any chance of this making it to the master tree? I鈥檝e been running
foreman 1.0 under 1.9.3 for a while now and I haven鈥檛 seen many issues but
merging this changes would be a welcome addition :slight_smile:

Light travels faster than sound. This is why some people appear bright
until you hear them speak


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/UGpqZYCd4dgJ.

To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.

> just a heads up I am getting an error when trying to import puppet classes
> from a smart-proxy. This is a brand new instance of Foreman from your
> clone. I am still trying to figure out where the "foreman" in the table
> name is coming from.
>
> Mysql2::Error in PuppetclassesController#import_environments
>
> Table 'foreman.environments_puppetclasses' doesn't exist
>

sounds like either

  1. a migration is missing
  2. the branch you ran is old compare to develop

try
git fetch upstream
git rebase -m upstream/develop

Ohad

路路路 On Thu, Oct 25, 2012 at 9:21 PM, Telmo X wrote:

Rails.root: /app/copa/foreman

Application Trace | Framework Trace | Full Trace

app/models/environment.rb:38:in `block in importClasses鈥

app/models/environment.rb:38:in `map鈥

app/models/environment.rb:38:in `importClasses鈥

lib/foreman/controller/environments.rb:7:in `import_environments鈥

/app/interpreters/ruby/1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:138:in
`service鈥

/app/interpreters/ruby/1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:94:in
`run鈥

/app/interpreters/ruby/1.9.3/lib/ruby/1.9.1/webrick/server.rb:191:in
`block in start_thread鈥

Request

Parameters:

{鈥減roxy鈥=>鈥2-puppet鈥潁

Light travels faster than sound. This is why some people appear bright
until you hear them speak

On Thu, Oct 25, 2012 at 11:09 AM, Dmitri Dolguikh witlessbird@gmail.comwrote:

That鈥檚 the intention. I had to update some of Foreman鈥檚 dependencies too

  • it鈥檚 going to take some time for the changes to propagate.
    -d

On Thursday, October 25, 2012 4:06:38 PM UTC+1, Telmo wrote:

Any chance of this making it to the master tree? I鈥檝e been running
foreman 1.0 under 1.9.3 for a while now and I haven鈥檛 seen many issues but
merging this changes would be a welcome addition :slight_smile:

Light travels faster than sound. This is why some people appear bright
until you hear them speak


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/UGpqZYCd4dgJ.

To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.

yes, I just figured out that the issue is a migration, I can't rebase
though because I am using Dmitri's clone with the 1.9.3 updates. I'll just
add the migration myself.

Light travels faster than sound. This is why some people appear bright
until you hear them speak

路路路 On Thu, Oct 25, 2012 at 3:31 PM, Ohad Levy wrote:

On Thu, Oct 25, 2012 at 9:21 PM, Telmo X telmox@gmail.com wrote:

just a heads up I am getting an error when trying to import puppet
classes from a smart-proxy. This is a brand new instance of Foreman from
your clone. I am still trying to figure out where the 鈥渇oreman鈥 in the
table name is coming from.

Mysql2::Error in PuppetclassesController#import_environments

Table 鈥榝oreman.environments_puppetclasses鈥 doesn鈥檛 exist

sounds like either

  1. a migration is missing
  2. the branch you ran is old compare to develop

try
git fetch upstream
git rebase -m upstream/develop

Ohad

Rails.root: /app/copa/foreman

Application Trace | Framework Trace | Full Trace

app/models/environment.rb:38:in `block in importClasses鈥

app/models/environment.rb:38:in `map鈥

app/models/environment.rb:38:in `importClasses鈥

lib/foreman/controller/environments.rb:7:in `import_environments鈥

/app/interpreters/ruby/1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:138:in
`service鈥

/app/interpreters/ruby/1.9.3/lib/ruby/1.9.1/webrick/httpserver.rb:94:in
`run鈥

/app/interpreters/ruby/1.9.3/lib/ruby/1.9.1/webrick/server.rb:191:in
`block in start_thread鈥

Request

Parameters:

{鈥減roxy鈥=>鈥2-puppet鈥潁

Light travels faster than sound. This is why some people appear bright
until you hear them speak

On Thu, Oct 25, 2012 at 11:09 AM, Dmitri Dolguikh witlessbird@gmail.comwrote:

That鈥檚 the intention. I had to update some of Foreman鈥檚 dependencies too

  • it鈥檚 going to take some time for the changes to propagate.
    -d