Bug 1654179 - Fedora container base images don't have fedora-release-container installed
Summary: Fedora container base images don't have fedora-release-container installed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: distribution
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clement Verna
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-28 08:03 UTC by Jan Pazdziora
Modified: 2019-04-08 07:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-08 07:50:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2018-11-28 08:03:42 UTC
Description of problem:

Fedora distribution ships package fedora-release-container-29-3.noarch which says:

Summary     : Base package for Fedora container specific default configurations
Description :
Provides a base package for Fedora container specific configuration files to
depend on as well as container system defaults.

However, the container base image does not have this package installed which makes shipping the package not that useful.

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

REPOSITORY                          TAG                 IMAGE ID            CREATED             SIZE
registry.fedoraproject.org/fedora   29                  a5cc8ccd230a        6 weeks ago         297 MB

How reproducible:

Deterministic.

Steps to Reproduce:
1. docker run --rm -ti registry.fedoraproject.org/fedora:29 rpm -qf /usr/lib/os.release.d/os-release-container

Actual results:

error: file /usr/lib/os.release.d/os-release-container: No such file or directory

Expected results:

fedora-release-container-29-3.noarch

Additional info:

Comment 1 Clement Verna 2019-01-03 09:03:40 UTC
I have opened https://pagure.io/fedora-kickstarts/pull-request/469 and https://pagure.io/fedora-kickstarts/pull-request/468 to address this issue, once this PRs are merged I ll release a container base image.

Comment 2 Clement Verna 2019-01-09 10:51:16 UTC
A new container image was released which should fix this issue, could you please confirm it ? 

Thanks

Comment 3 Stephen Tweedie 2019-01-09 11:07:09 UTC
(In reply to Clement Verna from comment #2)
> A new container image was released which should fix this issue, could you
> please confirm it ? 

Sure.  I'm not seeing the images on docker hub yet (latest images for :29, :latest and :rawhide are still from Dec. 18th), is there somewhere else I can find them?

Comment 4 Clement Verna 2019-01-09 11:10:32 UTC
Yes docker hub is always longer to update since the docker staff have to review and merge a pull request (https://github.com/docker-library/official-images/pull/5272) this should be done within a day or so. In the meantime the image is already available in our registry at registry.fedoraproject.org

you can pull the image like so 'podman/docker pull registry.fedoraproject.org/fedora:29'

Comment 5 Stephen Tweedie 2019-01-09 11:55:05 UTC
The f29 image looks good, thanks!

Do you plan to update rawhide to match too, or should we clone a separate BZ for that?

Comment 6 Jan Pazdziora 2019-01-09 14:54:18 UTC
Confirming on
registry.fedoraproject.org/fedora 29      69c5db8b64a7 7 hours ago 275 MB

$ docker run --rm -ti registry.fedoraproject.org/fedora:29 rpm -qf /usr/lib/os.release.d/os-release-container
fedora-release-container-29-7.noarch

However, 
registry.fedoraproject.org/fedora rawhide fcecb29385cc 2 days ago  284 MB
is still missing the package:

$ docker run --rm -ti registry.fedoraproject.org/fedora:rawhide rpm -qf /usr/lib/os.release.d/os-release-container
error: file /usr/lib/os.release.d/os-release-container: No such file or directory

Given that we need it on rawhide as well so that we don't lose it in upcoming versions, would you like this bugzilla back on ASSIGNED, or is rawhide image coming soon and we can leave it ON_QA?

Comment 7 Clement Verna 2019-01-09 15:02:48 UTC
Yes rawhide should have it too but for some reason today's image was not release to our registry. Lets move this back to ASSIGNED for the time being.

Comment 8 Jan Pazdziora 2019-02-13 15:40:14 UTC
Today's registry.fedoraproject.org/fedora:rawhide

registry.fedoraproject.org/fedora rawhide 97001f3d5f94 6 hours ago 302 MB

has the package installed:

# docker run --rm registry.fedoraproject.org/fedora:rawhide rpm -q fedora-release-container
fedora-release-container-30-0.21.noarch


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