Closed WilliamMcCumstie closed 5 years ago
The genders forge package should patch nodeattr to so the genders file can be set with GENDERS_FILE. The issue appears to predate the transition to flight-direct as demonstrated with the 1.22.0+clusterware0 version of genders forge package.
nodeattr
GENDERS_FILE
1.22.0+clusterware0
[root@localhost(unconfigured) ~]# fl fo in genders/1.22.0+clusterware0 Downloading metadata ... Done Found package: alces/genders version 1.22.0+clusterware0 Resolving dependencies ... Done Downloading alces/genders/1.22.0+clusterware0 ... Done Extracting alces/genders/1.22.0+clusterware0 ... Done Installing alces/genders/1.22.0+clusterware0 ... Done Cleaning up ... Done [root@localhost(unconfigured) ~]# /opt/flight-direct/opt/genders/bin/nodeattr --expand nodeattr: /opt/clusterware/etc/genders: error opening genders file [root@localhost(unconfigured) ~]# export GENDERS_FILE=/tmp/missing [root@localhost(unconfigured) ~]# /opt/flight-direct/opt/genders/bin/nodeattr --expand nodeattr: /opt/clusterware/etc/genders: error opening genders file
The patch should be applied in: https://github.com/alces-software/forge-packages/blob/f7a1b8bcca765a89f0c8b36d61e905c529d7295b/tools/genders/package/build.sh#L31
The genders forge package should patch
nodeattr
to so the genders file can be set withGENDERS_FILE
. The issue appears to predate the transition to flight-direct as demonstrated with the1.22.0+clusterware0
version of genders forge package.The patch should be applied in: https://github.com/alces-software/forge-packages/blob/f7a1b8bcca765a89f0c8b36d61e905c529d7295b/tools/genders/package/build.sh#L31