Project

General

Profile

Actions

Bug #12669

open

remote.os.codename returns empty string on debian

Added by Andrew Schoen over 8 years ago. Updated over 8 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
-
% Done:

0%

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

Description

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

Actions #1

Updated by Dan Mick over 8 years ago

  • Assignee set to Andrew Schoen
Actions #2

Updated by Andrew Schoen over 8 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Andrew Schoen over 8 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
Actions #4

Updated by Andrew Schoen over 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions

Also available in: Atom PDF