Bug 1447553 - docker images says layer does not exist while some images are being removed
Summary: docker images says layer does not exist while some images are being removed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: docker
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-03 07:46 UTC by Jan Pazdziora (Red Hat)
Modified: 2017-11-29 17:09 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-11-29 17:09:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora (Red Hat) 2017-05-03 07:46:37 UTC
Description of problem:

While image comprising of multiple layers (for example freeipa-server which has dozens of them) is being removed by docker rmi freeipa-server in one terminal, docker images run in another terminal says layer does not exist even if there are multitude of other images on the machine.

Version-Release number of selected component (if applicable):

docker-1.12.6-6.gitae7d637.fc25.x86_64

How reproducible:

Not really deterministic but happening often, especially on slow machine.

Steps to Reproduce:
1. git clone https://github.com/freeipa/freeipa-container.git
2. docker build -t freeipa-server freeipa-container
3. in one terminal: docker rmi freeipa-server
4. in another terminal: docker images

Actual results:

# docker images
Error response from daemon: layer does not exist
# docker images
Error response from daemon: layer does not exist

Expected results:

No error, either both images or just the fedora:25 image listed.

Additional info:

Comment 1 Fedora End Of Life 2017-11-16 19:39:26 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Jan Pazdziora (Red Hat) 2017-11-29 15:51:22 UTC
I no longer see the issue with docker-1.13.1-40.git877b6df.fc26.x86_64, primarily because image removal is now much faster.


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