Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-11158

Unable to run virt-customize on RHOSO18

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • test-operator
    • None
    • 4
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Important

      Due to recent changes in the tobiko tcib image, the guestfs-tools version has been updated to 1.52.

      In this new version, support to run passt has been added:
      https://libguestfs.org/guestfs-release-notes-1.52.1.html

      Optionally passt(1) may be used for networking (Laszlo Ersek).

       

      With this change, tobiko fails to execute the following command:

      sh-5.1$ LIBGUESTFS_DEBUG=1 LIBGUESTFS_BACKEND=direct virt-customize -a /tmp/image --install wget
      ...
      libguestfs: command: run: passt
      libguestfs: command: run: \ --one-off
      libguestfs: command: run: \ --socket /tmp/libguestfspfG46E/passt.sock
      libguestfs: command: run: \ --pid /tmp/libguestfspfG46E/passt1.pid
      libguestfs: command: run: \ --address 169.254.2.15
      libguestfs: command: run: \ --netmask 16
      libguestfs: command: run: \ --mac-addr 52:56:00:00:00:02
      libguestfs: command: run: \ --gateway 169.254.2.2
      UNIX domain socket bound at /tmp/libguestfspfG46E/passt.sock
      Couldn't create user namespace: Function not implemented
      virt-customize: error: libguestfs error: passt exited with status 1
      If reporting bugs, run virt-customize with debugging enabled and include 
      the complete output:
        virt-customize -v -x [...]
      

       

      This fails when executing tobiko on RHOSO18 using the test-operator, which uses the tobiko tcib image.

       

      This affects the unibeta job:
      https://sf.hosted.upshift.rdu2.redhat.com/logs/openstack-uni-jobs-periodic-integration-rhoso18.0-rhel9/gitlab.cee.redhat.com/ci-framework/ci-framework-jobs/main/uni02beta-rhel9-rhoso18.0/fc104c4/logs/controller-0/ci-framework-data/tests/test_operator/tobiko-tests-create-resources-workflow-step-1/tobiko_results_scenario.html?sort=testId

       

      DoD:

      • Test-operator does not use RuntimeDefault SeccompProfile when privileged: true
      • The change is properly documented (releasenotes or documentation)

              lpiwowar Lukáš Piwowarski
              eolivare Eduardo Olivares Toledo
              rhos-tempest
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: