On Wed, Feb 22, 2023 at 1:46 PM <fsayd(a)derecho.uncu.edu.ar>
wrote:
> Hello:
>
> I am following Sandro's blog post to configure oVirt with Ceph as
> storage domain
>
(
https://blogs.ovirt.org/2021/07/using-ceph-only-storage-for-ovirt-datacen...).
That blog was focused on Hosted Engine setup where one wanted to
leverage a pre-existing Ceph installation for storage (both for the
dedicated storage domain to assign to the hosted engine VM and for
other storage domains to be used for "regular" VMs).
Cinderlib was not supported for the initial hosted engine setup (where
you create the hosted engine dedicated storage domain) and the blog
describes how to overcome the limitation and configure your existing
Ceph cluster iSCSI gateway functionality, so that you make the initial
install of oVirt specifying iSCSi storage type
Then the blog describes how to use cinderlib for new storage domains
after install, to be used for "regular" VMs.
> I need to setup cinderlib but the referenced link is dead:
>
https://ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine_...
The web interface has been desupported in 4.5, so you cannot find it
anymore in official oVirt docs.
I don't know if there is a copy of the old 4.4 ones anywhere....
you have to use this one (command line based):
https://ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine_...
and there the section 3.2 Preparing iSCSI Storage
https://ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine_...
is managed by you using the blog info above for iSCSI Gateway, and
eventually further modifications due to possible new releases of
Ceph...
> I can't find any instructions about cinder/ceph in ovirt docs.
This is because it is not supported, neither in RHV nor in oVirt. I
don't know where you can find the cinderlib part for oVirt now.
But you can refer to this Red Hat solution
https://access.redhat.com/solutions/5605141
(possibly you need a subscription, perhaps the free developer one is
sufficient)
You have to adapt the repos part for oVirt/CentOS Stream, though
Sandro, any added information here for oVirt repos to configure
cinderlib on oVirt 4.5?
Gianluca
Thanks for the reply
I followed the RedHat solution:
1 - Installed python3-cinderlib and ceph-common on engine
2 - Configured Managed Block domain support: engine-config -s
ManagedBlockDomainSupported=true
2 - Copied ceph config and keyring in the /etc/ceph engine directory
3 - Installed python3-os-brick and ceph-common on hosts
4 - Cinderlib experimental support enabled at engine setup
I followed all the previous steps but Managed Block Domain doesn't show
in the "Add Domain" dialog on Web Interface so I can't configure ceph
connection settings.
Im installing engine on a stand-alone server (No hosted engine, no ceph
over iscsi)
Managed Block Domain (Ceph) will be the main (and only) storage domain.
I can't found any clue on ovirt logs/cinderlib logs.
Engine and hosts running Rocky Linux 8.7. Ovirt version 4.5
Any clues?