Skip to content

fix: upgrade ca-certificates instead of using dnf install - #9878

Merged
Nishchay (awesomenix) merged 2 commits into
official/v20261016from
nishp/update-ca-certificates-20261016
Oct 23, 2026
Merged

Nishchay (awesomenix) merged 2 commits into
official/v20261016from
nishp/update-ca-certificates-20261016

Conversation

@awesomenix

Copy link
Copy Markdown
Contributor

call upgrade instead of install

Copilot AI balanced review requested due to automatic review settings October 23, 2026 00:59
@awesomenix
Nishchay (awesomenix) requested review from a team as code owners October 23, 2026 00:59
@awesomenix
Nishchay (awesomenix) merged commit 60dbc69 into official/v20261016 Oct 23, 2026
13 of 15 checks passed
@awesomenix
Nishchay (awesomenix) deleted the nishp/update-ca-certificates-20261016 branch October 23, 2026 00:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The changed upgrade command and failure handling need focused ShellSpec regression coverage.

1 open issue
What changed in this PR

This PR changes CA certificate updates during Linux node provisioning to use dnf upgrade rather than dnf install.

Changes:

  • Use the retry helper to upgrade ca-certificates on eligible Mariner/Azure Linux nodes.
  • Bump the node-controller hotfix scripts version to 202610.16.4.
File Description
parts/​linux/​cloud-init/​artifacts/​cse_main.sh Replace certificate installation with a retried upgrade.
parts/​linux/​cloud-init/​artifacts/​aks-node-controller-hotfix.json Advance the hotfix scripts version.

Review effort: Balanced

apt_get_install 30 1 600 ca-certificates || return "$ERR_APT_INSTALL_TIMEOUT"
elif isMarinerOrAzureLinux "$OS" && ! isAzureLinuxOSGuard "$OS" "$OS_VARIANT"; then
dnf_install 30 1 600 --refresh ca-certificates || return "$ERR_APT_INSTALL_TIMEOUT"
retrycmd_if_failure 30 1 600 dnf upgrade -y --refresh ca-certificates || return "$ERR_APT_INSTALL_TIMEOUT"

This branch had an error being deployed

1 failed deployment
test — 409deb46 Deployed Oct 23, 2026 by awesomenix via hotfix-generate #1018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants