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.
Bug 1438911 - runc list error out if any containers running in docker
Summary: runc list error out if any containers running in docker
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: runc
Version: 7.3
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-04 18:29 UTC by Qian Cai
Modified: 2020-07-20 08:13 UTC (History)
2 users (show)

Fixed In Version: runc-1.0.0-6.gite800860.el7_3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1447078 (view as bug list)
Environment:
Last Closed: 2017-04-12 14:50:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0941 0 normal SHIPPED_LIVE runc bug fix and enhancement update 2017-04-12 18:31:49 UTC

Description Qian Cai 2017-04-04 18:29:32 UTC
Description of problem:
If one or more container is running in docker, "runc list" will error out.

# docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
d63aec29d663        e4b79d4d89ab        "sleep 6000"        12 minutes ago      Up About a minute

# runc list
load container d63aec29d663d436c95b50f242b14714b95a05d28798853ece4f25c6643a9f70: json: cannot unmarshal number -1 into Go value of type uint64

This is likely due to the runc rebase in 7.3.4 where 'runc list' try to read data in /run/runc/, but the state.json file used by the docker's old runc version (docker-runc-current) is not compatible for the new version's runc any more.

Version-Release number of selected component (if applicable):
runc-1.0.0-5.git75f8da7.el7.x86_64
atomic-host-7.3.4

How reproducible:
always

Steps to Reproduce:
1. start a container in docker.
2. runc list

Comment 6 errata-xmlrpc 2017-04-12 14:50:10 UTC
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:0941


Note You need to log in before you can comment on or make changes to this bug.