Environment:
puppet version 3.7.5
foreman version 1.8
I have a foreman server set up with DNS/DHCP/TFTP proxies. I have
successfully provisioned a new host using PXE boot. But now I want to
delete the host. When I go to the hosts tab and select delete next to the
host I get the following error:
Warning!500 Internal Server Error
RestClient::InternalServerError
500 Internal Server Error
lib/proxy_api/resource.rb:67:in get' app/controllers/hosts_controller.rb:112:in
destroy'
app/controllers/concerns/application_shared.rb:13:in set_timezone' app/models/concerns/foreman/thread_session.rb:32:in
clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'
Any help resolving this would be greatly appreciated.
Thanks
Sounds like part of this known bug:
http://projects.theforeman.org/issues/10298
Fixed in 1.8.1, you can try workaround or patch your system fairly easily.
ยทยทยท
On Friday, May 8, 2015 at 8:13:38 AM UTC-5, Tim Desrochers wrote:
>
> Environment:
> puppet version 3.7.5
> foreman version 1.8
>
> I have a foreman server set up with DNS/DHCP/TFTP proxies. I have
> successfully provisioned a new host using PXE boot. But now I want to
> delete the host. When I go to the hosts tab and select delete next to the
> host I get the following error:
>
> Warning!500 Internal Server Error
> *RestClient::InternalServerError*
> *500 Internal Server Error*
> lib/proxy_api/resource.rb:67:in `get'
> app/controllers/hosts_controller.rb:112:in `destroy'
> app/controllers/concerns/application_shared.rb:13:in `set_timezone'
> app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
> lib/middleware/catch_json_parse_errors.rb:9:in `call'
>
>
> Any help resolving this would be greatly appreciated.
>
> Thanks
>
>