Bug 1094372 - Images fedora:rawhide and fedora:20 are the same
Summary: Images fedora:rawhide and fedora:20 are the same
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: docker-io
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lokesh Mandvekar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-05 14:19 UTC by Jan Pazdziora (Red Hat)
Modified: 2014-07-01 23:00 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-02 10:54:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora (Red Hat) 2014-05-05 14:19:58 UTC
Description of problem:

It seems something is wrong with docker indes (https://index.docker.io/_/fedora/?) because the fedora:rawhide seems to have fedora:20 content.

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

# rpm -q docker-io
docker-io-0.9.1-1.fc20.x86_64
and state of whatever is used as default docker index

How reproducible:

Deterministic.

Steps to Reproduce:
1. # docker run fedora:rawhide cat /etc/fedora-release

Actual results:

# docker run fedora:rawhide cat /etc/fedora-release
Unable to find image 'fedora:rawhide' locally
Pulling repository fedora
b7de3133ff98: Download complete 
511136ea3c5a: Download complete 
ef52fb1fe610: Download complete 
Fedora release 20 (Heisenbug)

Expected results:

Some different id than b7de3133ff98 and something differen than Fedora release 20 (Heisenbug).

Additional info:

This is what I get about fedora:20:

# docker run fedora:20 cat /etc/fedora-release
Unable to find image 'fedora:20' locally
Pulling repository fedora
b7de3133ff98: Download complete 
511136ea3c5a: Download complete 
ef52fb1fe610: Download complete 
Fedora release 20 (Heisenbug)
# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
fedora              20                  b7de3133ff98        10 days ago         372.7 MB
fedora              rawhide             b7de3133ff98        10 days ago         372.7 MB
#

Comment 1 Jan Pazdziora (Red Hat) 2014-05-06 09:39:25 UTC
I see the same behaviour (b7de3133ff98 used for both Fedora 20 and rawhide) on rawhide as well but that is expected:

# rpm -q docker-io
docker-io-0.10.0-4.fc21.x86_64

Comment 2 Lokesh Mandvekar 2014-05-06 18:32:08 UTC
whoops ... let me fix that ..apologies

Comment 3 Lokesh Mandvekar 2014-05-06 18:43:41 UTC
hmm, not quite sure what's up here, this: https://github.com/lsm5/docker-brew-fedora/blob/rawhide/container-rawhide-medium.ks seems to use the rawhide repo, ..i'll look further.

Comment 4 Lokesh Mandvekar 2014-05-06 19:44:15 UTC
i just updated the image lsm5/fedora:rawhide, could you try it and let me know how it looks? i'll have default fedora updated if all's well

Comment 5 Jan Pazdziora (Red Hat) 2014-05-07 11:44:21 UTC
It looks much more like rawhide, thank you:

# docker run -ti lsm5/fedora:rawhide /bin/bash
Unable to find image 'lsm5/fedora:rawhide' locally
Pulling repository lsm5/fedora
02ee2941d7b5: Download complete 
bash-4.3# cat /etc/fedora-release
Fedora release 21 (Rawhide)
bash-4.3# rpm -q bash
bash-4.3.11-1.fc21.x86_64
bash-4.3#

Comment 6 Lokesh Mandvekar 2014-05-07 14:52:38 UTC
cool ..i'll send the docker guys an update ..it should land in the official image soon

Comment 7 Lokesh Mandvekar 2014-05-07 14:53:17 UTC
(In reply to Lokesh Mandvekar from comment #6)
> cool ..i'll send the docker guys an update ..it should land in the official
> image soon

correction, *semi*-official image :)

Comment 9 Jan Pazdziora (Red Hat) 2014-05-13 14:40:50 UTC
Something got updated (see 5cc9e91966f7 vs the original b7de3133ff98) but it's still not rawhide:

# date
Tue May 13 10:38:26 EDT 2014
# docker run fedora:rawhide cat /etc/fedora-release
Unable to find image 'fedora:rawhide' locally
Pulling repository fedora
5cc9e91966f7: Download complete 
511136ea3c5a: Download complete 
ef52fb1fe610: Download complete 
Fedora release 20 (Heisenbug)
#

Comment 10 Jan Pazdziora (Red Hat) 2014-05-27 11:21:49 UTC
(In reply to Jan Pazdziora from comment #9)
> Something got updated (see 5cc9e91966f7 vs the original b7de3133ff98) but
> it's still not rawhide:
> 
> # date
> Tue May 13 10:38:26 EDT 2014
> # docker run fedora:rawhide cat /etc/fedora-release
> Unable to find image 'fedora:rawhide' locally
> Pulling repository fedora
> 5cc9e91966f7: Download complete 
> 511136ea3c5a: Download complete 
> ef52fb1fe610: Download complete 
> Fedora release 20 (Heisenbug)
> #

Any chance of getting this fixed? I still get the same result as of today.

Comment 11 Lokesh Mandvekar 2014-05-27 11:28:21 UTC
(In reply to Jan Pazdziora from comment #10)
 
> Any chance of getting this fixed? I still get the same result as of today.


Could you try lsm5/fedora:rawhide and let me know what you see in there? It's likely something I need to sort out with docker folks

Comment 12 Jan Pazdziora (Red Hat) 2014-05-27 11:46:09 UTC
The lsm5/fedora:rawhide works:

# date
Tue May 27 07:45:39 EDT 2014
# docker run -ti lsm5/fedora:rawhide cat /etc/fedora-release 
Unable to find image 'lsm5/fedora:rawhide' locally
Pulling repository lsm5/fedora
02ee2941d7b5: Download complete 
Fedora release 21 (Rawhide)

Comment 13 Lokesh Mandvekar 2014-05-28 21:06:13 UTC
fedora:rawhide has been fixed.

$ docker run -i -t fedora:rawhide cat /etc/fedora-release
Fedora release 21 (Rawhide)

Comment 14 Jan Pazdziora (Red Hat) 2014-05-29 10:06:28 UTC
I'm sorry but on a fresh Fedora 20 installation, with docker-io-0.11.1-3.fc20.x86_64 freshly installed and started, I get

# docker run -i -t fedora:rawhide cat /etc/fedora-release
Unable to find image 'fedora:rawhide' locally
Pulling repository fedora
0242f083b5d6: Download complete 
511136ea3c5a: Download complete 
db0d8ad810e6: Download complete 
Fedora release 20 (Heisenbug)
#

Comment 15 Jan Pazdziora (Red Hat) 2014-06-02 10:54:16 UTC
Today, things look much better:

# docker run -i -t fedora:rawhide cat /etc/fedora-release
Unable to find image 'fedora:rawhide' locally
Pulling repository fedora
7a269f6b492c: Download complete 
511136ea3c5a: Download complete 
8c982ec5ea99: Download complete 
Fedora release 21 (Rawhide)
# rpm -q docker-io
docker-io-0.11.1-1.fc20.x86_64
# date
Mon Jun  2 06:53:38 EDT 2014
#


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