Project

General

Profile

Actions

Bug #18141

closed

platform.linux_distribution() is deprecated; stop using it

Added by Nathan Cutler over 7 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

platform.linux_distribution() is deprecated, so we should stop using it.

(For example, it uses /etc/SuSE-release on SUSE systems, and the latest SUSE versions do not ship this file.)

Given that we already have OS.from_os_release() in teuthology, it seems to me that we could simply rip out the code that uses platform.linux_distribution().

Actions

Also available in: Atom PDF