xcat-core icon indicating copy to clipboard operation
xcat-core copied to clipboard

xCAT support on Debian 11

Open sujit-jadhav opened this issue 2 years ago • 9 comments

Hi xcat team,

We are working on HPC Open source project Omnia, currently we are using Cobbler for pxe provisioning. We are looking at replacing cobbler with xcat but we have Debian as control plane OS. Can you please add support of Debian in xcat? We want management node on Debian, it will be great if you could add Docker image for Debian as well.

sujit-jadhav avatar Jun 25 '22 18:06 sujit-jadhav

@sujit-jadhav The xCAT core team has no plans to add OS provisioning support for Debian 11 at this time. If this feature is of interest to yourself or other xCAT community members, we will be happy to consider pull requests that improve xCAT provisioning support for Debian 11.

besawn avatar Jun 28 '22 17:06 besawn

@besawn , we are not looking at OS provisioning support for Debian 11. We want to install xCAT on Debian 11 as a management node and then from there we want to provision RHEL, Ubuntu, SLES15 on the bare metal servers. Do let me know if you are considering support of xCAT to get install on Debian 11.

sujit-jadhav avatar Jun 29 '22 04:06 sujit-jadhav

@sujit-jadhav, is there a reason you need to run Debian 11 on the management node, instead of one of the supported Ubuntu versions ?

Have you tried installing xCAT on your Debian 11 management node ? While not officially supported, it is possible xCAT will work.

gurevichmark avatar Jun 29 '22 13:06 gurevichmark

@gurevichmark In Omnia, currently we are supporting RHEL and Rocky on control plane node (management OS in xCAT case) but we face multiple issues in supporting multiple OS's on control plane. So we decided to go with single OS on control plane, Debian 11 (open source OS), in future we might provide Omnia in .ovi form (VM) so we might run into issues with Ubuntu (re-distribution).

I tried running xCAT on Debian it fails, got following error: root@xcatmn:/tmp# ./go-xcat install Operating system: linux Architecture: x86_64 Linux Distribution: debian Version: 11 go-xcat: debian: unsupported Linux distro go-xcat Version: 1.0.50

Reading repositories ...... failed

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). OK go-xcat: unknown debian/ubuntu codename

Boo-boo

Something went wrong. :(

sujit-jadhav avatar Jun 29 '22 15:06 sujit-jadhav

Try editing your go-xcat and around line 2294 add "debian" as one of the choices.

gurevichmark avatar Jun 29 '22 15:06 gurevichmark

@gurevichmark Tried that, later it failed in "source /etc/lsb-release" this file is not present in Debian, then I gave local codename="bullseye", it failed somewhere else. I feel this script needs modification to support Debian.

sujit-jadhav avatar Jun 29 '22 16:06 sujit-jadhav

@sujit-jadhav As noted earlier, the xCAT core team has no plans to add support for Debian 11 at this time. We welcome any community support and contributions in this area.

gurevichmark avatar Jul 06 '22 13:07 gurevichmark

@gurevichmark I was wondering, since there has been such an uproar in the RHEL environment if the core team had reconsidered adding install support for Debian "bookworm" along side the Ubuntu option?

mthartma avatar Aug 04 '23 15:08 mthartma

@sujit-jadhav The error for lsb-release file is easily solved by installing the lsb-release package. Google-fu gave me https://packages.debian.org/bullseye/lsb-release , so you should be able to run sudo apt install lsb-release

samveen avatar Aug 05 '23 08:08 samveen