Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-4151

Fixing warning in buildah clustertask with entitlement

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      As part of https://issues.redhat.com/browse/SRVKP-3217 we updated buildah clustertask to support rhel entitlement

      After doing that, we see some warning in buildah clustertask before `RUN` commands and other steps also

      [buildah : build-and-push] time="2024-02-14T18:05:26Z" level=warning msg="pkg/bind: error detaching \"/var/tmp/buildah2415478503/mnt/buildah-bind-target-11\": permission denied"
      [buildah : build-and-push] time="2024-02-14T18:05:26Z" level=warning msg="pkg/bind: error removing \"/var/tmp/buildah2415478503/mnt/buildah-bind-target-11\": device or resource busy"
      [buildah : build-and-push] time="2024-02-14T18:05:26Z" level=warning msg="pkg/bind: error removing \"/var/tmp/buildah2415478503/mnt\": directory not empty"
      [buildah : build-and-push] STEP 7/9: RUN yum install -y openshift-clients.x86_64
      
      [buildah : build-and-push] time="2024-02-14T18:05:31Z" level=warning msg="pkg/bind: error detaching \"/var/tmp/buildah3421258526/mnt/buildah-bind-target-11\": permission denied"
      [buildah : build-and-push] time="2024-02-14T18:05:31Z" level=warning msg="pkg/bind: error removing \"/var/tmp/buildah3421258526/mnt/buildah-bind-target-11\": device or resource busy"
      [buildah : build-and-push] time="2024-02-14T18:05:31Z" level=warning msg="pkg/bind: error removing \"/var/tmp/buildah3421258526/mnt\": directory not empty"
      [buildah : build-and-push] STEP 9/9: CMD ["bash", "-c", "dnf search kernel-devel --showduplicates | tail -n2"] 

      This story is to fix the clustertask to get rid of these warnings.

      Attachments

        Activity

          People

            sashture Savita .
            piyushgarg001 Piyush Garg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: