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 2059495 - libguestfs-test-tool fails with "missing 'nvram-template' in '/usr/share/qemu/firmware/50-edk2-ovmf-amdsev.json'" error
Summary: libguestfs-test-tool fails with "missing 'nvram-template' in '/usr/share/qemu...
Keywords:
Status: CLOSED DUPLICATE of bug 2057769
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libguestfs
Version: 9.0
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: YongkuiGuo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-01 08:01 UTC by YongkuiGuo
Modified: 2022-03-01 12:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-01 12:18:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-114094 0 None None None 2022-03-01 08:04:10 UTC

Description YongkuiGuo 2022-03-01 08:01:04 UTC
Description of problem:
The libguestfs-test-tool command fails with the below error:
libguestfs: error: could not get libvirt domain capabilities: internal error: missing 'nvram-template' in '/usr/share/qemu/firmware/50-edk2-ovmf-amdsev.json' [code=1 int1=-1]


Version-Release number of selected component (if applicable):
libguestfs-1.46.1-2.el9.x86_64
kernel-5.14.0-69.el9.x86_64
libvirt-daemon-8.0.0-5.el9.x86_64
qemu-kvm-core-6.2.0-10.el9.x86_64


How reproducible:
100%


Steps:

1. On rhel9 host with RHEL-9.0.0-20220227.3 compose
# libguestfs-test-tool
PATH=/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SELinux: Enforcing
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: libvirt
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_hv: /usr/libexec/qemu-kvm
guestfs_get_memsize: 1280
guestfs_get_network: 0
guestfs_get_path: /usr/lib64/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_recovery_proc: 1
guestfs_get_smp: 1
guestfs_get_sockdir: /tmp
guestfs_get_tmpdir: /tmp
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: launch: program=libguestfs-test-tool
libguestfs: launch: version=1.46.1rhel=9,release=2.el9,libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: unix
libguestfs: launch: backend=libvirt
libguestfs: launch: tmpdir=/tmp/libguestfsb9YBWD
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: libvirt version = 8000000 (8.0.0)
libguestfs: guest random name = guestfs-fjntvzzibx5kwfly
libguestfs: connect to libvirt
libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0
libguestfs: successfully opened libvirt handle: conn = 0x5563f2ce7030
libguestfs: qemu version (reported by libvirt) = 6002000 (6.2.0)
libguestfs: get libvirt capabilities
libguestfs: parsing capabilities XML
libguestfs: error: could not get libvirt domain capabilities: internal error: missing 'nvram-template' in '/usr/share/qemu/firmware/50-edk2-ovmf-amdsev.json' [code=1 int1=-1]
libguestfs: closing guestfs handle 0x5563f2ce5720 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsb9YBWD

Actual results:
As above

Expected results:
libguestfs-test-tool can be executed successfully.

Additional info:

Comment 1 YongkuiGuo 2022-03-01 09:21:06 UTC
This issue is caused by edk2-ovmf-20220126gitbb1bba3d77-3.el9.noarch. There is no problem with previous version 'edk2-ovmf-20220126gitbb1bba3d77-2.el9.noarch'.

Comment 2 Richard W.M. Jones 2022-03-01 12:18:33 UTC

*** This bug has been marked as a duplicate of bug 2057769 ***


Note You need to log in before you can comment on or make changes to this bug.