remote.os.codename returns empty string on debian
I think this is probably a bug / oversight. We realized this because of #12668
#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