xcat2 / xcat-core

Code repo for xCAT core packages
Eclipse Public License 1.0
360 stars 171 forks source link

xCAT support on Debian 11 #7204

Open sujit-jadhav opened 2 years ago

sujit-jadhav commented 2 years ago

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.

besawn commented 2 years ago

@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.

sujit-jadhav commented 2 years ago

@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.

gurevichmark commented 2 years ago

@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.

sujit-jadhav commented 2 years ago

@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. :(

gurevichmark commented 2 years ago

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

sujit-jadhav commented 2 years ago

@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.

gurevichmark commented 2 years ago

@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.

mthartma commented 1 year ago

@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?

samveen commented 1 year ago

@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