-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#17002 from manadart/dqlite-config-id
juju#17002 The controller _charm_ needs to set configuration for the controller at an appropriate path. To do this, it needs to know the controller's ID, which may not be the same as the charm's ID. Here we add a path the controller agent configuration socket that returns this ID. This streamlines the determination for both machines, and Kubernetes where we can not access the jujud process information from another container. ## QA steps - Bootstrap on LXD and/or K8s: - Where the charm is running, issue : ``` sudo curl -i -X GET http://localhost/agent-id --unix-socket /var/lib/juju/configchange.socket ``` - Observe the result: ``` HTTP/1.1 200 OK Content-Type: application/text Date: Mon, 04 Mar 2024 13:20:10 GMT Content-Length: 1 0 ``` ## Documentation changes Not at this time. ## Links **Jira card:** [JUJU-5306](https://warthogs.atlassian.net/browse/JUJU-5306) [JUJU-5306]: https://warthogs.atlassian.net/browse/JUJU-5306?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
- Loading branch information
Showing
7 changed files
with
111 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters