[Katello 2.2] Puppet environment "production" not shown in forman and can´t be added

Hi all,

after setting up some host to connect to katello and use it as a repo server I´m trying to configure puppet environments, modules and different configurations for different hosts-groups.

I´ve tried to configure 4 main environments

· Common

· Production

· Test

· Development

But during import from host I receive the following error.

2015-07-16 07:54:45 [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"***********************************", "changed"=>{"new"=>{"production"=>"{"stdlib::stages":{"new":{}},"stdlib":{"new":{}},"ntp":{"new":{"config_template":"${$ntp::params::config_template}","logfile":"${$ntp::params::logfile}","package_ensure":"${$ntp::params::package_ensure}","panic":"${$ntp::params::panic}","servers":"${$ntp::params::servers}","service_manage":"${$ntp::params::service_manage}","stepout":"${$ntp::params::stepout}","minpoll":"${$ntp::params::minpoll}","service_ensure":"${$ntp::params::service_ensure}","config":"${$ntp::params::config}","service_enable":"${$ntp::params::service_enable}","disable_auth":"${$ntp::params::disable_auth}","keys_file":"${$ntp::params::keys_file}","maxpoll":"${$ntp::params::maxpoll}","preferred_servers":"${$ntp::params::preferred_servers}","udlc":"${$ntp::params::udlc}","keys_enable":"${$ntp::params::keys_enable}","package_manage":"${$ntp::params::package_manage}","driftfile":"${$ntp::params::driftfile}","leapfile":"${$ntp::params::leapfile}","peers":"${$ntp::params::peers}","udlc_stratum":"${$ntp::params::udlc_stratum}","autoupdate":"${$ntp::params::autoupdate}","fudge":"${$ntp::params::fudge}","keys_controlkey":"${$ntp::params::keys_controlkey}","keys_requestkey":"${$ntp::params::keys_requestkey}","restrict":"${$ntp::params::restrict}","interfaces":"${$ntp::params::interfaces}","disable_monitor":"${$ntp::params::disable_monitor}","iburst_enable":"${$ntp::params::iburst_enable}","package_name":"${$ntp::params::package_name}","broadcastclient":"${$ntp::params::broadcastclient}","keys_trusted":"${$ntp::params::keys_trusted}","service_name":"${$ntp::params::service_name}","tinker":"${$ntp::params::tinker}"}},"ntp::install":{"new":{}},"ntp::config":{"new":{}},"ntp::service":{"new":{}},"ntp::params":{"new":{}}}"}}, "commit"=>"Update"}

2015-07-16 07:54:45 [W] Operation FAILED: Validation failed: Name has already been taken

2015-07-16 07:54:45 [I] Rendered common/500.html.erb within layouts/application (4.6ms)

2015-07-16 07:54:45 [I] Rendered layouts/base.html.erb (1.6ms)

2015-07-16 07:54:45 [I] Completed 500 Internal Server Error in 55ms (Views: 8.2ms | ActiveRecord: 5.2ms)

My module directory looks like

/etc/puppet/modules

drwxr-xr-x 7 root root 4096 Jul 16 07:51 ntp

drwxr-xr-x 6 root root 4096 Jul 16 07:51 stdlib

and the environment directory like

/etc/puppet/environments

drwxr-xr-x 2 root root 4096 Jul 16 07:47 common

drwxr-xr-x 2 root root 4096 Jul 16 07:47 development

drwxr-xr-x 2 root root 4096 Jul 16 07:47 production

drwxr-xr-x 2 root root 4096 Jul 16 07:47 test

Is there a way to fix this behavior? I´ve already tried to remove the production environment, which cases the issue but it doesn´t solve the problem.