Clive, have you considered, instead of osdistroupdate feature, to just add a second directory path to the pkgdir in the osimage definition ? The process described here: https://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/manage_clusters/common/deployment/additionalpkg/nonubuntu_os_pkg.html
From: Robinson, Clive <clive.robin...@dxc.com> Sent: Monday, October 31, 2022 1:30 PM To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Subject: [EXTERNAL] Re: [xcat-user] xcat2.16.3 osdistroupdate with SLES12.5 Hi Mark, thanks for the reply. Our problem is that the customer account we work on operates with very restricted external access so although we can copy in ISOs such as the SLES base media and our DXC upgrade, we can’t access SuSE from within ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. ZjQcmQRYFpfptBannerEnd Hi Mark, thanks for the reply. Our problem is that the customer account we work on operates with very restricted external access so although we can copy in ISOs such as the SLES base media and our DXC upgrade, we can’t access SuSE from within the estate. So our thought was to use this DXC ISO to upgrade a base SLES install via the osdistroupdate feature. The 1q22 ISO a bootable install/upgrade iso put together by some penguins somewhere within DXC previously HPE services, normally twice a year but this is the latest one we can actually find. I don’t think I’m allowed to distribute it outside of DXC. We can use it manually from a remote console as boot media to upgrade a base-installed SLES12.5 system so it’s a ‘proper’ iso I believe. I mounted it on our test head node and have output the root directory and the folder tree below. There isn’t a separate SDK folder tree, maybe its consolidated into the suse/x86_64 folder. When we do COPYCDS we place it in a separate location otherwise it gets dragged into a link within the main SLES12.5 copied files and overwrites the original directory. We’ve put that back again by repeating our original copycds and a second copy of the 1Q22, hn-01:/mnt/iso # ls -l /mnt/iso/ total 46046 -r--r--r-- 13 hpsmh hpsmh 5802309 Nov 9 2019 ARCHIVES.gz -r--r--r-- 15 hpsmh hpsmh 17992 Nov 23 2015 COPYING -r--r--r-- 15 hpsmh hpsmh 25733 Nov 23 2015 COPYING.de -r--r--r-- 15 hpsmh hpsmh 1455 Nov 23 2015 COPYRIGHT -r--r--r-- 15 hpsmh hpsmh 1620 Nov 23 2015 COPYRIGHT.de -r--r--r-- 13 hpsmh hpsmh 40497439 Nov 9 2019 ChangeLog -rw-r--r-- 1 hpsmh hpsmh 263633 Feb 14 2022 DXC-README.PDF drwxr-sr-x 3 hpsmh hpsmh 2048 Feb 2 2022 EFI -r--r--r-- 13 hpsmh hpsmh 48095 Nov 9 2019 INDEX.gz -r--r--r-- 13 hpsmh hpsmh 156986 Nov 4 2019 NEWS -r--r--r-- 13 hpsmh hpsmh 2910 Jul 23 2015 README lrwxrwxrwx 1 hpsmh hpsmh 1 Feb 2 2022 SUSE_SLES-12.5 -> . -r--r--r-- 1 hpsmh hpsmh 6025 Feb 14 2022 TRANS.TBL drwxr-sr-x 3 hpsmh hpsmh 2048 Feb 2 2022 boot -r--r--r-- 1 hpsmh hpsmh 9589 Feb 2 2022 content -r--r--r-- 1 hpsmh hpsmh 198 Feb 2 2022 content.asc -r--r--r-- 1 hpsmh hpsmh 27110 Feb 2 2022 content.key -r--r--r-- 13 hpsmh hpsmh 52836 Oct 18 2019 control.xml -rw-r--r-- 1 hpsmh hpsmh 308 Feb 2 2022 directory.yast drwxr-sr-x 3 hpsmh hpsmh 2048 Feb 2 2022 docu drwxr-xr-x 2 hpsmh hpsmh 2048 Nov 23 2021 eds -rw------- 1 hpsmh hpsmh 103371 Feb 14 2022 eds.xml -rw-r--r-- 1 hpsmh hpsmh 1748 Feb 2 2022 gpg-pubkey-0ACB864D.asc -r--r--r-- 15 hpsmh hpsmh 955 Jul 12 2017 gpg-pubkey-39db7c82-5847eb1f.asc -r--r--r-- 15 hpsmh hpsmh 975 Jul 12 2017 gpg-pubkey-50a3dd1c-50f35137.asc -r--r--r-- 13 hpsmh hpsmh 109578 Nov 4 2019 license.tar.gz drwxr-sr-x 2 hpsmh hpsmh 2048 Feb 2 2022 media.1 drwxr-xr-x 2 hpsmh hpsmh 2048 Feb 14 2022 opsagt -r--r--r-- 15 hpsmh hpsmh 1288 Jul 12 2017 pubring.gpg drwxr-sr-x 10 hpsmh hpsmh 2048 Feb 2 2022 suse hn-01:/mnt/iso # du -BM 1M ./boot/x86_64/grub2-efi/themes/DXC/icons 1M ./boot/x86_64/grub2-efi/themes/DXC 1M ./boot/x86_64/grub2-efi/themes/SLE/icons 1M ./boot/x86_64/grub2-efi/themes/SLE 2M ./boot/x86_64/grub2-efi/themes 3M ./boot/x86_64/grub2-efi 193M ./boot/x86_64/loader 519M ./boot/x86_64 519M ./boot 18M ./docu/en 19M ./docu 1M ./eds 1M ./EFI/BOOT/locale 4M ./EFI/BOOT 4M ./EFI 1M ./media.1 76M ./opsagt 1M ./suse/i386 1M ./suse/i586 1M ./suse/i686 217M ./suse/noarch 1M ./suse/nosrc 1M ./suse/setup/descr 1M ./suse/setup/slide/pic 1M ./suse/setup/slide/txt/ar 1M ./suse/setup/slide/txt/cs 1M ./suse/setup/slide/txt/de 1M ./suse/setup/slide/txt/en 1M ./suse/setup/slide/txt/es 1M ./suse/setup/slide/txt/fr 1M ./suse/setup/slide/txt/hu 1M ./suse/setup/slide/txt/it 1M ./suse/setup/slide/txt/ja 1M ./suse/setup/slide/txt/ko 1M ./suse/setup/slide/txt/nl 1M ./suse/setup/slide/txt/pl 1M ./suse/setup/slide/txt/pt_BR 1M ./suse/setup/slide/txt/ru 1M ./suse/setup/slide/txt/sv 1M ./suse/setup/slide/txt/zh_CN 1M ./suse/setup/slide/txt/zh_TW 1M ./suse/setup/slide/txt 1M ./suse/setup/slide 2M ./suse/setup 1M ./suse/src 374M ./suse/x86_64 592M ./suse 1254M . hn-01:/mnt/iso Best Regards, Clive Robinson ITO Service Consultant DXC Technology Ltd Mobile +44 (0)7771-555269 clive.robin...@dxc.com<mailto:clive.robin...@dxc.com> Planned Time Off: None UK Public Holidays: December 26, 27 EntServ UK Limited | Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11 1PZ | Registered Number: 00053419 England | VAT number: GB 432 9959 15. EntServ UK Limited is authorised and regulated by the Financial Conduct Authority under registration number 687564. This e-mail may contain confidential and/or legally privileged material for the sole use of the intended recipient. If you are not the intended recipient (or authorized to receive for the recipient) please contact the sender by reply e-mail and delete all copies of this message. If you are receiving this message internally within the DXC Technology group of companies, you should consider the contents “CONFIDENTIAL”. From: Mark Gurevich <gurev...@us.ibm.com<mailto:gurev...@us.ibm.com>> Sent: 27 October 2022 20:43 To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>> Subject: Re: [xcat-user] xcat2.16.3 osdistroupdate with SLES12.5 Clive, where can I find this 1Q22 update ? Is it a full OS iso, or just set of updated RPMs ? From: Robinson, Clive <clive.robin...@dxc.com<mailto:clive.robin...@dxc.com>> Sent: Thursday, October 27, 2022 6:46 AM To: xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net> Cc: CRISP, DANIEL <daniel.cr...@dxc.com<mailto:daniel.cr...@dxc.com>> Subject: [EXTERNAL] [xcat-user] xcat2.16.3 osdistroupdate with SLES12.5 We’re trying to implement a 2-stage install of SLES using 12. 5 base media from 2017 and a fairly wide-ranging update from 1Q22. We’ve done a copycds with both isos (update copycds is targeted to a specific separate folder) and can ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. ZjQcmQRYFpfptBannerEnd We’re trying to implement a 2-stage install of SLES using 12.5 base media from 2017 and a fairly wide-ranging update from 1Q22. We’ve done a copycds with both isos (update copycds is targeted to a specific separate folder) and can perform a successful. base install only with various postscripts. We’re now trying to use the osdistroupdate feature to define a new osimage that uses the SLES 12.5 base as a start point and references the 1Q22 content as a distro update. Problem is that we don’t see any effect from doing this, checking on sample rpms from the update folder reveals that these don’t appear on the target node, just the SLES base originals. We haven’t tried to perform a geninitrd although the update does contain an updated kernel as you might imagine. A few outputs from our config are below, any ideas? hn-01:~ # xcatconfig -v Version 2.16.3 (git commit d6c76ae5f66566409c3416c0836660e655632194, built Wed Nov 10 09:58:20 EST 2021) hn-01:~ # lsdef -t osimage "sles12.5-x86_64-install-update-comp09" Object name: sles12.5-x86_64-install-update-comp09 imagetype=linux osarch=x86_64 osdistroname=sles12.5-x86_64 osname=Linux osupdatename=sles12.5-x86_64-1Q22 osvers=sles12.5 otherpkgdir=/install/post/otherpkgs/sles12.5/x86_64 partitionfile=/install/custom/dxc/distro/compute.sles12.comp09.partitionfile pkgdir=/install/sles12.5/x86_64 pkglist=/opt/xcat/share/xcat/install/sles/compute.sles12.pkglist profile=compute provmethod=install synclists=/install/custom/dxc/distro/compute.sles12.custom.synclist template=/opt/xcat/share/xcat/install/sles/compute.sles12.tmpl hn-01:~ # lsdef -t osdistro sles12.5-x86_64 Object name: sles12.5-x86_64 arch=x86_64 basename=sles dirpaths=/install/sles12.5/x86_64/1/suse/x86_64/ majorversion=12 minorversion=5 type=Linux hn-01:~ # lsdef -t osdistroupdate sles12.5-x86_64-1Q22 Object name: sles12.5-x86_64-1Q22 dirpath=/install/sles12.5-1Q22/1/suse/x86_64/ osdistroname=sles12.5-x86_64 hn-01:~ # Best Regards, Clive Robinson ITO Service Consultant DXC Technology Ltd Mobile +44 (0)7771-555269 clive.robin...@dxc.com<mailto:clive.robin...@dxc.com> Planned Time Off: None UK Public Holidays: December 26, 27 [cid:image001.png@01D8ED37.B1744180] EntServ UK Limited | Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11 1PZ | Registered Number: 00053419 England | VAT number: GB 432 9959 15. EntServ UK Limited is authorised and regulated by the Financial Conduct Authority under registration number 687564. This e-mail may contain confidential and/or legally privileged material for the sole use of the intended recipient. If you are not the intended recipient (or authorized to receive for the recipient) please contact the sender by reply e-mail and delete all copies of this message. If you are receiving this message internally within the DXC Technology group of companies, you should consider the contents “CONFIDENTIAL”. DXC Technology Company -- This message is transmitted to you by or on behalf of DXC Technology Company or one of its affiliates. It is intended exclusively for the addressee. The substance of this message, along with any attachments, may contain proprietary, confidential or privileged information or information that is otherwise legally exempt from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate any part of this message. If you have received this message in error, please destroy and delete all copies and notify the sender by return e-mail. Regardless of content, this e-mail shall not operate to bind DXC Technology Company or any of its affiliates to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. --.
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user