Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Expose Sled Agent API for "control plane disk management", use it #5172
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
Expose Sled Agent API for "control plane disk management", use it #5172
Changes from all commits
a0e89db
b962606
f3bfadd
228bcdf
0d93a86
7be0e1e
470be89
50d4415
ad6bf23
72ac9b5
58e3e03
cdab967
6d0dc3e
1d1f2c3
8cad2c5
6f97ab2
8983eaa
296ed1e
e034542
63d3c4a
4d6d4dc
8a0dc14
9acc543
966109e
19a8685
8882145
446a2bf
0890e75
f316c5c
1cd159e
979e246
6025e11
0121395
b9b4bf1
295cae3
0c19485
b88838f
a668637
058fb7c
67aa750
7a2f9f0
1d6fcf0
84f3b54
dc16729
b342912
6f1597d
2d55e8e
5d35227
2c06900
a6ca038
303a4d8
860a7db
6ee3ea2
db34b59
613df7b
67bd1fc
b7c1d67
c51bf3e
3c203c5
c213293
20c9e69
c399dcb
f129287
5f3bd6c
228fd9d
655976b
b65b4c1
fc5acf1
f78b5f5
c62cbc3
35c0020
6d5459f
b1a8bb7
0a27b38
6460fcf
40a561e
f32ff9d
7bd3cac
5dd232a
2dd2e08
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
I don't love this, but it's a consequence of the tests not running with
pfexec
.I believe this is harmless for non-test environments too -- sled agent is fine owning these files.
@bnaecker did something similar with the zone bundle tests in
omicron/sled-agent/src/zone_bundle.rs
Lines 2401 to 2411 in 05ed790
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.
Shortly we'll just run these tests in VMs and can remove this. Worth creating an issue to track changing this and related uses of PFEXEC when VM tests are ready and we can choose to only run these tests in VMs?
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.
Filed #5329 to track!
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.
@rcgoodfellow , @internet-diglett - I believe #4822 included a change to
./tools/virtual_hardware.sh
to set theashift=12
.Since the responsibility of zpool formatting is moving inside the sled-agent, and won't be done by "environment setup" anymore, I'm adding this parameter here. I expect this may evolve over time to change depending on responses from libnvme.
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.
SGTM