kubernetes/kops · error
error installing %s (%v): %s
Error message
error installing %s (%v): %s
What it means
Error "error installing %s (%v): %s" thrown in kubernetes/kops.
Source
Thrown at upup/pkg/fi/nodeup/command.go:697
// simply absent from a freshly booted node.
//
// The package is pinned to the running kernel release because an unpinned install
// resolves to the newest build in the repo, whose modules land under a /lib/modules
// directory we have not booted, leaving the running kernel just as empty.
//
// TODO: Move to tasks architecture along with loadKernelModules. It has to happen
// here for now because the modprobes above run before any task does.
func installKernelModulesExtra() error {
release, err := os.ReadFile("/proc/sys/kernel/osrelease")
if err != nil {
return fmt.Errorf("error reading kernel release: %w", err)
}
pkg := "kernel-modules-extra-" + strings.TrimSpace(string(release))
klog.Infof("Installing %s", pkg)
cmd := exec.Command("/usr/bin/dnf", "install", "-y", pkg)
if output, err := cmd.CombinedOutput(); err != nil {
return fmt.Errorf("error installing %s (%v): %s", pkg, err, string(output))
}
return nil
}
// getRegion queries the cloud provider for the region.
func getRegion(ctx context.Context, bootConfig *nodeup.BootConfig) (string, error) {
switch bootConfig.CloudProvider {
case api.CloudProviderAWS:
region, err := awsbootstrap.RegionFromMetadata(ctx)
if err != nil {
return "", err
}
return region, nil
}
return "", nil
}View on GitHub (pinned to 4c8573c808)
When it happens
Trigger: Thrown at upup/pkg/fi/nodeup/command.go:697 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of kubernetes/kops@4c8573c808 (2026-09-05).
Data as JSON: /api/errors/a659674cd63ec878.
Report an issue: GitHub.