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

Publish csp information of a discovered pacemaker cluster #21

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

nelsonkopliku
Copy link
Member

This PR determines the CSP of a cluster.

Extracts the information the same way we do for the cloud discovery of a host.

Clearly the information published by the Designated Controller will be the truth.

Question: what if no CSP was provided? No big issue from agent side, as just an empty string will be published.
What about the checks engine?
Gonna check on this later on the control plane

@fabriziosestito
Copy link
Member

@arbulu89

Question: what if no CSP was provided? No big issue from agent side, as just an empty string will be published.
What about the checks engine?

Interesting question, how does the runner deal with no provider provided?

@nelsonkopliku nelsonkopliku force-pushed the publish_csp_for_a_discovered_cluster branch from d371f40 to b5a5aa2 Compare April 19, 2022 14:53
@nelsonkopliku nelsonkopliku merged commit 85e0e19 into main Apr 19, 2022
Id string `mapstructure:"id"`
Name string `mapstructure:"name"`
DC bool `mapstructure:"dc"`
CloudProvider string `mapstructure:"cloud_provider"`
Copy link
Contributor

Choose a reason for hiding this comment

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

@nelsonkopliku Found this PR late...
We are using Provider term, and not CloudProvider as we will have non cloud based providers in the future.
Could we have a look on this?

@stefanotorresi stefanotorresi deleted the publish_csp_for_a_discovered_cluster branch August 17, 2022 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants