Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
atomic images list can't display virtual size of images for ostree storage backend.
Version-Release number of selected component (if applicable):
[root@atomic-host-test cloud-user]# cat /etc/redhat-release
Red Hat Enterprise Linux Atomic Host release 7.3
[root@atomic-host-test cloud-user]# atomic host status
State: idle
Deployments:
● rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard
Version: 7.3.5 (2017-05-18 19:08:58)
Commit: d049e353c4e4ba00866b2176b48ba247a8f6e050a729c3853b5d5afe323c0450
[root@atomic-host-test cloud-user]# rpm -q atomic skopeo docker
atomic-1.17.2-4.git2760e30.el7.x86_64
skopeo-0.1.19-1.el7.x86_64
docker-1.12.6-28.git1398f24.el7.x86_64
How reproducible:
always
Steps to Reproduce:
1. atomic pull --storage ostree busybox
2. atomic images list
Actual results:
[root@atomic-host-test cloud-user]# atomic pull --storage ostree busybox
Pulling layer 1cae461a1479c5a24dd38bd5f377ce65f531399a7db8c3ece891ac2197173f1d
[root@atomic-host-test cloud-user]# atomic --debug images list
Namespace(_class=<class 'Atomic.images.Images'>, all=False, assumeyes=False, debug=True, filter=None, func='display_all_image_info', heading=True, ignore=False, json=False, profile=False, quiet=False, truncate=True)
Backends(docker: Active, ostree: Active, )
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE TYPE
registry.access.stage.redhat.com/rhel7/cockpit-ws 138-2 aa7cb82717fe 2017-05-19 12:17 209.76 MB docker busybox latest c79345819a68 2017-05-24 00:33 ostree
Expected results:
Additional info:
Comment 3Giuseppe Scrivano
2017-05-25 13:56:55 UTC
this is going to be addressed once we move to using Skopeo to pull the images stored in OSTREE.
I think we can sum up the size of each layer that is part of the image.
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/RHBA-2017:2609
Description of problem: atomic images list can't display virtual size of images for ostree storage backend. Version-Release number of selected component (if applicable): [root@atomic-host-test cloud-user]# cat /etc/redhat-release Red Hat Enterprise Linux Atomic Host release 7.3 [root@atomic-host-test cloud-user]# atomic host status State: idle Deployments: ● rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard Version: 7.3.5 (2017-05-18 19:08:58) Commit: d049e353c4e4ba00866b2176b48ba247a8f6e050a729c3853b5d5afe323c0450 [root@atomic-host-test cloud-user]# rpm -q atomic skopeo docker atomic-1.17.2-4.git2760e30.el7.x86_64 skopeo-0.1.19-1.el7.x86_64 docker-1.12.6-28.git1398f24.el7.x86_64 How reproducible: always Steps to Reproduce: 1. atomic pull --storage ostree busybox 2. atomic images list Actual results: [root@atomic-host-test cloud-user]# atomic pull --storage ostree busybox Pulling layer 1cae461a1479c5a24dd38bd5f377ce65f531399a7db8c3ece891ac2197173f1d [root@atomic-host-test cloud-user]# atomic --debug images list Namespace(_class=<class 'Atomic.images.Images'>, all=False, assumeyes=False, debug=True, filter=None, func='display_all_image_info', heading=True, ignore=False, json=False, profile=False, quiet=False, truncate=True) Backends(docker: Active, ostree: Active, ) REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE TYPE registry.access.stage.redhat.com/rhel7/cockpit-ws 138-2 aa7cb82717fe 2017-05-19 12:17 209.76 MB docker busybox latest c79345819a68 2017-05-24 00:33 ostree Expected results: Additional info: