Comments (12)
I know this is about RHEL9 but I would like to add that EL9 based distros are also having issues.
genimage
doesn't work in Rocky 9 (and I assume it doesn't work for OL and Alma either)
What I did to fix it:
I had to create a symbolic link for the following files and change their names to follow the naming pattern of each distribution in their respective folders (/opt/xcat/share/xcat/netboot/<distro>
, /opt/xcat/share/xcat/install/<distro>
).
/opt/xcat/share/xcat/netboot/rh/compute.rhels9.x86_64.pkglist
/opt/xcat/share/xcat/netboot/rh/compute.rhels9.x86_64.postinstall
/opt/xcat/share/xcat/netboot/rh/service.rhels9.x86_64.exlist
/opt/xcat/share/xcat/netboot/rh/service.rhels9.x86_64.otherpkgs.pkglist
/opt/xcat/share/xcat/netboot/rh/service.rhels9.x86_64.pkglist
/opt/xcat/share/xcat/netboot/rh/service.rhels9.x86_64.postinstall
/opt/xcat/share/xcat/install/rh/compute.rhels9.pkglist
/opt/xcat/share/xcat/install/rh/compute.rhels9.tmpl
/opt/xcat/share/xcat/install/rh/service.rhels9.pkglist
/opt/xcat/share/xcat/install/rh/service.rhels9.tmpl
/opt/xcat/share/xcat/install/rh/service.rhels9.x86_64.otherpkgs.pkglist
from xcat-core.
@lbgracioso that's fine. This issue is about all EL9 distros. I'll clarify this.
Good catch. I'll create the missing links.
Usually I use rhels9
for all EL distros, that's why I didn't notice :D
from xcat-core.
ibpostscripts.tar.gz
This contains two bash scripts that we're using on RHEL9.2
- ipoib sets IP address for first IB interface with link. Presumes boot net is 172.20.0.0/16 and IPoIB is 172.25.0.0/16
- ibpkey looks for a configured IB partition PKEY # 1 and creates a subinterface, requesting IP from DHCP server on master node.
We have MOFED installed, only real dependency is use of ibdev2netdev.
from xcat-core.
@Obihoernchen As per the github workflow cofiguration, the PR test checks the changes in the ubuntu 20.04 environment, which may not catch issues against RHEL and derivative environments. Can the PR testing be extended to also include any one of the RHEL and derivatives environment. Never mind. Only ubuntu is available as a runner as per the docs, unless self hosting the runners
from xcat-core.
yes unfortunately :(
But the testing in the background is way bigger testing all different OSs already.
And also way more tests with real OS deployment etc.
from xcat-core.
Is this change only going to be for RHEL 9.x+ or earlier versions as well?
from xcat-core.
@ZAM- RHEL/Centos 7 family and RHEL/Centos/Rocky 8 family are already very well supported. This ticket is to track extending that support to include the RHEL9 and derivatives.
from xcat-core.
@Obihoernchen Hi Markus, one question we have, and I think @ZAM- was alluding to, is how we approach fixes related to networking. By that I mean, a lot of the tools in xCAT were written to use the now deprecated ifcg commands and directory structure, e.g. ifcfg files vs. keyfiles. My assumption is that weβre not replacing the ifcfg nomenclature but rather including the keyfile nomenclature. I also assume that we would be doing a check to see if the host is RHEL9. Do you have an example of how you have addressed this already if you have?
from xcat-core.
@rlcto @ZAM- Yes, often xCAT is using nmcli already, but in some parts (for instance nics.nicextraparams and I think IPv6) it relies on ifcfg files. In my opinion it would be best to use nmcli for everything and not rely on files at all.
To keep it simple, I guess current logic for EL<8 can stay as is, just add a special case for EL>=9 with full nmcli support if needed.
So far 90% is working with current code already (on EL9), just some minor parts are not using nmcli yet or use nmcli, but still rely on ifcfg files, too.
OS detection logic is included in networks scritps already. For instance: https://github.com/xcat2/xcat-core/blob/master/xCAT/postscripts/configeth#L706
Perhaps it is also easier to simply recreate the logic currently applied to the ifcfg files for the new keyfiles. But I would assume using nmcli should be easier.
from xcat-core.
@Obihoernchen in what you're envisioning as far as using nmcli for EL9, would the idea be that the user-provided settings would follow the current syntax/setting names/etc., or would the idea be that the user configs would directly specify nmcli arguments?
from xcat-core.
@alexrichert In my opinion everything in the nics
table should stay as is. 90% of it is using nmcli already.
But there are some expections. For instance nics.nicextraparams
relies on ifcfg files. For this nics column users should just be able to input any nmcli connection key-value pair into this field and the network scripts should just pass this 1:1 to nmcli I guess.
Furthermore even when using nmcli the scripts still write ifcfg files. This shouldn't happen on EL9+.
There might be other instances not using nmcli yet though. For now I only know about nics.nicextraparams.
from xcat-core.
If you want to render something as a file or amend a file you could consider using keyfile format output before issuing a nmcli con reload
command to make it active on a managed host. The use of a keyfile will help with extraparams logic but it will, as with ifcfg, rely on sane user input.
Network manager has been recommended by Red Hat since the introduction of RHEL8 and should, in my opinion, be the go to network management utility in EL8+ but I know some are familiar and reluctant to move away from ifcfg.
- https://www.redhat.com/en/blog/rhel-9-networking-say-goodbye-ifcfg-files-and-hello-keyfiles
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/assembly_networkmanager-connection-profiles-in-keyfile-format_configuring-and-managing-networking#proc_manually-creating-a-networkmanager-profile-in-keyfile-format_assembly_networkmanager-connection-profiles-in-keyfile-format
from xcat-core.
Related Issues (20)
- Compatibility Query: xCAT Support for RHEL 7.9 HOT 1
- hardeths scripts does not update both GATEWAY information when there are 2 active NIC present on target nodes HOT 15
- genesis base rpm file for x86_64 not updated after 2.14.5 version HOT 13
- xCAT status? HOT 8
- genimage fails when installed on RHEL 8.8 HOT 1
- DNS entries not getting updated using confignetwork script HOT 2
- Removing a file from a sync'ed directory in `synclist` won't remove it from the destination node HOT 1
- Unable to perform nodeset [Ubuntu 22.04.3] HOT 1
- Intermittent: [xcatprobe] DHCP service is failing on consecutive run in ubuntu [22.04.3]
- Xcat: makedns is causing to failure of named service in ubuntu 22.04.3
- Error: Can not create bootstraps for rootimage. Make sure you specified full http mirror path.
- Why does the latest documentation branch reference 2.16.6? HOT 2
- xcatprobe xcatmn fails on IP doesn't belong to any network defined in 'networks' table HOT 1
- hpilo plugin fix for ILO5 HOT 1
- postscript remoteshell loops for a long time HOT 3
- diskless compute node after restart is not boot showing grub error HOT 1
- genimage command failed HOT 3
- Misprint osdistoname instead of osdistroname. Missed r
- Missed debian in OS definition
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcat-core.