"Name has already been taken" error when importing Puppet classes
I added a new class to common and when importing I get all the classes, even the ones I already have in katello.
This is the trace:
Validation failed: Name has already been taken
app/services/puppet_class_importer.rb:59:in `block in obsolete_and_new'
#5 Updated by Dominic Cleal about 4 years ago
- Status changed from New to Duplicate
Thanks for the report, we're going to track this under ticket #10906. This appears to be an issue with orgs/locs, where the existing environment isn't assigned to the org/loc that you're currently using - add it to the current org/loc and it should be OK, or perhaps try using Any Context.