-
Notifications
You must be signed in to change notification settings - Fork 5
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
Air Gap Specification Request #1
Comments
The script has been test on Rocky 9 several times. In theory any rpm based distro with access to curl, skopeo should work. Helm is installed from binary. There is an updated repo : https://github.com/clemenko/rke_airgap_install You can check out Harvester at https://github.com/harvester/harvester Testing the build function with centos 8 stream now |
Worked on Digital Ocean with Centos Stream 8.
|
Andy,
Found some interesting things..
On my isolated CentOS8, I found the cause of the tissue.
1.
CentOS 8 Stream - CentOS-Stream-8-20230429.0-x86_64-dvd1.iso
Failed to download metadata for repo 'appstream'
cd /run/media/test/CentOS-Stream-8-BaseOS-x86_64/
cp -v media.repo /etc/yum.repos.d/centos8.repo
chmod 644 /etc/yum.repos.d/centos8.repo
gedit /etc/yum.repos.d/centos8.repo
dnf clean all
yum clean all
dnf repolist
yum repolist
cd /etc/yum.repos.d/
gedit CentOS-Stream-AppStream.repo
gedit CentOS-Stream-BaseOS.repo
# test only --- dnf install nodejs
So if you can add to the pre-checks for yum failures.
New issue: While waiting for rke2-server time outs...
I changed the script to use "/usr/local/bin/rke2 server --debug"
Found that the rancher/rke2-runtime:v1.24.13-rke2r1 not found in tarball.
This was traced to the build having a different version:
rke2-runtime_v1.25.7-rke2r1.tar.
This was also reflected in the rke2-images.linux-amd64.tar.zst repositories
file: "rancher/rke2-runtime":{"v1.24.13-rke2r1":"b35b6ec89fc8b2385b8bdaa5f8d4d0829835e079df94fba46f231d407977f48a"}
…On Mon, May 1, 2023 at 9:06 PM Andy Clemenko ***@***.***> wrote:
Worked on Digital Ocean with Centos Stream 8.
***@***.*** rancher]# ls -asl
total 24
0 drwxr-xr-x. 5 root root 85 May 2 01:57 .
0 drwxr-xr-x. 4 root root 74 May 2 02:03 ..
24 -rwxr-xr-x. 1 root root 20662 May 2 01:55 air_gap_all_the_things.sh
0 drwxr-xr-x. 2 root root 150 May 2 01:57 helm
0 drwxr-xr-x. 8 root root 95 May 2 01:57 images
0 drwxr-xr-x. 2 root root 210 May 2 01:57 rke2_1.24.13
***@***.*** rancher]# cd ..
***@***.*** opt]# du -sh *
5.1M digitalocean
16G rancher
6.0G rke2_rancher_longhorn.zst
***@***.*** opt]# cat /etc/os-release
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKTA56CY7DKJADDQXTXA34TXEBTZTANCNFSM6AAAAAAXSMWXNI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I am not able to recreate the issue you are seeing. Maybe rerun the |
Did you run worker on the same node as control? That needs to be on another server? |
Try the updated script? |
Testing out your code:
Build does work only with yum install prerequisites.
Curl, Spokeo, and Helm rpm packages must be pre-installed.
Successful building dose require internet access as stated. Looks good.
CentOS 8 Stream - CentOS-Stream-8-20230429.0-x86_64-dvd1.iso
Failed to download metadata for repo 'appstream'
So what I am trying to replicate is the complete Air Gapped build of RKE2 on CentOS 8.
If you built using a different disto please advise.
Thank you in advance.
Yes, I watched the video and harvester-v1.1.2-amd64.iso look like a good approach.
But I need the distro info...
The text was updated successfully, but these errors were encountered: