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

Add bootstrap option to prepare-node-script #406

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

gboutry
Copy link
Collaborator

@gboutry gboutry commented Jan 13, 2025

Add bootstrap option on prepare-node-script to setup juju controller on LXD on primary node.

@gboutry gboutry force-pushed the fix/prepare-node-bootstrap branch from 1b6aa6f to dabb3c4 Compare January 15, 2025 08:51
@gboutry gboutry force-pushed the fix/prepare-node-bootstrap branch 2 times, most recently from 557eb7b to 8c389a1 Compare January 15, 2025 10:02
@hemanthnakkina
Copy link
Collaborator

hemanthnakkina commented Jan 15, 2025

Functional test failed since lxdbr0 exists. I think the script should error out if if LXD is already bootstrapped and juju controller is bootstrapped on lxdbr0.

If juju is not bootstrapped yet, it is ok to run bootstrap lxd ( Running lxd bootstrap multiple times works applying the last configuration set)

@gboutry gboutry force-pushed the fix/prepare-node-bootstrap branch from 8c389a1 to 5489d9b Compare January 15, 2025 13:36
@gboutry
Copy link
Collaborator Author

gboutry commented Jan 15, 2025

I've moved to always check if a lxdbr0 bridge exists.

@gboutry gboutry force-pushed the fix/prepare-node-bootstrap branch from 5489d9b to ab97ba8 Compare January 15, 2025 15:55
@gboutry gboutry force-pushed the fix/prepare-node-bootstrap branch from ab97ba8 to 12b7f98 Compare January 16, 2025 08:10
Add bootstrap option on prepare-node-script to setup juju controller on
LXD on primary node.

Signed-off-by: Guillaume Boutry <[email protected]>
@gboutry gboutry force-pushed the fix/prepare-node-bootstrap branch from 12b7f98 to 7d4cf8e Compare January 16, 2025 09:03
@hemanthnakkina hemanthnakkina merged commit 9a9e33a into canonical:main Jan 16, 2025
6 checks passed
@gboutry gboutry deleted the fix/prepare-node-bootstrap branch January 16, 2025 10: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