Jira (FACT-3075) Windows 2022 is detected as Windows 2019

28 views
Skip to first unread message

Kevin Reeuwijk (Jira)

unread,
Sep 22, 2021, 8:45:03 AM9/22/21
to puppe...@googlegroups.com
Kevin Reeuwijk created an issue
 
Facter / Bug FACT-3075
Windows 2022 is detected as Windows 2019
Issue Type: Bug Bug
Affects Versions: FACT 4.2.5, FACT 3.14.20
Assignee: Unassigned
Components: Facter 3, Facter 4
Created: 2021/09/22 5:44 AM
Environment:

PE 2021.3.0 server

Windows 2022 Datacenter node

Priority: Normal Normal
Reporter: Kevin Reeuwijk

As a Windows-oriented Puppet user, I want Facter to correctly report the os, operatingsystemmajrelease and operatingsystemrelease fact for a Windows 2022 node.

On both Facter 3.x and 4.x, the os, operatingsystemmajrelease and operatingsystemrelease facts incorrectly report version 2019 for a node running Windows 2022. This prevents our customers from accurately targeting code to nodes.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Kevin Reeuwijk (Jira)

unread,
Sep 22, 2021, 8:46:02 AM9/22/21
to puppe...@googlegroups.com
Kevin Reeuwijk updated an issue
Change By: Kevin Reeuwijk
Attachment: Screenshot 2021-09-22 at 14.38.22.png

Kevin Reeuwijk (Jira)

unread,
Sep 22, 2021, 8:46:03 AM9/22/21
to puppe...@googlegroups.com
Kevin Reeuwijk updated an issue
Change By: Kevin Reeuwijk
Attachment: Screenshot 2021-09-22 at 14.37.47.png

Kevin Reeuwijk (Jira)

unread,
Sep 22, 2021, 8:46:03 AM9/22/21
to puppe...@googlegroups.com
Kevin Reeuwijk assigned an issue to Ciprian Badescu
Change By: Kevin Reeuwijk
Assignee: Ciprian Badescu

Kevin Reeuwijk (Jira)

unread,
Sep 22, 2021, 8:47:02 AM9/22/21
to puppe...@googlegroups.com
Kevin Reeuwijk updated an issue
Change By: Kevin Reeuwijk
Attachment: Screenshot 2021-09-22 at 14.38.22.png

Luchian Nemes (Jira)

unread,
Sep 23, 2021, 11:14:02 AM9/23/21
to puppe...@googlegroups.com
Luchian Nemes updated an issue
Change By: Luchian Nemes
Attachment: windows-2022.png

Luchian Nemes (Jira)

unread,
Sep 23, 2021, 11:16:02 AM9/23/21
to puppe...@googlegroups.com
Luchian Nemes updated an issue
Change By: Luchian Nemes
Attachment: windows-2019.png

Luchian Nemes (Jira)

unread,
Sep 23, 2021, 11:19:02 AM9/23/21
to puppe...@googlegroups.com
Luchian Nemes commented on Bug FACT-3075
 
Re: Windows 2022 is detected as Windows 2019

Tested this and got the following output:
WIndows 2019 output:

Windows 2022 output:

This confirms the behaviour described in the ticket.

Workaround suggestion:

Until Windows 2022 is fully supported, to classify nodes via partial match in os.windows.product_name (which seems to be showing correct information).

Ciprian Badescu (Jira)

unread,
Sep 27, 2021, 9:45:02 AM9/27/21
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
 
Change By: Ciprian Badescu
Sprint: NW - 2021-10-06

Ciprian Badescu (Jira)

unread,
Sep 28, 2021, 3:48:03 AM9/28/21
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
Change By: Ciprian Badescu
Team: Night's Watch

Gabriel Nagy (Jira)

unread,
Sep 28, 2021, 6:09:03 AM9/28/21
to puppe...@googlegroups.com
Gabriel Nagy assigned an issue to Luchian Nemes
Change By: Gabriel Nagy
Assignee: Ciprian Badescu Luchian Nemes

Gabriel Nagy (Jira)

unread,
Sep 28, 2021, 6:10:02 AM9/28/21
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
Change By: Gabriel Nagy
Affects Version/s: FACT 3.14.20
Affects Version/s: FACT 4.2.5

Gabriel Nagy (Jira)

unread,
Sep 28, 2021, 6:10:02 AM9/28/21
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
Change By: Gabriel Nagy
Fix Version/s: FACT 3.14.20
Fix Version/s: FACT 4.2.5

Luchian Nemes (Jira)

unread,
Sep 30, 2021, 4:46:03 AM9/30/21
to puppe...@googlegroups.com

Luchian Nemes (Jira)

unread,
Oct 1, 2021, 4:22:01 AM10/1/21
to puppe...@googlegroups.com
Luchian Nemes updated an issue
Change By: Luchian Nemes
Release Notes: Bug Fix
Release Notes Summary: This fix allows the `os.release.full` and `os.release.major` to correctly detect Windows 2022 and output `2022` instead of `2019` as before.

Claire Cadman (Jira)

unread,
Oct 5, 2021, 8:25:02 AM10/5/21
to puppe...@googlegroups.com
Claire Cadman updated an issue
Change By: Claire Cadman
Labels: doc-reviewed

Austin Boyd (Jira)

unread,
Oct 14, 2021, 1:44:01 PM10/14/21
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Labels: doc-reviewed jira_escalated

Austin Boyd (Jira)

unread,
Oct 14, 2021, 1:45:03 PM10/14/21
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Zendesk Ticket Count: 1
Zendesk Ticket IDs: 46147

Alvin Rodis (Jira)

unread,
Jun 26, 2022, 8:40:03 PM6/26/22
to puppe...@googlegroups.com
Alvin Rodis updated an issue
Change By: Alvin Rodis
Zendesk Ticket Count: 1 2
Zendesk Ticket IDs: 46147 ,48765
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages