-
Notifications
You must be signed in to change notification settings - Fork 32
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
Host local storage support #1076
base: master
Are you sure you want to change the base?
Conversation
a42a608
to
0c9ef1d
Compare
bf1340d
to
dedcf22
Compare
11818f9
to
5e5c898
Compare
5e5c898
to
0592d66
Compare
This pull request is now in conflict. Could you fix it @torchiaf? 🙏 |
c3f64da
to
c53b2ff
Compare
9273c79
to
28d3fab
Compare
I've done some initial testing of this, and provisioning and unprovisioning LHv1 and LHv2 disks seems to work, but I've found two things so far that need tweaking:
...but it should be:
|
28d3fab
to
bcef064
Compare
Thanks @tserong , the code is now updated to handle the |
This pull request is now in conflict. Could you fix it @torchiaf? 🙏 |
Thanks @torchiaf, the The StorageClass is not quite right - the I also have a question: previously there was a "force formatted" checkbox for Longhorn V1: ...but this isn't present anymore, although there's still a tip about it: Is this correct? I also have a problem provisioning Longhorn V1 disks. They seem to add successfully, but shortly thereafter, they aren't mounted and are unschedulable. I suspect this is actually a problem in node-disk-manager. I'll report back once I've figured out what's going on with this. |
...oh also, one more thing: After a disk is provisioned, do we need to show what provisioner is used when viewing the disks on that node? Because there's no indication of that currently - you just see the disk like this: @Vicente-Cheng, WDTY? Also, I haven't tested what's shown here in the LVM case. |
bcef064
to
0cecf90
Compare
@tserong I've fixed the For the other points:
|
I checked with the latest changes. It looks like @torchiaf already added the provisioner fields. I thought the current display looked good to me. WDYT? @tserong
I thought we could keep that, but only for the v1 engine.
BTW, I checked the whole LVM flow, and everything looks fine. Thanks! |
Thanks @Vicente-Cheng, @torchiaf! Will re-test this morning. |
'vgName' | ||
]; | ||
|
||
const DEFAUL_TOPOLOGIES = [{ |
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.
typo DEFAUL_TOPOLOGIES
…Code rafactoring. Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
…rovisioner parameters Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
- Add lvm driver addon - Add longhorn v2 engine in provisioner dropdowns - Save storage class parameters for longhorn - Decouple Storage class longhron params - Add create new option for LVM groups Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
…sion in blockDevice CR Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
47d3511
to
0797031
Compare
@tserong @Vicente-Cheng I've changed the |
0797031
to
f2b29a9
Compare
This pull request is now in conflict. Could you fix it @torchiaf? 🙏 |
Thanks @torchiaf, I've just tested and the AccessMode change for LHv2 volumes works fine when the new volumes are created on the Volumes page. For new volumes created while creating virtual machines though (Virtual Machines: Create: Volumes: Add Volume), it's still using ReadWriteMany. |
Thanks @torchiaf, I have tested the latest changes. But I tested the volume creation. The Create Vol002 from UI, then check the accessMode Could you help to check it again? |
Summary
PR Checklist
Related Issue harvester/harvester#6057
Related Issue harvester/harvester#5953
Occurred changes and/or fixed issues
Technical notes summary
Areas or cases that should be tested
Areas which could experience regressions
Screenshot/Video