Add/remove disk to Host config
- Related issues: #1623 Unable to add additional disks to host config
Environment setup
- Add Disk that isn’t assigned to host
Verification Steps
- Head to “Hosts” page
- Click “Edit Config” on a node and switch to “Disks” tab
- Validate: Open dropdown and see no disks
- Attach a disk on that node
- Validate: Open dropdown and see some disks
- Verify that host shows new disk as available storage and Longhorn is showing new schedulable space
- Detach a disk on that node
- Validate: Open dropdown and see no disks
- Verify that host shows new disk as available storage and Longhorn is showing new schedulable space
Expected Results
- Disk space should show appropriately