Jira (FACT-3115) virt-what-1.22-1 changes virtual=kvm to virtual=redhat

29 views
Skip to first unread message

Steve Traylen (Jira)

unread,
Apr 22, 2022, 4:03:01 AM4/22/22
to puppe...@googlegroups.com
Steve Traylen created an issue
 
Facter / Bug FACT-3115
virt-what-1.22-1 changes virtual=kvm to virtual=redhat
Issue Type: Bug Bug
Affects Versions: FACT 4.2.5
Assignee: Unassigned
Components: Facter 4
Created: 2022/04/22 1:02 AM
Priority: Normal Normal
Reporter: Steve Traylen

The package

virt-what-1.22-1.el9.x86_64

just landed in CentOS 9 . This upgrade changes virt-what's output from

# virt-what 
kvm

to

# virt-what
redhat
kvm

and now

# facter virtual
redhat

The change in virt-what looks to be intentional:

https://bugzilla.redhat.com/show_bug.cgi?id=2074476

http://git.annexia.org/?p=virt-what.git;a=commitdiff;h=b64df398779db07d008781c96685878795bcfd67

My feeling is that given kvm is still in the output the fact should still be reported as kvm for this case and the redhat label be ignored.

(Just to add virt-what is no longer in the AIO package at all)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Steve Traylen (Jira)

unread,
Apr 22, 2022, 9:00:04 AM4/22/22
to puppe...@googlegroups.com

Steve Traylen (Jira)

unread,
Apr 22, 2022, 9:01:04 AM4/22/22
to puppe...@googlegroups.com
Steve Traylen commented on Bug FACT-3115
 
Re: virt-what-1.22-1 changes virtual=kvm to virtual=redhat

Adding virt-what backto puppet-agent would of course help here -
https://tickets.puppetlabs.com/browse/PA-4423
which is probably why that ticket has jumped into some action.

Anyone looking for quick stop gap, a custom fact to override this particular case virtual.rblink_attachment_7.gif

Nacho Barrientos (Jira)

unread,
Apr 25, 2022, 4:05:02 AM4/25/22
to puppe...@googlegroups.com

This is also affecting CentOS Stream 8 now.

I've contributed a patch: https://github.com/puppetlabs/facter/pull/2485

Nirupama Mantha (Jira)

unread,
Apr 26, 2022, 4:45:02 PM4/26/22
to puppe...@googlegroups.com

Nirupama Mantha (Jira)

unread,
Apr 26, 2022, 4:46:02 PM4/26/22
to puppe...@googlegroups.com

Michael Hashizume (Jira)

unread,
Apr 26, 2022, 4:46:03 PM4/26/22
to puppe...@googlegroups.com

Michael Hashizume (Jira)

unread,
Apr 27, 2022, 11:13:01 AM4/27/22
to puppe...@googlegroups.com
Michael Hashizume updated an issue
Change By: Michael Hashizume
Sprint: Phoenix 2022-05-11
Team: Phoenix

Michael Hashizume (Jira)

unread,
Apr 27, 2022, 11:13:03 AM4/27/22
to puppe...@googlegroups.com

Michael Hashizume (Jira)

unread,
May 2, 2022, 2:26:03 PM5/2/22
to puppe...@googlegroups.com

Michael Hashizume (Jira)

unread,
May 10, 2022, 12:19:01 PM5/10/22
to puppe...@googlegroups.com
Michael Hashizume commented on Bug FACT-3115
 
Re: virt-what-1.22-1 changes virtual=kvm to virtual=redhat

Merged and passing CI in 034fbc0e50e10287b1ed3a1e1d5f1ed5f63d65a4.

Thank you again for your contribution nbarrientos !

Michael Hashizume (Jira)

unread,
May 10, 2022, 12:40:02 PM5/10/22
to puppe...@googlegroups.com
Michael Hashizume updated an issue

Fix contributed by GitHub user nbarrientos

Parker Leach (Jira)

unread,
May 24, 2022, 11:05:03 PM5/24/22
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages