]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Merge pull request #742 from ceph/wip-os-version
authorDan Mick <dan.mick@redhat.com>
Tue, 8 Dec 2015 22:45:46 +0000 (14:45 -0800)
committerDan Mick <dan.mick@redhat.com>
Tue, 8 Dec 2015 22:45:46 +0000 (14:45 -0800)
Remote: only submit X.Y for os_version

Copying comment for future documentation:

The opsys.OS class passes the operating system's version according to
the actual host; in some cases e.g. CentOS is reporting things like
'7.1.1503'. In these cases, let's make
Remote.inventory_info['os_version'] only use the '7.1' - since we don't
care about the rest. This will allow us to continue scheduling against
CentOS smoothly.

Reviewed-by: Dan Mick <dmick@redhat.com>

Trivial merge