Did you use copycds to create your osimage definition or did you create it 
manually?

What xCAT version (lsxcatd -v) are you using?

Here is an example of a working osimage:
# lsdef -t osimage sle15.2-x86_64-install-compute
Object name: sle15.2-x86_64-install-compute
    imagetype=linux
    osarch=x86_64
    osdistroname=sle15.2-x86_64
    osname=Linux
    osvers=sle15.2
    otherpkgdir=/install/post/otherpkgs/sle15.2/x86_64
    pkgdir=/install/sle15.2/x86_64
    pkglist=/opt/xcat/share/xcat/install/sle/compute.sle15.pkglist
    profile=compute
    provmethod=install
    template=/opt/xcat/share/xcat/install/sle/compute.sle15.tmpl

Change your osimage pkgdir to match the example above and see if it works any 
better:
chdef -t osimage sle15.2-x86_64-install-compute pkgdir=/install/sle15.2/x86_64

Also, you appear to have some files missing from your pkgdir compared to the 
files present on my test system:
# ls -l /install/sle15.2/x86_64/
total 8
drwxr-xr-x 1 root root 1364 Jun 17 06:10 1
lrwxrwxrwx 1 root root   25 Jun 17 05:11 2 -> /install/sle15.2/x86_64/1
-rw-r--r-- 1 root root   33 Jun 17 05:18 .fingerprint

# ls -l /install/sle15.2/x86_64/1
total 148
-r--r--r-- 1 root root 72327 Jun 11  2020 ARCHIVES.gz
dr-xr-xr-x 1 root root    12 Jun 11  2020 boot
-r--r--r-- 1 root root   200 Jun 11  2020 ChangeLog
-r--r--r-- 1 root root 24663 Jun 11  2020 CHECKSUMS
-r--r--r-- 1 root root   481 Jun 11  2020 CHECKSUMS.asc
-r--r--r-- 1 root root  1484 Jun 10  2020 COPYRIGHT
-r--r--r-- 1 root root  1648 Jun 10  2020 COPYRIGHT.de
dr-xr-xr-x 1 root root  1898 Jun 11  2020 docu
dr-xr-xr-x 1 root root     8 Jun 11  2020 EFI
-r--r--r-- 1 root root   615 Jun 10  2020 gpg-pubkey-307e3d54-5aaa90a5.asc
-r--r--r-- 1 root root   972 Jun 10  2020 gpg-pubkey-39db7c82-5847eb1f.asc
-r--r--r-- 1 root root  1065 Jun 10  2020 gpg-pubkey-50a3dd1c-50f35137.asc
-r--r--r-- 1 root root  1451 Jun 11  2020 INDEX.gz
-r--r--r-- 1 root root  3127 Jun 11  2020 ls-lR.gz
dr-xr-xr-x 1 root root    26 Jun 11  2020 media.1
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-Basesystem
dr-xr-xr-x 1 root root   158 Jun 11  2020 Module-CAP-Tools
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-Containers
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-Desktop-Applications
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-Development-Tools
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-HPC
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-Legacy
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-Live-Patching
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-Public-Cloud
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-Python2
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-SAP-Applications
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-Server-Applications
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-Transactional-Server
dr-xr-xr-x 1 root root   170 Jun 11  2020 Module-Web-Scripting
dr-xr-xr-x 1 root root   170 Jun 11  2020 Product-HA
dr-xr-xr-x 1 root root   170 Jun 11  2020 Product-HPC
dr-xr-xr-x 1 root root   170 Jun 11  2020 Product-SLED
dr-xr-xr-x 1 root root   170 Jun 11  2020 Product-SLES
dr-xr-xr-x 1 root root   158 Jun 11  2020 Product-SLES_SAP
dr-xr-xr-x 1 root root   158 Jun 11  2020 Product-SUSE-Manager-Proxy-4.1
dr-xr-xr-x 1 root root   158 Jun 11  2020 
Product-SUSE-Manager-Retail-Branch-Server-4.1
dr-xr-xr-x 1 root root   158 Jun 11  2020 Product-SUSE-Manager-Server-4.1
dr-xr-xr-x 1 root root   170 Jun 11  2020 Product-WE
-r--r--r-- 1 root root  2666 May  2  2019 README
dr-xr-xr-x 1 root root  4728 Jun 11  2020 repodata
-r--r--r-- 1 root root  1350 Jun 10  2020 suse_ptf_key.asc
-r--r--r-- 1 root root   386 Jun 10  2020 .treeinfo

________________________________
From: Michael Green <mishagr...@gmail.com>
Sent: Friday, June 17, 2022 10:08 AM
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: [EXTERNAL] [xcat-user] SLES 15.2 install compute failure

Hello collective wisdom, Installation of SLE15.2 or SLE15.1 on HPE DL325 fails 
with [root@us7 xcat]# rinstall host45 osimage=sle15.2-x86_64-install-compute -c 
Provision node(s): host45 host45: Failed to detect copycd configured install 
source
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd
Hello collective wisdom,

Installation of SLE15.2 or SLE15.1 on HPE DL325 fails with

[root@us7 xcat]# rinstall host45 osimage=sle15.2-x86_64-install-compute -c
Provision node(s): host45
host45: Failed to detect copycd configured install source at 
/install/sle15.2/x86_64
Failed to generate xnba configurations for some node(s) on us7. Check xCAT log 
file for more details.
Error: [us7]: Failed to run 'nodeset' against the node: host45

[root@us7 ~]# lsdef -t osimage sle15.2-x86_64-install-compute
Object name: sle15.2-x86_64-install-compute
    imagetype=linux
    osarch=x86_64
    osdistroname=sle15.2-x86_64
    osname=Linux
    osvers=sle15.2
    otherpkgdir=/install/post/otherpkgs/sle15.2/x86_64
    pkgdir=/install/sle15.2/x86_64/1
    pkglist=/opt/xcat/share/xcat/install/sle/compute.sle15.pkglist
    profile=compute
    provmethod=install
    template=/opt/xcat/share/xcat/install/sle/compute.sle15.tmpl

---------------------

/var/log/cluster.log

Jun 17 06:52:34 us7 xcat[28943]: DEBUG xcatd: open new process : xcatd SSL: 
getipmicons to g1 for root@localhost
Jun 17 06:52:34 us7 xcat[28945]: DEBUG xcatd: open new process : xcatd SSL: 
chdef for root@localhost
Jun 17 06:52:34 us7 xcat[28943]: DEBUG xcatd: close connection with 
root@localhost
Jun 17 06:52:34 us7 xcat[28945]: INFO xCAT: Allowing chdef -t osimage 
sle15.2-x86_64-install-compute pkgdir=/install/
sle15.2/x86_64 for root from localhost
Jun 17 06:52:34 us7 xcat[28947]: DEBUG xcatd: dispatch request 'chdef -t 
osimage sle15.2-x86_64-install-compute pkgdi
r=/install/sle15.2/x86_64' to plugin 'DBobjectdefs'

-----------------------

[root@us7 ~]# ls -l /install/sle15.2/
total 0
drwxr-xr-x 3 root root 44 Jun 16 11:19 x86_64
[root@us7 ~]# ls -l /install/sle15.2/x86_64/
total 4
drwxr-xr-x 27 root root 4096 Jun 16 11:22 1
lrwxrwxrwx  1 root root   25 Jun 16 11:17 2 -> /install/sle15.2/x86_64/1
[root@us7 ~]# ls -l /install/sle15.2/x86_64/1/
total 1660
-r--r--r-- 1 root root     163 Jun 11  2020 CHECKSUMS
-r--r--r-- 1 root root     481 Jun 11  2020 CHECKSUMS.asc
-r--r--r-- 1 root root 1691648 Jun 11  2020 glump
dr-xr-xr-x 2 root root      35 Jun 11  2020 media.1
dr-xr-xr-x 6 root root      99 Jun 11  2020 Module-Basesystem
dr-xr-xr-x 5 root root      86 Jun 11  2020 Module-CAP-Tools
dr-xr-xr-x 5 root root      86 Jun 11  2020 Module-Containers
dr-xr-xr-x 5 root root      86 Jun 11  2020 Module-Desktop-Applications
dr-xr-xr-x 6 root root      99 Jun 11  2020 Module-Development-Tools
dr-xr-xr-x 5 root root      86 Jun 11  2020 Module-HPC
dr-xr-xr-x 6 root root      99 Jun 11  2020 Module-Legacy
dr-xr-xr-x 6 root root      99 Jun 11  2020 Module-Live-Patching
dr-xr-xr-x 6 root root      99 Jun 11  2020 Module-Public-Cloud
dr-xr-xr-x 5 root root      86 Jun 11  2020 Module-Python2
dr-xr-xr-x 5 root root      86 Jun 11  2020 Module-SAP-Applications
dr-xr-xr-x 5 root root      86 Jun 11  2020 Module-Server-Applications
dr-xr-xr-x 5 root root      86 Jun 11  2020 Module-Transactional-Server
dr-xr-xr-x 5 root root      86 Jun 11  2020 Module-Web-Scripting
dr-xr-xr-x 6 root root      99 Jun 11  2020 Product-HA
dr-xr-xr-x 5 root root      86 Jun 11  2020 Product-HPC
dr-xr-xr-x 5 root root      86 Jun 11  2020 Product-SLED
dr-xr-xr-x 5 root root      86 Jun 11  2020 Product-SLES
dr-xr-xr-x 5 root root      86 Jun 11  2020 Product-SLES_SAP
dr-xr-xr-x 5 root root      86 Jun 11  2020 Product-SUSE-Manager-Proxy-4.1
dr-xr-xr-x 5 root root      86 Jun 11  2020 
Product-SUSE-Manager-Retail-Branch-Server-4.1
dr-xr-xr-x 5 root root      86 Jun 11  2020 Product-SUSE-Manager-Server-4.1
dr-xr-xr-x 6 root root      99 Jun 11  2020 Product-WE
dr-xr-xr-x 2 root root       6 Jun 11  2020 repodata


Is this a known issue? Any pointers how to debug this further will be much 
appreciated.

Regards,
Michael Green
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to