-
Notifications
You must be signed in to change notification settings - Fork 931
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
lxd/init: Add support for storage volumes in preseed init #12426
lxd/init: Add support for storage volumes in preseed init #12426
Conversation
8d13435
to
39563ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
Please can you add some tests to test_init_preseed function
738b22e
to
f3f6eec
Compare
f3f6eec
to
bb6082d
Compare
6710691
to
4427fa2
Compare
@tomponline I think it should be ok now. Ran the tests also locally and they passed. |
eb6c1bc
to
48c37f0
Compare
Updated this again. The test was trying to delete the storage pool first and then the volume. |
32e87b0
to
3be5c3d
Compare
3be5c3d
to
d93337a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Please can you rebase this so that each commit makes up a single logical change, i.e we dont want to have multiple commits that make a change to, for example, lxd/init.go, and then later in the PR those initial changes are altered again.
d93337a
to
e990f82
Compare
I've rebased this in 3 separate commits. Let me know if further changes are needed! |
8f4d1bc
to
bcfd396
Compare
bcfd396
to
6d27388
Compare
6d27388
to
b515f4a
Compare
@tomponline Is the test failure relevant? It is very hard to figure where exactly the tests have failed since the stack trace is huge? |
You need to rebase your branch on upstream main to get the openfga revert changes |
b28170f
to
67a31e7
Compare
Hi @megheaiulian please can you rebase this so the tests run again, we've recently changed the contributor requirements to require the Canonical CLA be signed for external contributors, see https://github.com/canonical/lxd/blob/main/CONTRIBUTING.md#license-and-copyright so we need the CLA check to re-run. Thanks |
Signed-off-by: Meghea Iulian <[email protected]>
Add support for configuring storage volumes in preseed init. Fixes canonical#10956 Signed-off-by: Meghea Iulian <[email protected]>
Signed-off-by: Meghea Iulian <[email protected]>
67a31e7
to
c5a8a7c
Compare
Signed-off-by: Meghea Iulian <[email protected]>
c5a8a7c
to
b07b147
Compare
I've signed the CLA. Please retry the checks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks!
Add support for configuring storage volumes in preseed init.
Fixes #10956