Actions
Bug #14519
closeddeleting a container using hammer silently fails without error
Difficulty:
Triaged:
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1324211
Description of problem:
deleting a container in hammer is successful but the container is not actually removed from external docker compute resource
Version-Release number of selected component (if applicable):
Satellite-6.2-beta-snap6.1
How reproducible:
Always
1. Create an external docker compute resource
2. Create a docker container using the external docker computer resource
3. delete the docker container using hammer
- hammer
u admin -p changeme docker container list|--------------|----------------------------------------------------------------|--------|---------|-----------------
--
ID | NAME | IMAGE REPOSITORY | TAG | COMMAND | COMPUTE RESOURCE
---|--------------|----------------------------------------------------------------|--------|---------|-----------------
5 | container_02 | default_organization-dev1-docker_cv-dockerproduct1-dockerrepo1 | latest | top | docker_cr
---|--------------|----------------------------------------------------------------|--------|---------|-----------------
- hammer -u admin -p changeme docker container delete --name container_02
Docker container deleted
- hammer
u admin -p changeme docker container list|------|------------------|-----|---------|-----------------
--
ID | NAME | IMAGE REPOSITORY | TAG | COMMAND | COMPUTE RESOURCE
---|------|------------------|-----|---------|-----------------
Hammer delete was successful as shown above. But
- Container is still shown as running in Satellite UI
- Container is still running in the external docker compute resource
Expected results:
Container should be removed from Satellite UI too.
Container should be removed in external docker compute resource too.
Additional info:
Updated by The Foreman Bot about 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-docker/pull/154 added
Updated by Daniel Lobato Garcia about 9 years ago
- Has duplicate Bug #14039: Containers can't be deleted via API or hammer added
Updated by Daniel Lobato Garcia about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman-docker|bbb77219ca1650d4bbb304ef431a5e4622853c3f.
Actions