Description of problem: The "com.redhat.component" label uses a "-docker" suffix. We need to change this to "-container". -LABEL com.redhat.component="rhceph-rhel7-docker" +LABEL com.redhat.component="rhceph-rhel7-container" Version-Release number of selected component (if applicable): rhceph-rhel7-docker-3-6 How reproducible: always Steps to Reproduce: 1. docker pull registry.access.redhat.com/rhceph/rhceph-3-rhel7 2. docker inspect registry.access.redhat.com/rhceph/rhceph-3-rhel7:latest | jq .[].Config.Labels 3. Check the "com.redhat.component" key Actual results: The rhceph image's label com.redhat.component label says: "com.redhat.component": "rhceph-rhel7-docker", Expected results: The rhceph image's label com.redhat.component label says: "com.redhat.component": "rhceph-rhel7-container", Additional info: Note that in order to preserve upgrades from the GA container image, we need the "release" label to be "7" (or higher). Ordinarily OSBS will dynamically increment the "release" label to the proper value (see https://github.com/projectatomic/atomic-reactor/blob/master/atomic_reactor/plugins/pre_bump_release.py) When the component name changes like this, OSBS will not know that the last release was "6" in order to bump it to "7". We must hardcode "release" for our first rhceph-rhel7-container build. The code change would be: # Atomic specific labels ADD install.sh /install.sh LABEL version=3 +LABEL release=7 LABEL run="/usr/bin/docker run -d --net=host --pid=host -e MON_NAME=\${MON_NAME} -e MON_IP=\${MON_IP} -e CEPH_PUBLIC_NETWORK=\${CEPH_PUBLIC_NETWORK} -e CEPH_DAEMON=\${CEPH_DAEMON} -v /etc/ceph:/etc/ceph -v /var/lib/ceph:/var/lib/ceph \${IMAGE}" ... and then we can revert this after the first (non-scratch) build is done.
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-2018:1564