Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1634806

Summary: ERRO[0003] HOSTNAME is not supported for OCI Image format, hostname eafd6efbf5f6 will be ignored. Must use `docker` format
Product: [Fedora] Fedora Reporter: Brian Lane <bcl>
Component: podmanAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: bbaude, dwalsh, lsm5, mheon, rbarlow
Target Milestone: ---   
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-12-11 17:04:09 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 Brian Lane 2018-10-01 16:43:52 UTC
Description of problem:
Sometimes I get the error message in the subject. Most of the time I don't.

Running:

sudo podman build -t welder/lorax-composer:7.6 --layers -f Dockerfile.test  .

with:

podman-0.9.1-3.gitaba58d1.fc28.x86_64

It then reruns all of the Dockerfile, installing rpms, etc.

Running the same command again doesn't show the error, and works as expected, using the saved layers. But then after some number of repeated runs, or time, I get the error again.

Let me know if there are other logs I could dig up that would help.

The Dockerfile.test is this one:

https://github.com/weldr/lorax/blob/rhel7-extras/Dockerfile.test

Comment 1 Brent Baude 2018-10-29 15:00:51 UTC
Can you make sure you still see it with 0.10 versions?  The error is basically benign and is a factor of the what image type you are targeting. I'm wondering if in between runs the FROM image is by chance different?

Comment 2 Brian Lane 2018-10-29 16:41:57 UTC
The FROM image was probably not different, this would happen in the span of several minutes, several times a day.

I'm now using:
podman-0.10.1-1.gite4a1553

And with dozens of runs last week I didn't see this problem anymore so it may be fixed.

I *do* still see it rerun the whole thing sometimes, even when there have been no changes to the Dockerfile.

Comment 3 Fedora Update System 2018-12-07 01:47:41 UTC
podman-0.12.1-1.git7ba215f.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-db3d63cd94

Comment 4 Fedora Update System 2018-12-07 01:47:51 UTC
podman-0.12.1-1.git7ba215f.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-46a85fa5a7

Comment 5 Fedora Update System 2018-12-07 20:16:49 UTC
podman-0.12.1.1-1.git66d3499.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-17c32cf05c

Comment 6 Fedora Update System 2018-12-07 20:17:04 UTC
podman-0.12.1.1-1.git66d3499.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e8e19475eb

Comment 7 Randy Barlow 2018-12-11 17:04:09 UTC
A Fedora update associated with this bug has been pushed to the stable repository.

Comment 8 Randy Barlow 2018-12-14 20:41:19 UTC
A Fedora update associated with this bug has been pushed to the stable repository.