Project

General

Profile

Actions

Bug #4525

closed

Trying to create various objects (Puppet Environments, Smart Proies) causes database error

Added by Mike McCune about 11 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

In Foretello mode do the following:

1) Login
2) Select ACME_Corporation as your org context
3) Configure -> Environments
4) Create new Puppet Environment

Note error in logs:

Completed 200 OK in 51ms (Views: 25.9ms | ActiveRecord: 4.2ms)
Processing by EnvironmentsController#create as */*
Parameters: {"utf8"=>"✓", "search"=>"", "authenticity_token"=>"y6A9TQu8/slbBVyvesGqmLOJkH2iB8wy5ZaGeVAasBo=", "environment"=>{"name"=>"fffffffff", "location_ids"=>[""], "organization_ids"=>[""]}}
Operation FAILED: ERROR: duplicate key value violates unique constraint "environments_pkey"
Actions

Also available in: Atom PDF