Bug 1514465
| Summary: | buildah will not run if contianers created in containers/storage by other tools | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Daniel Walsh <dwalsh> |
| Component: | buildah | Assignee: | Frantisek Kluknavsky <fkluknav> |
| Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.4 | CC: | ddarrah, gouyang, lmiksik |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-01-25 12:56:39 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
Daniel Walsh
2017-11-17 14:14:02 UTC
Fixed in buildah-0.7-1.gitb7e3320.el7 Verified the issue on buildah-0.7-1.gitb7e3320.el7. 1. Reproduce the bug in buildah-0.5-3.gitf7dc659.el7, after delete buildah.json file, buildah not work. # buildah from registry.fedoraproject.org/fedora fedora-working-container # ls /var/lib/containers/storage/overlay-containers/183f4da4486373116cb47d960bc2df95b9fb8056386e9584e28e0f998b9e72d5/userdata/ buildah.json # rm /var/lib/containers/storage/overlay-containers/183f4da4486373116cb47d960bc2df95b9fb8056386e9584e28e0f998b9e72d5/userdata/buildah.json rm: remove regular file ‘/var/lib/containers/storage/overlay-containers/183f4da4486373116cb47d960bc2df95b9fb8056386e9584e28e0f998b9e72d5/userdata/buildah.json’? y # buildah images IMAGE ID IMAGE NAME CREATED AT SIZE 6f45e9bcf5cc registry.fedoraproject.org/fedora:latest Nov 10, 2017 12:15 1.785 KB # buildah containers # buildah from registry.fedoraproject.org/fedora open /var/lib/containers/storage/overlay-containers/183f4da4486373116cb47d960bc2df95b9fb8056386e9584e28e0f998b9e72d5/userdata/buildah.json: no such file or directory 2. Upgrade to buildah-0.7-1.gitb7e3320.el7, it works as usual. # rpm -Uvh buildah-0.7-1.gitb7e3320.el7/buildah-0.7-1.gitb7e3320.el7.x86_64.rpm Preparing... ################################# [100%] Updating / installing... 1:buildah-0.7-1.gitb7e3320.el7 ################################# [ 50%] Cleaning up / removing... 2:buildah-0.5-3.gitf7dc659.el7 ################################# [100%] # buildah from registry.fedoraproject.org/fedora fedora-working-container-3 # ls /var/lib/containers/storage/overlay-containers/ 183f4da4486373116cb47d960bc2df95b9fb8056386e9584e28e0f998b9e72d5 containers.json 5ecb16d8ba0ba8f577f98533c8eeef0bf5b1d268bc6eefcd9592810a889c9234 containers.lock 87cbe4844f701e32e697bbe2230896e54d1a565a3622da82befef2e5babb1b0f # ls /var/lib/containers/storage/overlay-containers/183f4da4486373116cb47d960bc2df95b9fb8056386e9584e28e0f998b9e72d5/userdata/ # ls /var/lib/containers/storage/overlay-containers/5ecb16d8ba0ba8f577f98533c8eeef0bf5b1d268bc6eefcd9592810a889c9234/userdata/ # ls /var/lib/containers/storage/overlay-containers/87cbe4844f701e32e697bbe2230896e54d1a565a3622da82befef2e5babb1b0f/userdata/buildah.json /var/lib/containers/storage/overlay-containers/87cbe4844f701e32e697bbe2230896e54d1a565a3622da82befef2e5babb1b0f/userdata/buildah.json 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-2018:0193 |