Hi all when I call node.rb host I get below error:
# /etc/puppetlabs/puppet/node.rb test-agent
test-agent: During the fact upload the server responded with: 500 Internal Server Error. Error is ignored and the execution continues.
{
"error": {"message":"Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs."}
}
---
parameters:
foreman_config_groups:
- test-config-group
puppetmaster: ''
foreman_env: production
foreman_hostname: test-agent
foreman_fqdn: test-agent
hostgroup: HG-hostgroup
root_pw:
foreman_subnets: []
foreman_interfaces:
- ip: 100.13.10.23
ip6:
mac: 00:50:56:a6:1e:de
name: test-agent
attrs:
dhcp: ''
mtu: 1500
bindings:
- address: 100.13.10.23
netmask: 255.255.254.0
network: 100.13.10.0
bindings6:
- address: fe80::c4a:ec63:1c8d:b68f
netmask: 'ffff:ffff:ffff:ffff::'
network: 'fe80::'
scope6: link
netmask: 255.255.254.0
network: 10.136.160.0
netmask6: 'ffff:ffff:ffff:ffff::'
network6: 'fe80::'
scope6: link
virtual: false
link: true
identifier: Ethernet0
managed: true
primary: true
provision: true
subnet:
subnet6:
tag:
attached_to:
type: Interface
domainname:
owner_name:
owner_email:
ssh_authorized_keys: []
foreman_users:
bar:
firstname:
lastname:
mail:
description: ''
fullname:
name:
ssh_authorized_keys: []
host_packages: ''
host_registration_insights: false
host_registration_remote_execution: true
classes:
create_machine:
custom_sub:
environment: production
thanks for any suggestion
Foreman and Proxy versions: foreman 3.5.2 , foreman-proxy 3.5.2
Did you by any chance upgrade without running database migrations? Try running foreman-rake db:migrate and then systemctl restart foreman if it performed any migrations.
# /etc/puppetlabs/puppet/node.rb test-agent
test-agent: During the fact upload the server responded with: 500 Internal Server Error. Error is ignored and the execution continues.
{
"error": {"message":"Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs."}
}
---