Project

General

Profile

Actions

Bug #9901

closed

Provisioning the same container name twice from the CLI in foreman just gives "500 Internal Server Error"

Added by Partha Aji almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1204298
Would be nice to show an error like "Container name already taken".

hammer -u admin -p changeme docker container create --name hello --command bash \

--repository-name busybox --tag latest --compute-resource DockerCP
Docker Container Created

hammer -u admin -p changeme docker container create --name hello --command bash \

--repository-name busybox --tag latest --compute-resource DockerCP
Could not create the container:
Error: 500 Internal Server Error
Actions #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 68
  • Pull request https://github.com/theforeman/foreman-docker/pull/105 added
  • Pull request deleted ()
Actions #2

Updated by Eric Helms almost 9 years ago

  • Project changed from Katello to Docker
  • Category deleted (83)
  • Target version deleted (68)
Actions #3

Updated by David Davis almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF