i finally managed it: https://bugzilla.redhat.com/show_bug.cgi?id=1642074

matthias

Am 07.10.18 um 08:08 schrieb Idan Shaby:
Hi Matthias,

Thanks for the detailed information!
It looks like you've found a bug. A NullPointerException should never occur.
Can you please file a BZ and attach all the relevant logs so we can understand the root cause for it?

Thanks,
Idan


On Wed, Oct 3, 2018 at 3:01 PM Matthias Leopold <[email protected] <mailto:[email protected]>> wrote:



    Am 2018-10-03 um 12:14 schrieb Matthias Leopold:
     > Hi,
     >
     > we're successfully using Cinder as a Block Storage Provider for
    oVirt
     > with customized Cinder installation in a CentOS host according to
     > OpenStack docs. Now i wanted to try out running Cinder in Docker and
     > followed the instructions from
     > https://thenewstack.io/deploying-cinder-stand-alone-storage-service/
     > (customized for use with Ceph RBD).
     >
     > This works to the point where i can setup an external provider and
     > consequently a storage domain in oVirt. I set up the provider
    without
     > authentication and testing this (by pressing "Test" button)
    works. When
     > i want to create disks i realize that oVirt doesn't recognize the
     > "Volume Type" definitions. In engine.log i see messages like
     >
     > 2018-10-03 12:04:46,990+02 ERROR
     >
    
[org.ovirt.engine.core.bll.storage.disk.cinder.GetCinderVolumeTypesByStorageDomainIdQuery]

     > (default task-72) [06d4fbf7-0b3c-46b3-8166-148ee7f67a4c] Query
     > 'GetCinderVolumeTypesByStorageDomainIdQuery' failed: null
     > 2018-10-03 12:04:46,990+02 ERROR
     >
    
[org.ovirt.engine.core.bll.storage.disk.cinder.GetCinderVolumeTypesByStorageDomainIdQuery]

     > (default task-72) [06d4fbf7-0b3c-46b3-8166-148ee7f67a4c] Exception:
     > java.lang.NullPointerException
     >
     > I very much suspect that not using authentication (because of
     > "auth_strategy = noauth" in cinder.conf) is the culprit. Listing
    types
     > with cinder CLI from the engine host works (when using the
    appropriate
     > environment). Can some of the RH devs confirm this behaviour? Is
    this an
     > engine bug?
     >
     > thanks
     > Matthias
     >

    I switched one of the existing, working Cinder hosts (no Docker
    involved) to "auth_strategy = noauth" and the problem (and error
    message
    in engine.log) with querying volume types is the same. So - regardless
    if i wanted to actually use it that way - I consider this a bug in
    Cinder integration in oVirt.

    Matthias
    _______________________________________________
    Users mailing list -- [email protected] <mailto:[email protected]>
    To unsubscribe send an email to [email protected]
    <mailto:[email protected]>
    Privacy Statement: https://www.ovirt.org/site/privacy-policy/
    oVirt Code of Conduct:
    https://www.ovirt.org/community/about/community-guidelines/
    List Archives:
    
https://lists.ovirt.org/archives/list/[email protected]/message/K6OGQVDIYS7PSDIBXANP2IEMQMSEGQQ3/


--
Matthias Leopold
IT Systems & Communications
Medizinische Universität Wien
Spitalgasse 23 / BT 88 /Ebene 00
A-1090 Wien
Tel: +43 1 40160-21241
Fax: +43 1 40160-921200
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/7LWVY7ALR5V6EKNPINWS5B7PKHT5CFLK/

Reply via email to