Documentation maybe misleading here, For *kit commands, the attribute will be used to read the osdistro table for the osname, osvers, and osarch attributes. If defined, the osname, osvers, and osarch attributes defined in the osimage table will be ignored.
for this sentence, only apply to *kit commands, like buildkit, rmkit, and addkit copycds built the osimage definition, we should not remove those attributes. Thanks, Casandra Qiu ................................................................... Casandra Hong Qiu Phone: (845) 433-9291, t/l 293-9291 Office: Building 8, 3-B-04 cxh...@us.ibm.com From: "Lachlan Simpson" <lachlan.simp...@digitalfabulists.org> To: xCAT-user <xcat-user@lists.sourceforge.net> Date: 11/29/2020 10:51 PM Subject: [EXTERNAL] [xcat-user] Confused about osimage/osdistro Hola, Running 2.16.1 on CentOS 7.8 Last week I read in the osimage man page that: osdistroname The name of the OS distro definition. This attribute can be used to specify which OS distro to use, instead of using the osname,osvers,and osarch attributes. For *kit commands, the attribute will be used to read the osdistro table for the osname, osvers, and osarch attributes. If defined, the osname, osvers, and osarch attributes defined in the osimage table will be ignored. All of our osimage entries had osname, osvers and osarch. So I removed those values from the latest version of the osimage. Now, when I try nodeset: nodeset k181-k183 osimage=centos7.8-x86_64-install-compute Warning: k181,k182,k183: xnba might be invalid when provisioning centos7.8-x86_64-install-compute,valid options: "". For more details see the 'netboot' description in the output of "tabdump -d noderes". k181: Error: Unable to identify plugin for this command, check relevant tables: nodetype.os k183: Error: Unable to identify plugin for this command, check relevant tables: nodetype.os k182: Error: Unable to identify plugin for this command, check relevant tables: nodetype.os Error: Failed to generate xnba configurations for some node(s) on <managementdevice> Check xCAT log file for more details. First time I've seen that. Anyway, I put those values back into the osimage, and it works as expected: chdef -t osimage -o centos7.8-x86_64-install-compute osname=Linux osvers=centos7.8 osarch=x86_64 nodeset k181-k183 osimage=centos7.8-x86_64-install-compute k181: install centos7.8-x86_64-compute k182: install centos7.8-x86_64-compute k183: install centos7.8-x86_64-compute I presume that this is either a bug or an error in the documentation? Unless I've done something else wrong? Cheers L._______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user