[Rdo-list] Foreman web page error

Ajay Kalambur (akalambu) akalambu at cisco.com
Fri Jun 20 21:53:02 UTC 2014


I am doing this with VMs. So its set to the ip address of the Linux bridge
with external network connection
Ajay


On 6/20/14, 13:15, "Mike Orazi" <morazi at redhat.com> wrote:

>What is the value you have set for FOREMAN_GATEWAY?
>
>It should be an IP address, probably of the router on the network that
>you are expecting foreman to be able to provision into.
>
>- Mike
>
>On 06/20/2014 01:27 PM, Ajay Kalambur (akalambu) wrote:
>> Hi
>> Any comments/help on this?
>> Ajay
>> 
>> 
>> From: AJAY KALAMBUR <akalambu at cisco.com <mailto:akalambu at cisco.com>>
>> Date: Thursday, June 19, 2014 at 11:19
>> To: "rdo-list at redhat.com <mailto:rdo-list at redhat.com>"
>> <rdo-list at redhat.com <mailto:rdo-list at redhat.com>>
>> Subject: Foreman web page error
>> 
>> Hi
>> I installed foreman on RHEL 6.5 and ran the foreman_server.sh and set
>> the FOREMAN_GATEWAY and PROVISIONING=true
>> When i launch the web page at https://foremaninstall i see the error
>> below. Any idea what maybe the issue?
>> 
>> 
>> *Web application could not be started*
>> 
>> *Validation failed: Value must be a valid URI
>>(ActiveRecord::RecordInvalid)*
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_re
>>cord/validations.rb:56:in
>> `save!'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_re
>>cord/attribute_methods/dirty.rb:33:in
>> `save!'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_re
>>cord/transactions.rb:246:in
>> `block in save!'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_re
>>cord/transactions.rb:295:in
>> `block in with_transaction_returning_status'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_re
>>cord/connection_adapters/abstract/database_statements.rb:192:in
>> `transaction'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_re
>>cord/transactions.rb:208:in
>> `transaction'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_re
>>cord/transactions.rb:293:in
>> `with_transaction_returning_status'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_re
>>cord/transactions.rb:246:in
>> `save!'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_re
>>cord/validations.rb:41:in
>> `create!'
>>   /usr/share/foreman/app/models/setting.rb:162:in `create!'
>>   /usr/share/foreman/app/models/setting/general.rb:25:in `block (2
>> levels) in load_defaults'
>>   /usr/share/foreman/app/models/setting/general.rb:15:in `each'
>>   /usr/share/foreman/app/models/setting/general.rb:15:in `block in
>> load_defaults'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_re
>>cord/connection_adapters/abstract/database_statements.rb:192:in
>> `transaction'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_re
>>cord/transactions.rb:208:in
>> `transaction'
>>   /usr/share/foreman/app/models/setting/general.rb:13:in `load_defaults'
>>   /usr/share/foreman/config/initializers/foreman.rb:18:in `each'
>>   /usr/share/foreman/config/initializers/foreman.rb:18:in `<top
>>(required)>'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_s
>>upport/dependencies.rb:245:in
>> `load'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_s
>>upport/dependencies.rb:245:in
>> `block in load'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_s
>>upport/dependencies.rb:236:in
>> `load_dependency'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_s
>>upport/dependencies.rb:245:in
>> `load'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.
>>rb:588:in
>> `block (2 levels) in <class:Engine>'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.
>>rb:587:in
>> `each'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.
>>rb:587:in
>> `block in <class:Engine>'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/initial
>>izable.rb:30:in
>> `instance_exec'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/initial
>>izable.rb:30:in
>> `run'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/initial
>>izable.rb:55:in
>> `block in run_initializers'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/initial
>>izable.rb:54:in
>> `each'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/initial
>>izable.rb:54:in
>> `run_initializers'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/applica
>>tion.rb:136:in
>> `initialize!'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie
>>/configurable.rb:30:in
>> `method_missing'
>>   /usr/share/foreman/config/environment.rb:5:in `<top (required)>'
>>  
>> /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in
>> `require'
>>  
>> /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in
>> `require'
>>   config.ru:3:in `block in <main>'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:5
>>1:in
>> `instance_eval'
>>  
>> 
>>/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:5
>>1:in
>> `initialize'
>>   config.ru:1:in `new'
>>   config.ru:1:in `<main>'
>>  
>> 
>>/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloade
>>r.rb:105:in
>> `eval'
>>  
>> 
>>/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloade
>>r.rb:105:in
>> `preload_app'
>>  
>> 
>>/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloade
>>r.rb:150:in
>> `<module:App>'
>>  
>> 
>>/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloade
>>r.rb:29:in
>> `<module:PhusionPassenger>'
>>  
>> 
>>/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/helper-scripts/rack-preloade
>>r.rb:28:in
>> `<main>'
>> 
>> 
>> 
>> _______________________________________________
>> Rdo-list mailing list
>> Rdo-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/rdo-list
>> 
>





More information about the dev mailing list