Project

General

Profile

Bug #12669

remote.os.codename returns empty string on debian

Added by Andrew Schoen about 4 years ago. Updated about 4 years ago.

Status:
Need Review
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
08/11/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature:

Description

I think this is probably a bug / oversight. We realized this because of #12668

History

#1 Updated by Dan Mick about 4 years ago

  • Assignee set to Andrew Schoen

#2 Updated by Andrew Schoen about 4 years ago

  • Status changed from New to In Progress

#3 Updated by Andrew Schoen about 4 years ago

teuthology.orchestra.opsys seems to be preferring the python method of finding out about the node instead of lsb_release. Python doesn't know about debian codenames, but lsb_release does. We'll need to make an exception in this codepath for debian to use lsb_release instead.

ubuntu@vpm059:~$ python -c 'import platform; print platform.linux_distribution()'
('debian', '7.1', '')
ubuntu@vpm059:~$ sudo lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.1 (wheezy)
Release:        7.1
Codename:       wheezy

#4 Updated by Andrew Schoen about 4 years ago

  • Status changed from In Progress to Need Review

Also available in: Atom PDF