Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix configib for EL9 #7453

Closed
Tracked by #7416
Obihoernchen opened this issue Jul 12, 2024 · 2 comments
Closed
Tracked by #7416

Fix configib for EL9 #7453

Obihoernchen opened this issue Jul 12, 2024 · 2 comments
Labels
rh9 all issues for rh9 type:bug
Milestone

Comments

@Obihoernchen
Copy link
Member

Obihoernchen commented Jul 12, 2024

Not sure if this is the appropriate place to report this and if this is specific to our site, but this merge breaks infiniband configuration on our Rocky 9 cluster.

The error response we got in the script logs for configib is:
"nmcli Error: unknown connection"

Digging into this, the IB looks to never have been connected via "nmcli con add " before calls to "nmcli con modify" are made.

I modified the configib script after Line 491 to make the following call instead of trying to write an ifcfg-$nic file.

elif [ $OS_name == 'redhat' ]
 then
   # First ip address
   if [ $ipindex -eq 1 ]
     ###
     if [[ "$OSVER" =~ (rhels9|alma9|rocky9) ]]; then
       prefix=$(convert_netmask_to_cidr $netmask)
       nmcli con add type infiniband con-name $nic ifname $nic ipv4.method manual  ipv4.addresses  $nicip/$prefix connection.autoconnect-priority 9
     else 
       ...
     fi
   ....

I can possibly work on creating a pull request to address this, but it might take me awhile as I am a bit short on free time.
As far as how to approach the problem, it is not clear to me if copying the configipv4 and configipv6 function in the configeth script with the appropriate changes would be a good approach to take as I would assume those functions have had extensive work already done to cover many of the cases one would encounter with xcat.

Originally posted by @landcaster in #7444 (comment)

@Obihoernchen Obihoernchen added the rh9 all issues for rh9 label Jul 12, 2024
@Obihoernchen Obihoernchen added this to the 2.17 milestone Jul 12, 2024
@Obihoernchen
Copy link
Member Author

@alexrichert can you please take a look at this one?

@Obihoernchen
Copy link
Member Author

Fixed in #7459

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rh9 all issues for rh9 type:bug
Projects
None yet
Development

No branches or pull requests

1 participant