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

ansible: rebuild fedora37-x64-1 with Fedora 40 #3829

Merged
merged 2 commits into from
Jul 14, 2024
Merged

Conversation

targos
Copy link
Member

@targos targos commented Jul 14, 2024

@targos
Copy link
Member Author

targos commented Jul 14, 2024

Similar to #3660, DNS resolution didn't work by default so I did the following:

mkdir /etc/systemd/resolved.conf.d
vi /etc/systemd/resolved.conf.d/cloudflare.conf

With

[Resolve]
DNS=1.1.1.1#1dot1dot1dot1.cloudflare-dns.com 1.0.0.1#1dot1dot1dot1.cloudflare-dns.com 2606:4700:4700::1111#1dot1dot1dot1.cloudflare-dns.com 2606:4700:4700::1001#1dot1dot1dot1.cloudflare-dns.com
DNSSEC=yes
DNSOverTLS=yes

@targos
Copy link
Member Author

targos commented Jul 14, 2024

It's still not really working, even after a reboot.

dnf upgrade is able to get metadata but then it fails to download the packages:

# dnf upgrade
Fedora 40 - x86_64 - Updates                                                                                          222 kB/s |  29 kB     00:00
Fedora 40 - x86_64 - Updates                                                                                          6.9 MB/s | 5.4 MB     00:00
Last metadata expiration check: 0:00:03 ago on Sun 14 Jul 2024 09:42:45 AM UTC.
Dependencies resolved.
======================================================================================================================================================
 Package                                         Architecture            Version                                       Repository                Size
======================================================================================================================================================
Installing:
 kernel-core                                     x86_64                  6.9.8-200.fc40                                updates                   17 M
...
many more lines
...
Transaction Summary
======================================================================================================================================================
Install    3 Packages
Upgrade  170 Packages

Total download size: 144 M
Is this ok [y/N]: y
Downloading Packages:
[MIRROR] dhcpcd-10.0.6-4.fc40.x86_64.rpm: Curl error (6): Couldn't resolve host name for http://mirror.siena.edu/fedora/linux/releases/40/Everything/x86_64/os/Packages/d/dhcpcd-10.0.6-4.fc40.x86_64.rpm [Could not resolve host: mirror.siena.edu]
[MIRROR] dhcpcd-10.0.6-4.fc40.x86_64.rpm: Curl error (6): Couldn't resolve host name for https://nnenix.mm.fcix.net/fedora/linux/releases/40/Everything/x86_64/os/Packages/d/dhcpcd-10.0.6-4.fc40.x86_64.rpm [Could not resolve host: nnenix.mm.fcix.net]
...
many more lines
...
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
  kernel-core-6.9.8-200.fc40.x86_64: Cannot download, all mirrors were already tried without success

@targos
Copy link
Member Author

targos commented Jul 14, 2024

Feel free to take over. I'll be mostly unavailable next week.

@targos
Copy link
Member Author

targos commented Jul 14, 2024

Well I tried again and this time, while it still printed many "Couldn't resolve host name" errors, it ended up working.

@targos
Copy link
Member Author

targos commented Jul 14, 2024

@targos
Copy link
Member Author

targos commented Jul 14, 2024

It's green!

@targos targos marked this pull request as ready for review July 14, 2024 15:50
@targos targos merged commit 533d7e1 into nodejs:main Jul 14, 2024
1 check passed
@targos targos deleted the fedora40-1 branch July 14, 2024 15:52
richardlau added a commit that referenced this pull request Jul 18, 2024
Replace test-digitalocean-fedora38-x64-1 with Fedora 40.

Update the Ansible scripts to fix the DNS settings on
DigitalOcean-hosted Fedora 40 machines.

Refs: #3350
Refs: #3829 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants