kubermatic / kubermatic/operating-system-manager

error about cloud provider support is wrong

Open
#451 6 comments 0 reactions 0 assignees View on GitHub
lifecycle/frozen
Dominant language
Go
Stars
53
Forks
43
Avg merge
1d 2h
Merged PRs (30d)
15

Description

https://github.com/kubermatic/operating-system-manager/blob/e0ccd2ce3d42d868d3e85524e9e704bdf707fe67/pkg/controllers/osc/osc_controller.go#L564

Reports the OS name instead of the cloud priovider, leading events that read like this

>operating-system-config-controller OperatingSystemProfile "osp-flatcar" does not support cloud provider "flatcar"

(I tried using Hetzner with custom images, but no dice)

Contributor guide

Open the contributing guide

Research direction

Start at pkg/controllers/osc/osc_controller.go around line 564 and inspect how the unsupported cloud-provider event is assembled. Correct the event so it reports the configured cloud provider rather than the OS name, and verify that the resulting message identifies the provider accurately.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.