Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-744

Failed to install qemu-guest-agent package on the first boot after conversion on OpenSuse-Tumbleweed

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-9.1.0
    • virt-v2v
    • Minor
    • sst_virtualization
    • ssg_virtualization
    • False
    • Hide

      None

      Show
      None
    • If docs needed, set a value

      Description of problem:

      As described in bz2028764, qemu-guest-agent failed to install on OpenSUSE Tumbleweed on the first boot after conversion.

      Version-Release number of selected component (if applicable):

      How reproducible:
      100%

      Steps to Reproduce:
      1.Prepare the guest OpenSUSE Tumbleweed on ESX
      2.Convert it via virt-v2v to rhv
      3.Start VM and check the qemu-guest-agent rpm/service

      Actual results:
      No qemu-guest-agent pkg installed

      Expected results:
      qemu-guest-agent pkg is installed successfully

      Additional info:

      The problem is Packagekit blocks zypper. Packagekit will begin to autoupdate when network is connected and It has a big chance of conflicting with zypper operation. So this is not Tumbleweed specific.

      /usr/lib/virt-sysprep/firstboot.sh start
      Scripts dir: /usr/lib/virt-sysprep/scripts
      === Running /usr/lib/virt-sysprep/scripts/5000-0001-wait-online ===
      === Running /usr/lib/virt-sysprep/scripts/5000-0002-setenforce-0 ===
      === Running /usr/lib/virt-sysprep/scripts/5000-0003-install-qga ===
      PackageKit is blocking zypper. This happens if you have an updater applet or other software
      management application using PackageKit running.
      We can ask PackageKit to interrupt the current action as soon as possible, but it depends on
      PackageKit how fast it will respond to this request.
      Ask PackageKit to quit? [yes/no] (no): no
      System management is locked by the application with pid 1509 (/usr/libexec/packagekitd).
      Close this application before trying again.
      === Running /usr/lib/virt-sysprep/scripts/5000-0004-setenforce-restore ===

            virt-maint virt-maint
            vwu@redhat.com vera wu
            virt-maint virt-maint
            virt-bugs virt-bugs
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: