image upload on Managed Block Storage

Hello, I've just checked I can't upload an image into the MBS block through either UI or restAPI. So, is there any method to do that?

It's not implemented yet, there are ways to workaround it with either backend specific tools (like rbd) or by attaching the volume, are you using ceph? On Wed, Jan 13, 2021 at 4:13 AM Henry lol <pub.virtualization@gmail.com> wrote:
Hello,
I've just checked I can't upload an image into the MBS block through either UI or restAPI.
So, is there any method to do that?
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/SIXBQGJJEWM4UX...

yeah, I'm using ceph as a backend, then can oVirt discover/import existing volumes in ceph? 2021년 1월 13일 (수) 오후 5:00, Benny Zlotnik <bzlotnik@redhat.com>님이 작성:
It's not implemented yet, there are ways to workaround it with either backend specific tools (like rbd) or by attaching the volume, are you using ceph?
On Wed, Jan 13, 2021 at 4:13 AM Henry lol <pub.virtualization@gmail.com> wrote:
Hello,
I've just checked I can't upload an image into the MBS block through
either UI or restAPI.
So, is there any method to do that?
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/SIXBQGJJEWM4UX...

The workaround I tried with ceph is to use `rbd import` and replace the volume created by ovirt, the complete steps are: 1. Create an MBS disk in ovirt and find its ID 2. rbd import <filename> --dest-pool <poolname> 3. rbd rm volume-<ovirt disk_id> --pool <poolname> 4. rbd mv <filename> volume-<ovirt disk_id> --pool <poolname> I only tried it with raw images On Wed, Jan 13, 2021 at 10:12 AM Henry lol <pub.virtualization@gmail.com> wrote:
yeah, I'm using ceph as a backend, then can oVirt discover/import existing volumes in ceph?
2021년 1월 13일 (수) 오후 5:00, Benny Zlotnik <bzlotnik@redhat.com>님이 작성:
It's not implemented yet, there are ways to workaround it with either backend specific tools (like rbd) or by attaching the volume, are you using ceph?
On Wed, Jan 13, 2021 at 4:13 AM Henry lol <pub.virtualization@gmail.com> wrote:
Hello,
I've just checked I can't upload an image into the MBS block through either UI or restAPI.
So, is there any method to do that?
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/SIXBQGJJEWM4UX...

It really works well~! Thanks, Benny, Sincerely 2021년 1월 13일 (수) 오후 5:30, Benny Zlotnik <bzlotnik@redhat.com>님이 작성:
The workaround I tried with ceph is to use `rbd import` and replace the volume created by ovirt, the complete steps are: 1. Create an MBS disk in ovirt and find its ID 2. rbd import <filename> --dest-pool <poolname> 3. rbd rm volume-<ovirt disk_id> --pool <poolname> 4. rbd mv <filename> volume-<ovirt disk_id> --pool <poolname>
I only tried it with raw images
On Wed, Jan 13, 2021 at 10:12 AM Henry lol <pub.virtualization@gmail.com> wrote:
yeah, I'm using ceph as a backend, then can oVirt discover/import existing volumes in ceph?
2021년 1월 13일 (수) 오후 5:00, Benny Zlotnik <bzlotnik@redhat.com>님이 작성:
It's not implemented yet, there are ways to workaround it with either backend specific tools (like rbd) or by attaching the volume, are you using ceph?
On Wed, Jan 13, 2021 at 4:13 AM Henry lol <pub.virtualization@gmail.com>
wrote:
Hello,
I've just checked I can't upload an image into the MBS block through
either UI or restAPI.
So, is there any method to do that?
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/SIXBQGJJEWM4UX...
participants (2)
-
Benny Zlotnik
-
Henry lol