simp config network setup depends on the archived pupmod-simp-network (ifcfg), which can't work on EL10
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ả
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'smetadata.json). - It manages interfaces through
/etc/sysconfig/network-scripts/ifcfg-*files. EL10 removed ifcfg support from NetworkManager (EL9 only deprecated it), so on EL10network::ethwrites files that nothing reads. - The CLI RPM still
Requires:/Recommends: pupmod-simp-network >= 6.0.3(build/rubygem-simp-cli.speclines 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)
- 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. - 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.
- 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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của simp/rubygem-simp-cli
-
Dependency DashboardĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
simp/rubygem-simp-cli#200 ·
-
Relax LDAP DN validationĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
simp/rubygem-simp-cli#194 · 1 bình luận ·
-
community
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
simp/rubygem-simp-cli#188 · 1 bình luận ·
-
community
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 45/100
simp/rubygem-simp-cli#187 · 1 bình luận ·
Tất cả issue của simp/rubygem-simp-cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
ds-drift
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
we-promise/sure#4120 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
scanaislop/aislop#476 ·
Maintainer thường phản hồi trong vòng 1 ngày