Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1689862

Summary: [RHEL 7.6] podman build produces ERRO[0000] HOSTNAME is not supported for OCI image format, hostname 1d561c58fd2b will be ignored. Must use `docker` format
Product: Red Hat Enterprise Linux 7 Reporter: Victor Hernando <vhernand>
Component: podmanAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: low Docs Contact:
Priority: low    
Version: 7.6CC: dornelas, dwalsh, jligon, lsm5, mheon, oarribas, umohnani, ypu
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: podman-1.3.0-1.git139afa7.el7_6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-04 19:10:26 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:
Bug Depends On:    
Bug Blocks: 1186913, 1668273, 1688343    

Description Victor Hernando 2019-03-18 10:14:09 UTC
Description of problem:
Please consider a backporting of the following bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1661592

The same issue is present on RHEL 7.6 with the following podman version:


# podman version
Version:       0.12.1.2
Go Version:    go1.10.3
OS/Arch:       linux/amd64

Comment 3 Daniel Walsh 2019-03-18 12:46:12 UTC
Podman 1.0 or later will be in the next release.

Comment 4 Daniel Walsh 2019-03-18 12:47:58 UTC
Fixed in podman-1.1.2-2.git0ad9b6b.el7

Comment 5 Victor Hernando 2019-03-18 14:04:12 UTC
Hi Daniel

So, I assume that this version of podman where the issue is already fixed will be shipped with RHEL 7.7, right?
If yes, that will work for me.

Thanks in advance

Comment 6 Daniel Walsh 2019-03-18 15:35:31 UTC
Yes, then or sooner.

Comment 8 Joy Pu 2019-04-12 09:58:33 UTC
Test with podman-1.2.0-3.git3bd528e.el7.x86_64
# podman build .
STEP 1: FROM registry.access.redhat.com/rhel7
Getting image source signatures
Copying blob 76608b6b9d54 done
Copying blob 3c81a5d20855 done
Copying config 6979ec3059 done
Writing manifest to image destination
Storing signatures
STEP 2: RUN date
Fri Apr 12 09:57:29 UTC 2019
--> 11a135a2c3fb18cf4fe2ce0677ccfd7a13b8d289b151822e4bca8f38b9e3a266
STEP 3: COMMIT 
--> 11a135a2c3fb18cf4fe2ce0677ccfd7a13b8d289b151822e4bca8f38b9e3a266

So set this to verified.

Comment 11 Joy Pu 2019-05-24 10:25:29 UTC
Test with podman-1.3.1-1.git7210727.el7.x86_64. The message is not shows up again. So set this to verified, details:
# podman build --no-cache -t test.hostname -f Dockerfile.hostname .
STEP 1: FROM registry.access.redhat.com/rhel7
STEP 2: RUN date
Fri May 24 10:24:33 UTC 2019
STEP 3: COMMIT test.hostname
--> 6553a960c7659e179f2a03621c04780f1dbe03d96305105f3ed8259ea4c45ce9

Comment 13 errata-xmlrpc 2019-06-04 19:10:26 UTC
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-2019:1355