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

[reconfigurator] Enable clickhouse services via clickhouse-admin #6769

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

karencfv
Copy link
Contributor

@karencfv karencfv commented Oct 3, 2024

Overview

This commit makes a few changes to the way the clickhouse_server and clickhouse_keeper SMF services are launched:

  • They are now disabled by default on zone boot.
  • They are enabled by clickhouse-admin after the configuration files have been generated.

Related: #5999

@karencfv karencfv changed the title [reconfigurator] WIP: Enable clickhouse services via clickhouse-admin [reconfigurator] Enable clickhouse services via clickhouse-admin Oct 4, 2024
@karencfv karencfv marked this pull request as ready for review October 4, 2024 20:45
@karencfv
Copy link
Contributor Author

karencfv commented Oct 4, 2024

@andrewjstone, please feel free to directly modify, merge, or close this PR directly, as I'll be out for two weeks :)

Copy link
Contributor

@andrewjstone andrewjstone left a comment

Choose a reason for hiding this comment

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

Looks good! I'm going to merge it in and build upon it. Last thing needed for a basic demo is some OMDB support!

rqctx: RequestContext<Self::Context>,
body: TypedBody<KeeperConfigurableSettings>,
) -> Result<HttpResponseCreated<KeeperConfig>, HttpError> {
let ctx = rqctx.context();
let keeper = body.into_inner();
// TODO(https://github.com/oxidecomputer/omicron/issues/5999): Do something
Copy link
Contributor

Choose a reason for hiding this comment

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

We still want to use the generation number to prevent unnecessary config generations on every push.

@andrewjstone andrewjstone merged commit 5200f2a into oxidecomputer:main Oct 11, 2024
18 checks passed
@karencfv karencfv deleted the disable-clickhouse-svcs branch October 22, 2024 01:20
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