Hey,
after setting up foreman-discovery and upgrading the underlying system, we
are experiencing problems with unattended installation
The installation proceeds until the installer tries to download a file from
foreman and an "500 Internal Server Error" occurs.
The failing wget-command is located in the template "Preseed default":
d-i preseed/late_command string wget <%= foreman_url('finish') %> -O
> /target/tmp/finish.sh && in-target chmod +x /tmp/finish.sh && in-target
> /tmp/finish.sh
Here are some related log entries:
/var/log/apache2/server.local.cloud_access.log
172.16.0.16 - - [04/Mar/2014:12:47:13 +0100] "GET
> /unattended/provision?token=dc9ee388-4f63-4465-b664-60e13cf338a7 HTTP/1.1"
> 200 3039 "-" "Wget"
> 172.16.0.16 - - [04/Mar/2014:12:58:54 +0100] "GET
> /unattended/finish?token=dc9ee388-4f63-4465-b664-60e13cf338a7 HTTP/1.1" 500
> 114 "-" "Wget"
/var/log/foreman/production.log
Started GET
> "/unattended/provision?token=dc9ee388-4f63-4465-b664-60e13cf338a7" for
> 172.16.0.16 at Tue Mar 04 12:47:13 +0100 2014
> Processing by UnattendedController#provision as HTML
> Parameters: {"token"=>"dc9ee388-4f63-4465-b664-60e13cf338a7"}
> Found mule.local.cloud
> Remove puppet certificate for mule.local.cloud
> Adding autosign entry for mule.local.cloud
> Rendered inline template (290.4ms)
> Completed 200 OK in 1784.6ms (Views: 285.1ms | ActiveRecord: 23.7ms)
> Connecting to database specified by database.yml
> Fog is not installed - unable to manage compute resources
> ENCRYPTION_KEY is not defined, so encryption is turned off for
> ComputeResource.
> Fog is not installed - unable to manage compute resources
> Fog is not installed - unable to manage compute resources
> Fog is not installed - unable to manage compute resources
> Started GET
> "/unattended/finish?token=dc9ee388-4f63-4465-b664-60e13cf338a7" for
> 172.16.0.16 at Tue Mar 04 12:59:05 +0100 2014
> Processing by UnattendedController#finish as HTML
> Parameters: {"token"=>"dc9ee388-4f63-4465-b664-60e13cf338a7"}
> Found mule.local.cloud
> Rendered inline template (65.4ms)
> Rendered text template (0.0ms)
> Completed 500 Internal Server Error in 790.7ms (Views: 1.8ms |
> ActiveRecord: 6.8ms)
/var/log/foreman-proxy/proxy.log
I, [2014-03-04T12:47:15.298086 #1427] INFO – : Attempt to remove
> nonexistant client certificate for mule.local.cloud
> E, [2014-03-04T12:47:15.298466 #1427] ERROR – : Attempt to remove
> nonexistant client certificate for mule.local.cloud
> I, [2014-03-04T12:47:15.393448 #1427] INFO – : Added mule.local.cloud to
> autosign
Does someone have an idea what is wrong?
Thanks,
Fredi
I am seeing this error too…
···
On Tuesday, March 4, 2014 9:16:07 AM UTC-5, Jan-Frederic Markert wrote:
>
> Hey,
>
> after setting up foreman-discovery and upgrading the underlying system, we
> are experiencing problems with unattended installation
> The installation proceeds until the installer tries to download a file
> from foreman and an "500 Internal Server Error" occurs.
>
> The failing wget-command is located in the template "Preseed default":
>
> d-i preseed/late_command string wget <%= foreman_url('finish') %> -O
>> /target/tmp/finish.sh && in-target chmod +x /tmp/finish.sh && in-target
>> /tmp/finish.sh
>
>
> Here are some related log entries:
>
> /var/log/apache2/server.local.cloud_access.log
>
> 172.16.0.16 - - [04/Mar/2014:12:47:13 +0100] "GET
>> /unattended/provision?token=dc9ee388-4f63-4465-b664-60e13cf338a7 HTTP/1.1"
>> 200 3039 "-" "Wget"
>> 172.16.0.16 - - [04/Mar/2014:12:58:54 +0100] "GET
>> /unattended/finish?token=dc9ee388-4f63-4465-b664-60e13cf338a7 HTTP/1.1" 500
>> 114 "-" "Wget"
>
>
>
> /var/log/foreman/production.log
>
> Started GET
>> "/unattended/provision?token=dc9ee388-4f63-4465-b664-60e13cf338a7" for
>> 172.16.0.16 at Tue Mar 04 12:47:13 +0100 2014
>> Processing by UnattendedController#provision as HTML
>> Parameters: {"token"=>"dc9ee388-4f63-4465-b664-60e13cf338a7"}
>> Found mule.local.cloud
>> Remove puppet certificate for mule.local.cloud
>> Adding autosign entry for mule.local.cloud
>> Rendered inline template (290.4ms)
>> Completed 200 OK in 1784.6ms (Views: 285.1ms | ActiveRecord: 23.7ms)
>> Connecting to database specified by database.yml
>> Fog is not installed - unable to manage compute resources
>> ENCRYPTION_KEY is not defined, so encryption is turned off for
>> ComputeResource.
>> Fog is not installed - unable to manage compute resources
>> Fog is not installed - unable to manage compute resources
>> Fog is not installed - unable to manage compute resources
>> Started GET
>> "/unattended/finish?token=dc9ee388-4f63-4465-b664-60e13cf338a7" for
>> 172.16.0.16 at Tue Mar 04 12:59:05 +0100 2014
>> Processing by UnattendedController#finish as HTML
>> Parameters: {"token"=>"dc9ee388-4f63-4465-b664-60e13cf338a7"}
>> Found mule.local.cloud
>> Rendered inline template (65.4ms)
>> Rendered text template (0.0ms)
>> Completed 500 Internal Server Error in 790.7ms (Views: 1.8ms |
>> ActiveRecord: 6.8ms)
>
>
>
> /var/log/foreman-proxy/proxy.log
>
> I, [2014-03-04T12:47:15.298086 #1427] INFO -- : Attempt to remove
>> nonexistant client certificate for mule.local.cloud
>> E, [2014-03-04T12:47:15.298466 #1427] ERROR -- : Attempt to remove
>> nonexistant client certificate for mule.local.cloud
>> I, [2014-03-04T12:47:15.393448 #1427] INFO -- : Added mule.local.cloud
>> to autosign
>
>
> Does someone have an idea what is wrong?
>
> Thanks,
> Fredi
>
Try previewing the finish template from the host page, under the
Templates tab.
···
--
Dominic Cleal
Red Hat Engineering
On 16/10/14 19:13, Jeff Applewhite wrote:
I am seeing this error too…
On Tuesday, March 4, 2014 9:16:07 AM UTC-5, Jan-Frederic Markert wrote:
Hey,
after setting up foreman-discovery and upgrading the underlying
system, we are experiencing problems with unattended installation
The installation proceeds until the installer tries to download a
file from foreman and an "500 Internal Server Error" occurs.
The failing wget-command is located in the template "Preseed default":
d-i preseed/late_command string wget <%= foreman_url('finish')
%> -O /target/tmp/finish.sh && in-target chmod +x /tmp/finish.sh
&& in-target /tmp/finish.sh
Here are some related log entries:
/var/log/apache2/server.local.cloud_access.log
172.16.0.16 - - [04/Mar/2014:12:47:13 +0100] "GET
/unattended/provision?token=dc9ee388-4f63-4465-b664-60e13cf338a7
HTTP/1.1" 200 3039 "-" "Wget"
172.16.0.16 - - [04/Mar/2014:12:58:54 +0100] "GET
/unattended/finish?token=dc9ee388-4f63-4465-b664-60e13cf338a7
HTTP/1.1" 500 114 "-" "Wget"
/var/log/foreman/production.log
Started GET
"/unattended/provision?token=dc9ee388-4f63-4465-b664-60e13cf338a7"
for 172.16.0.16 at Tue Mar 04 12:47:13 +0100 2014
Processing by UnattendedController#provision as HTML
Parameters: {"token"=>"dc9ee388-4f63-4465-b664-60e13cf338a7"}
Found mule.local.cloud
Remove puppet certificate for mule.local.cloud
Adding autosign entry for mule.local.cloud
Rendered inline template (290.4ms)
Completed 200 OK in 1784.6ms (Views: 285.1ms | ActiveRecord: 23.7ms)
Connecting to database specified by database.yml
Fog is not installed - unable to manage compute resources
ENCRYPTION_KEY is not defined, so encryption is turned off for
ComputeResource.
Fog is not installed - unable to manage compute resources
Fog is not installed - unable to manage compute resources
Fog is not installed - unable to manage compute resources
Started GET
"/unattended/finish?token=dc9ee388-4f63-4465-b664-60e13cf338a7"
for 172.16.0.16 at Tue Mar 04 12:59:05 +0100 2014
Processing by UnattendedController#finish as HTML
Parameters: {"token"=>"dc9ee388-4f63-4465-b664-60e13cf338a7"}
Found mule.local.cloud
Rendered inline template (65.4ms)
Rendered text template (0.0ms)
Completed 500 Internal Server Error in 790.7ms (Views: 1.8ms |
ActiveRecord: 6.8ms)
/var/log/foreman-proxy/proxy.log
I, [2014-03-04T12:47:15.298086 #1427] INFO -- : Attempt to
remove nonexistant client certificate for mule.local.cloud
E, [2014-03-04T12:47:15.298466 #1427] ERROR -- : Attempt to
remove nonexistant client certificate for mule.local.cloud
I, [2014-03-04T12:47:15.393448 #1427] INFO -- : Added
mule.local.cloud to autosign
Does someone have an idea what is wrong?
Thanks,
Fredi
–
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 too getting same error messages,
previewing showing and error as
We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.
Please help
Daniel
···
On Tuesday, 21 October 2014 08:34:59 UTC+1, Dominic Cleal wrote:
>
> Try previewing the finish template from the host page, under the
> Templates tab.
>
> --
> Dominic Cleal
> Red Hat Engineering
>
> On 16/10/14 19:13, Jeff Applewhite wrote:
> > I am seeing this error too...
> >
> > On Tuesday, March 4, 2014 9:16:07 AM UTC-5, Jan-Frederic Markert wrote:
> >
> > Hey,
> >
> > after setting up foreman-discovery and upgrading the underlying
> > system, we are experiencing problems with unattended installation
> > The installation proceeds until the installer tries to download a
> > file from foreman and an "500 Internal Server Error" occurs.
> >
> > The failing wget-command is located in the template "Preseed
> default":
> >
> > d-i preseed/late_command string wget <%= foreman_url('finish')
> > %> -O /target/tmp/finish.sh && in-target chmod +x /tmp/finish.sh
> > && in-target /tmp/finish.sh
> >
> >
> > Here are some related log entries:
> >
> > /var/log/apache2/server.local.cloud_access.log
> >
> > 172.16.0.16 - - [04/Mar/2014:12:47:13 +0100] "GET
> > /unattended/provision?token=dc9ee388-4f63-4465-b664-60e13cf338a7
> > HTTP/1.1" 200 3039 "-" "Wget"
> > 172.16.0.16 - - [04/Mar/2014:12:58:54 +0100] "GET
> > /unattended/finish?token=dc9ee388-4f63-4465-b664-60e13cf338a7
> > HTTP/1.1" 500 114 "-" "Wget"
> >
> >
> >
> > /var/log/foreman/production.log
> >
> > Started GET
> >
> "/unattended/provision?token=dc9ee388-4f63-4465-b664-60e13cf338a7"
> > for 172.16.0.16 at Tue Mar 04 12:47:13 +0100 2014
> > Processing by UnattendedController#provision as HTML
> > Parameters: {"token"=>"dc9ee388-4f63-4465-b664-60e13cf338a7"}
> > Found mule.local.cloud
> > Remove puppet certificate for mule.local.cloud
> > Adding autosign entry for mule.local.cloud
> > Rendered inline template (290.4ms)
> > Completed 200 OK in 1784.6ms (Views: 285.1ms | ActiveRecord:
> 23.7ms)
> > Connecting to database specified by database.yml
> > Fog is not installed - unable to manage compute resources
> > ENCRYPTION_KEY is not defined, so encryption is turned off for
> > ComputeResource.
> > Fog is not installed - unable to manage compute resources
> > Fog is not installed - unable to manage compute resources
> > Fog is not installed - unable to manage compute resources
> > Started GET
> > "/unattended/finish?token=dc9ee388-4f63-4465-b664-60e13cf338a7"
> > for 172.16.0.16 at Tue Mar 04 12:59:05 +0100 2014
> > Processing by UnattendedController#finish as HTML
> > Parameters: {"token"=>"dc9ee388-4f63-4465-b664-60e13cf338a7"}
> > Found mule.local.cloud
> > Rendered inline template (65.4ms)
> > Rendered text template (0.0ms)
> > Completed 500 Internal Server Error in 790.7ms (Views: 1.8ms |
> > ActiveRecord: 6.8ms)
> >
> >
> >
> > /var/log/foreman-proxy/proxy.log
> >
> > I, [2014-03-04T12:47:15.298086 #1427] INFO -- : Attempt to
> > remove nonexistant client certificate for mule.local.cloud
> > E, [2014-03-04T12:47:15.298466 #1427] ERROR -- : Attempt to
> > remove nonexistant client certificate for mule.local.cloud
> > I, [2014-03-04T12:47:15.393448 #1427] INFO -- : Added
> > mule.local.cloud to autosign
> >
> >
> > Does someone have an idea what is wrong?
> >
> > Thanks,
> > Fredi
> >
> > --
> > 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-user...@googlegroups.com
> > <mailto:foreman-users+unsubscribe@googlegroups.com >.
> > To post to this group, send email to forema...@googlegroups.com
>
> > <mailto:forema...@googlegroups.com >.
> > Visit this group at http://groups.google.com/group/foreman-users.
> > For more options, visit https://groups.google.com/d/optout.
>
>