-
Notifications
You must be signed in to change notification settings - Fork 8
Add NVMe role #312
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
base: main
Are you sure you want to change the base?
Add NVMe role #312
Conversation
|
@assumptionsandg what's the status of this? If it's still relevant can you update the PR description to provide more context please? |
|
This was for the longhorn on baremetal nodes work, but has stalled because the customer ended up not using baremetal nodes directly that needed this fix. |
2eeab40 to
b8be5e4
Compare
| lvnames: | ||
| - lvname: primary | ||
| size: 100%FREE | ||
| opts: --type raid0 |
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 am tempted to make sure the raid is configurable here.
|
|
||
| - name: Ensure LVM configuration is applied | ||
| vars: | ||
| manage_lvm: True |
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.
we should fix the lint issues, of course.
|
|
||
| - name: Ensure disks are mounted | ||
| ansible.posix.mount: | ||
| path: "{{ '/mnt/nvme' + loop.index }}" |
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 think we need to make this just match the disk names here, so /dev/foo is mounted at /mnt/foo... maybe?
| name: linux-volumes-by-tag | ||
|
|
||
| - include_role: | ||
| name: linux-nvme |
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 wonder if we should just call this linux-extra-disks or something more generic?
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 think technically, we should also have underscores in this role names, but I get this is locally consistent.
No description provided.