Skip to content
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

[FEATURE] Support virtual media mount #44

Open
starbops opened this issue Dec 19, 2024 · 2 comments
Open

[FEATURE] Support virtual media mount #44

starbops opened this issue Dec 19, 2024 · 2 comments
Labels
area/redfish Front-end protocol related and it's Redfish component/agent Relevant to the virtualized BMCs help wanted Extra attention is needed kind/feature New feature proposed/asked

Comments

@starbops
Copy link
Owner

Is your feature request related to a problem? Please describe.

This long-awaited feature could make several virtual machine provisioning use cases possible. With this feature implemented, we will be able to dynamically attach an ISO image to the target virtual machine and boot from it.

Describe the solution you'd like

My initial thought is, this will need a third-party storage solutions to handle the volume lifecycle. We should do our best to make our part as neutral as possible, at least giving users the ability to choose which solution to use via configuration. As I use Harvester a lot, Longhorn seems a good fit. However, CDI could also be a valid candidate. With that said, both are a bit overkill for our use case. If this is infeasible or intolerable, we must handle the image and volume ourselves.

Describe alternatives you've considered

N/A

Additional context

This is one of the remaining item from #2.

@starbops starbops added kind/feature New feature proposed/asked area/redfish Front-end protocol related and it's Redfish labels Dec 19, 2024
@starbops starbops added this to the Support Redfish - Phase 3 milestone Jan 3, 2025
@starbops starbops added the component/agent Relevant to the virtualized BMCs label Jan 3, 2025
@starbops starbops moved this to Backlog in KubeVirtBMC project Jan 3, 2025
@starbops starbops added the help wanted Extra attention is needed label Feb 6, 2025
@starbops
Copy link
Owner Author

This is how people deal with virtual media mount with the sushy-tools BMC emulator, hope this can shed some lights:
https://docs.openstack.org/sushy-tools/latest/user/dynamic-emulator.html#virtual-media-resource

@MartijnStraatman
Copy link

MartijnStraatman commented Feb 24, 2025

I read something about a storage requirement. Maybe a solution could be something like this

virtctl image-upload pvc live-iso-sno  \
  --size 2Gi --storage-class ocs-storagecluster-ceph-rbd \
  --access-mode ReadWriteOnce \
  --image-path rhcos-4.14.0-x86_64-live.x86_64.iso

Storage must be available then through pvc's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redfish Front-end protocol related and it's Redfish component/agent Relevant to the virtualized BMCs help wanted Extra attention is needed kind/feature New feature proposed/asked
Projects
Status: Backlog
Development

No branches or pull requests

2 participants