Bug #37638
openDuplicate operating system - c.p.p.ShellUtils 500 error
Description
Hi team,
I'm getting a strange error on my newly installed Puppet master + Foreman server.
Versions:
Foreman: 6.3.0
puppetserver version: 7.17.1
Error:
2024-07-09T19:28:37.520Z WARN [qtp1432302460-5350] [c.p.p.ShellUtils] Executed an external process which logged to STDERR: host1.ec2.internal: During the fact upload the server responded with: 500 Internal Server Error. Error is ignored and the execution continues.
{
"error": {"message":"Validation failed: Name Operating system version already exists, Description has already been taken, Title has already been taken"}
}
Description:
I created 5 VMs and registered to my puppet server. Those VMs are not loading operating system in the All Hosts UI. I modified the default Ubuntu 22.04 LTS operating system with another name and description and ran puppet on my first slave host. The OS information showed OK, but now i still got Duplicate issue on my other 4 slave hosts, and will have with all of the other VMs i will migrate.
The issue seems to be when registering 2 hosts with the same OS. Something that of course will happen a lot an shouldnt cause any issue.
This makes my hosts unmanageable as i have conditionals basd on the OS.
Would really appreciate a hand with this.
Cheers