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 2158307 - [Azure][RHEL8][ARM64] systemd-detect-virt returns ‘none’
Summary: [Azure][RHEL8][ARM64] systemd-detect-virt returns ‘none’
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: systemd
Version: 8.8
Hardware: aarch64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: David Tardon
QA Contact: Li Tian
URL:
Whiteboard:
Depends On:
Blocks: 2178002
TreeView+ depends on / blocked
 
Reported: 2023-01-05 03:58 UTC by Li Tian
Modified: 2023-05-16 11:12 UTC (History)
9 users (show)

Fixed In Version: systemd-239-71.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2178002 (view as bug list)
Environment:
Last Closed: 2023-05-16 09:07:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github redhat-plumbers systemd-rhel8 pull 351 0 None open Detect ARM64 Hyper-V guests 2023-01-16 14:01:11 UTC
Github systemd systemd pull 20998 0 None Merged virt: Support detection for ARM64 Hyper-V guests 2023-01-05 13:15:09 UTC
Github systemd systemd pull 21475 0 None Merged virt: Fix the detection for Hyper-V VMs 2023-01-05 13:15:09 UTC
Red Hat Issue Tracker RHELPLAN-143985 0 None None None 2023-01-05 03:59:21 UTC
Red Hat Product Errata RHBA-2023:2985 0 None None None 2023-05-16 09:08:18 UTC

Description Li Tian 2023-01-05 03:58:06 UTC
Description of problem:
On Azure RHEL 8.8 ARM64 VM -
# systemd-detect-virt
none

Version-Release number of selected component (if applicable):
4.18.0-447.el8.aarch64

How reproducible:
100%

Steps to Reproduce:
1. # systemd-detect-virt

Actual results:
'none'

Expected results:
'microsoft'

Additional info:
1. In turn, hypervkvpd, hypervvssd, hypervcopyd are not running. Once the ConditionVirtualization is removed, they run fine.
2. No such issue on RHEL9.2 ARM64.

Comment 2 Li Tian 2023-01-20 03:10:50 UTC
Verified.

# systemd-detect-virt
microsoft
# systemd-detect-virt --version
systemd 239 (239-69.el8.bz2158307)
+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=legacy

hypervkvpd is running.

Comment 3 Plumber Bot 2023-01-30 13:20:49 UTC
fix merged to github main branch -> https://github.com/redhat-plumbers/systemd-rhel8/pull/351

Comment 7 Li Tian 2023-02-06 00:21:45 UTC
No regression issues found. Tested on systemd 239 (239-71.el8) + kernel 4.18.0-457.el8.aarch64.

Comment 8 Yuxin Sun 2023-03-02 06:47:02 UTC
Hi David,

This issue blocks the RHEL-8.7 ARM image build in Azure(see BZ#2174454). Can we consider to backport it to 8.7.z? Thanks!

Comment 14 errata-xmlrpc 2023-05-16 09:07:33 UTC
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 (systemd bug fix and enhancement update), 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-2023:2985


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