Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

simp config network setup depends on the archived pupmod-simp-network (ifcfg), which can't work on EL10

Đang mở
#223 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
ruby
Lĩnh vực
cli, networking

Hướng nghiên cứu

Start with Item::ConfigureNetworkAction in lib/simp/cli/config/items/action/configure_network_action.rb and the dependency entries in build/rubygem-simp-cli.spec. Compare the three proposed approaches for EL8–EL10 support, then update the action and release dependencies after a decision is made. Done means the chosen network setup works on supported EL versions and the RPM dependencies match the current release set.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

needs-attention

Problem

When simp config is asked to configure the network (cli::network::* items), Item::ConfigureNetworkAction (lib/simp/cli/config/items/action/configure_network_action.rb, around line 38) runs a puppet apply of network::eth{'<interface>': …} from pupmod-simp-network:

  • pupmod-simp-network is archived on GitHub, and it is not part of the current release set (it isn't in simp-core's metadata.json).
  • It manages interfaces through /etc/sysconfig/network-scripts/ifcfg-* files. EL10 removed ifcfg support from NetworkManager (EL9 only deprecated it), so on EL10 network::eth writes files that nothing reads.
  • The CLI RPM still Requires:/Recommends: pupmod-simp-network >= 6.0.3 (build/rubygem-simp-cli.spec lines 79 and 105). A release built from the current module set can't satisfy that dependency.

So on an EL10 SIMP server, simp config's network step can't work, and the CLI RPM can't be installed from a repository that contains only current components.

Options (needs a decision)

  1. Configure with NetworkManager directly. Have the action run nmcli connection modify/up (or write a keyfile under /etc/NetworkManager/system-connections/) instead of applying a Puppet class. That needs no module dependency, and it works on EL8, EL9 and EL10.
  2. Use a maintained community module. The CLI's apply step would then depend on, for example, an NetworkManager-capable Vox Pupuli module, which would have to be added to the release set.
  3. Drop network configuration from simp config. It would assume the network was configured at install time (kickstart/anaconda, or cloud-init), keeping only the hostname/DNS/resolv items.

Whichever is chosen, the spec's pupmod-simp-network dependency (and the pupmod-simp-simp_grub / pupmod-herculesteam-augeasproviders_grub entries next to it) needs updating to match the release set.

Ngôn ngữ chính
Ruby
Star
2
Fork
12
Merge trung bình
6 ngày 6 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của simp/rubygem-simp-cli

Tất cả issue của simp/rubygem-simp-cli

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.