create-kubernetes-binaries-iso.sh builds the ISO without setting a volume ID on EL8 based os's
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 88/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- kubernetes, shell
- Lĩnh vực
- cloud, infrastructure
Hướng nghiên cứu
Bắt đầu trong create-kubernetes-binaries-iso.sh và tìm lệnh mkisofs tạo ISO. Tái hiện vấn đề bằng các công cụ tương thích với xorriso của EL8, sau đó xác minh bằng blkid rằng ISO được tạo có nhãn volume CDROM như mong đợi và có thể được mount trong CloudStack.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
problem
create-kubernetes-binaries-iso.sh builds the ISO without setting a volume ID on EL8 based os
versions
ACS 4.20.X
ACS 4.22.X
ACS 4.23
Management server : Oracle 8 , rocky 8
The steps to reproduce the bug
- ISO tooling — genisoimage does not exist on EL8; xorriso provides mkisofs
sudo dnf install -y xorriso curl wget
- containerd (for ctr) — static tarball avoids the docker-ce repo and podman conflicts
VER=1.7.24
curl -fsSL "https://github.com/containerd/containerd/releases/download/v${VER}/containerd-${VER}-linux-amd64.tar.gz" \
| sudo tar -C /usr/local -xz
curl -fsSL -o /tmp/runc https://github.com/opencontainers/runc/releases/download/v1.2.3/runc.amd64
sudo install -m 755 /tmp/runc /usr/local/sbin/runc
curl -fsSL https://raw.githubusercontent.com/containerd/containerd/main/containerd.service \
| sudo tee /etc/systemd/system/containerd.service >/dev/null
sudo systemctl daemon-reload && sudo systemctl enable --now containerd
sudo ln -sf /usr/local/bin/ctr /usr/bin/ctr # sudo secure_path excludes /usr/local/bin
- Verify
mkisofs --version && sudo ctr --version && wget --version | head -1 && curl --version | head -1
- Execute the script
./create-kubernetes-binaries-iso.sh /var/www/html 1.37.0 1.9.1 1.37.0 https://raw.githubusercontent.com/projectcalico/calico/v3.32.2/manifests/calico.yaml 0.45.0 setup-v1.37.0 amd64 3.7.0
- Verify the generated iso volume label
[root@ref-trl-12298-k-Mr8-suresh-anaparti-mgmt1 util]# blkid /var/www/html/setup-v1.37.0-x86_64.iso
/var/www/html/setup-v1.37.0-x86_64.iso: BLOCK_SIZE="2048" UUID="2026-09-16-08-13-12-00" LABEL="ISOIMAGE" TYPE="iso9660"
-
If the iso is used in cloudstack , the iso doesn't get mounted
-
Change the script
sed -i 's|^mkisofs -o |mkisofs -V CDROM -o |' create-kubernetes-binaries-iso.sh
- Run the script again and check the volume label
./create-kubernetes-binaries-iso.sh /var/www/html 1.37.0 1.9.1 1.37.0 https://raw.githubusercontent.com/projectcalico/calico/v3.32.2/manifests/calico.yaml 0.45.0 setup-v1.37.0 amd64 3.7.0
blkid /var/www/html/setup-v1.37.0-x86_64.iso
/var/www/html/setup-v1.37.0-x86_64.iso: BLOCK_SIZE="2048" UUID="2026-09-16-08-34-56-00" LABEL="CDROM" TYPE="iso9660"
Issue is not present with ubuntu based os
┌──────────────────────┬───────────────┬───────────────────┐
│ │ Default volid │ With -V CDROM │
├──────────────────────┼───────────────┼───────────────────┤
│ Ubuntu (genisoimage) │ CDROM │ CDROM — unchanged │
├──────────────────────┼───────────────┼───────────────────┤
│ OL8 (xorriso compat) │ ISOIMAGE │ CDROM — fixed │
└──────────────────────┴───────────────┴───────────────────┘
What to do about it?
Make the following modification to the create-kubernetes-binaries-iso.sh
sed -i 's|^mkisofs -o |mkisofs -V CDROM -o |' create-kubernetes-binaries-iso.sh
- Ngôn ngữ chính
- Java
- Star
- 3.1k
- Fork
- 1.4k
- Merge trung bình
- 6 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 27
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 apache/cloudstack
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
apache/cloudstack#14222 ·
-
bug component:projects component:UI
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
apache/cloudstack#14070 · 5 bình luận ·
-
component:backup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
apache/cloudstack#14013 ·
-
KVM agent fails to connect to Ceph RBD storage pool after upgrading Ceph client to Tentacle 20.2.4 Đang mởbug component:ceph
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/cloudstack#13989 · 3 bình luận ·
-
component:UI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
apache/cloudstack#13944 · 3 bình luận ·
Tất cả issue của apache/cloudstack
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
elastic/gradle-plugins#157 ·
-
enhancement Tools
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
apache/rocketmq-dashboard#5008 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
DETECT_PARAMETER_NAMES=false silently disables @ConstructorProperties-based Creator detection too Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
FasterXML/jackson-databind#6229 ·