Skip to content

Conversation

@assumptionsandg
Copy link
Contributor

No description provided.

@assumptionsandg assumptionsandg requested a review from a team as a code owner March 29, 2025 16:38
@sd109
Copy link
Contributor

sd109 commented Aug 8, 2025

@assumptionsandg what's the status of this? If it's still relevant can you update the PR description to provide more context please?

@JohnGarbutt JohnGarbutt marked this pull request as draft September 8, 2025 17:08
@JohnGarbutt
Copy link
Contributor

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.

lvnames:
- lvname: primary
size: 100%FREE
opts: --type raid0
Copy link
Contributor

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
Copy link
Contributor

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 }}"
Copy link
Contributor

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
Copy link
Contributor

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?

Copy link
Contributor

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.

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.

4 participants