Bug 1230915
| Summary: | hammer container list does not show the id | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Elyézer Rezende <erezende> |
| Component: | Container Management | Assignee: | Partha Aji <paji> |
| Status: | CLOSED ERRATA | QA Contact: | Og Maciel <omaciel> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | bbuckingham, bkearney, dherrman, mmccune, omaciel, tkolhar |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/12020 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-12-15 09:18:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Elyézer Rezende
2015-06-11 18:45:35 UTC
This can block a CLI user because not having the ID it the user can start facing: hammer> docker container info --name busybox-cv Error: container found more than once But was created only one container and without the id is not possible to get the information about the container and no other operation will be possible to do, like power down: hammer> docker container stop --name busybox-cv Error: container found more than once I high recommend to add this for 6.1.1 Created redmine issue http://projects.theforeman.org/issues/12020 from this bug Verified on Satellite 6.1.5 Compose 2 on RHEL 7.2 system.
[root@qe-sat6-rhel7 ~]# hammer -u admin -p changeme docker container list
---|-------------------------------|------------------|--------|-----------|---------------------------------------
ID | NAME | IMAGE REPOSITORY | TAG | COMMAND | COMPUTE RESOURCE
---|-------------------------------|------------------|--------|-----------|---------------------------------------
1 | I5u7wEt4ah5LBjFgXLetFNnBkHSxX | busybox | latest | top | 5Ywdcq
2 | qCBxK4QazGqsJh4QIv | busybox | latest | top | 烣攈篂溍燉烄鲝鄲辧軝歧蜀鮚詔絙濓怵戾杵
3 | tsNKULniSEkMEV | busybox | latest | top | SqMNWJjmrQ
4 | AcLcaRDGH | busybox | latest | top | peqgIzgrUM
5 | 4lgF0MlorOKZb773IwnLnyNSc98 | busybox | latest | top | SqMNWJjmrQ
6 | lRaAOQPGSi5sPbTXxOtT5tiYUlaN5 | busybox | latest | top | peqgIzgrUM
7 | 9Cm | busybox | latest | date | SqMNWJjmrQ
8 | Fd6gL3D | busybox | latest | date | peqgIzgrUM
11 | GksvYOzTkr | busybox | latest | top | 88Nyhhvu
12 | 1ZI4TedQPF | busybox | latest | top | Gr5fTp9k
13 | Vbtfz1Bp6c | busybox | latest | top | hEaZumDI
14 | MCcMcAFFkB | busybox | latest | top | x5Qzlcxp
17 | rhel-70-docker-01 | rhel7.0 | latest | /bin/bash | docker
18 | rhel-70-docker-02 | rhel7.0 | latest | /bin/bash | docker
---|-------------------------------|------------------|--------|-----------|---------------------------------------
[root@qe-sat6-rhel7 ~]# hammer -u admin -p changeme docker container info --id=17
ID: 17
Name: rhel-70-docker-01
Image repository: rhel7.0
Tag: latest
Command: /bin/bash
Compute resource: docker
UUID: 4a356240b705841f2e49487255fb47ad682d7699b1871900604fb731de3ba532
Entrypoint:
CPU set: 0-2
CPU shares:
Memory (Bytes): 512m
TTY: yes
Attach STDIN: yes
Attach STDOUT: yes
Attach STDERR: yes
Registry: Red Hat Registry
Organizations:
Default Organization
Created at: 2015/11/30 14:21:16
Updated at: 2015/11/30 14:21:16
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:2622 |