Whamcloud - gitweb
LU-13969 - Updates to lustre-release yaml.sh 52/39952/5 master
authorLee Ochoa <lochoa@whamcloud.com>
Wed, 16 Sep 2020 21:02:33 +0000 (15:02 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 25 Sep 2020 03:13:24 +0000 (03:13 +0000)
commitf90199b104984da5f2157e39a286d433b725ed57
treef12a66e7535d7dadd0a477a9351551004f4b974f
parentb00f4d80bf278a103724ab7552a6b77d01c380a0
LU-13969 - Updates to lustre-release yaml.sh

Updated output of release() function to standarize node.yml file
os_distribution parameter. Changes as follows:

RHEL   - use redhat-release first and os-release as backup as the latter may
         not include the full version (major/minor)
CENTOS - use centos-release first and os-release as backup, same as RHEL
SUSE   - use os-release instead of suse-release as the latter is deprecated
UBUNTU - use os-release

Removed parsing system-release and *-release as neither
option correctly outputs desired info

Removed "lustre_" references in node.yml file attributes, the default in Maloo
is to look for non-lustre prefixes first

Change-Id: Ia011f944aae53f31fcd3a539e846ea5aba7ec7c4
Signed-off-by: Lee Ochoa <lochoa@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/39952
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/yaml.sh