Jira (FACT-2921) LinuxMint Tessa not recognized, destroys services

0 vue
Accéder directement au premier message non lu

Hanno Steinke (Jira)

non lue,
15 janv. 2021, 10:34:0415/01/2021
à puppe...@googlegroups.com
Hanno Steinke created an issue
 
Facter / Bug FACT-2921
LinuxMint Tessa not recognized, destroys services
Issue Type: Bug Bug
Affects Versions: FACT 4.0.47
Assignee: Unassigned
Components: Facter 4
Created: 2021/01/15 7:33 AM
Environment:

root@bravo:~# cat /etc/os-release
NAME="Linux Mint"
VERSION="19.1 (Tessa)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.1"
VERSION_ID="19.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tessa
UBUNTU_CODENAME=bionic

 

root@bravo:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa

 

Priority: Normal Normal
Reporter: Hanno Steinke

After upgrading puppet to puppet 7 on LinuxMint 19.1 Tessa, all services deployed by Puppet were broken because they have been considered as upstart instead of systemd.

Downgrading to puppet 6 corrected the issue. I did not completely understand the logic, but it seems to be caused by these different facter outputs:

{{
root@bravo:~# facter --version
4.0.47
root@bravo:~# facter os
{
architecture => "amd64",
distro => {
codename => "tessa",
description => "Linux Mint 19.1",
id => "Linuxmint",
release =>

{ full => "19.1", major => "19.1" }


},
family => "Ubuntu",
hardware => "x86_64",
name => "Linux",
release =>

{ full => "19.1", major => "19.1" }

,
selinux =>

{ enabled => false }
}

root@bravo:~# facter --version
3.14.14 (commit e36657bea27254f003c8fc71d8ef57454db643e2)
root@bravo:~# facter os
{
architecture => "amd64",
distro => {
codename => "tessa",
description => "Linux Mint 19.1 Tessa",
id => "LinuxMint",
release => { full => "19.1", major => "19", minor => "1" }
},
family => "Debian",
hardware => "x86_64",
name => "LinuxMint",
release => { full => "19", major => "19" },
selinux => { enabled => false }

}
}}

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Hanno Steinke (Jira)

non lue,
15 janv. 2021, 10:43:0515/01/2021
à puppe...@googlegroups.com
Hanno Steinke commented on Bug FACT-2921
 
Re: LinuxMint Tessa not recognized, destroys services

To help clarify this, here are the OS details:

root@bravo:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa

root@bravo:~# cat /etc/debian_version
buster/sid


root@bravo:~# cat /etc/os-release
NAME="Linux Mint"
VERSION="19.1 (Tessa)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.1"
VERSION_ID="19.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tessa
UBUNTU_CODENAME=bionic

Hanno Steinke (Jira)

non lue,
15 janv. 2021, 10:44:0315/01/2021
à puppe...@googlegroups.com
Hanno Steinke updated an issue
 
Change By: Hanno Steinke
Environment:
root@bravo:~# cat /etc/os-release
NAME="
Linux Mint "
VERSION="
19.1 ( Tessa
)"

ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.1"
VERSION_ID="19.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tessa
UBUNTU_CODENAME=bionic

 

root@bravo:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa

 

Mihai Buzgau (Jira)

non lue,
19 janv. 2021, 10:58:0319/01/2021
à puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2021-02-03

Mihai Buzgau (Jira)

non lue,
19 janv. 2021, 10:59:0319/01/2021
à puppe...@googlegroups.com

Mihai Buzgau (Jira)

non lue,
20 janv. 2021, 04:46:0420/01/2021
à puppe...@googlegroups.com

Oana Tanasoiu (Jira)

non lue,
20 janv. 2021, 08:58:0320/01/2021
à puppe...@googlegroups.com

Oana Tanasoiu (Jira)

non lue,
28 janv. 2021, 13:20:0428/01/2021
à puppe...@googlegroups.com
Oana Tanasoiu commented on Bug FACT-2921
 
Re: LinuxMint Tessa not recognized, destroys services

Hi Hanno Steinke,

 

The problem you reported seems to be fixed with the latest Facter. Could you verify if the problem still persists with the latest release?

I also saw that the os.release fact is reported differently than Facter 3 and i opened a PR to fix that.

Josh Cooper (Jira)

non lue,
28 janv. 2021, 18:00:0428/01/2021
à puppe...@googlegroups.com
Josh Cooper updated an issue
 
Change By: Josh Cooper
Fix Version/s: FACT 4.0.50

Hanno Steinke (Jira)

non lue,
29 janv. 2021, 10:22:0429/01/2021
à puppe...@googlegroups.com
Hanno Steinke commented on Bug FACT-2921
 
Re: LinuxMint Tessa not recognized, destroys services

thank you Oana Tanasoiu! upgraded to puppet 7.3.0 and facter 4.0.49 and everything is normal again

{{root@charly:~# facter --version
4.0.49
root@charly:~# facter os


{
architecture => "amd64",
distro => {
codename => "tessa",
description => "Linux Mint 19.1",
id => "Linuxmint",
release =>

{ full => "19.1", major => "19.1" }

},


family => "Debian",
hardware => "x86_64",

name => "Linux",
release =>

{ full => "19.1", major => "19.1" }

,
selinux =>

{ enabled => false }

}
}}

Oana Tanasoiu (Jira)

non lue,
3 févr. 2021, 04:19:0303/02/2021
à puppe...@googlegroups.com
Oana Tanasoiu updated an issue
 
Change By: Oana Tanasoiu
Release Notes: Bug Fix
Release Notes Summary: Description of the problem: Os.release fact is retrieved from the /etc/os-release file but Facter 3 reads other release files based on OS.

Description of the fix: Retrieve os.release from the specific release file for every os. (LinuxMint, Devuan, Meego, Sled, Gentoo, Alpine, Photon, Slackware, Mageia, Openwrt, OracleLinux, Oracle Enterprise Linux)

Claire Cadman (Jira)

non lue,
5 févr. 2021, 04:26:0305/02/2021
à puppe...@googlegroups.com
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message