Bug 1704349 - glance integration with recent RDO is not working
Summary: glance integration with recent RDO is not working
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: ---
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.4.1
: 4.4.1.4
Assignee: Dominik Holler
QA Contact: Evgeny Slutsky
URL:
Whiteboard:
: 1812045 (view as bug list)
Depends On: 1841495
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-29 15:32 UTC by Sandro Bonazzola
Modified: 2020-08-05 06:25 UTC (History)
9 users (show)

Fixed In Version: ovirt-engine-4.4.1.4 vdsm-4.40.20
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-05 06:25:11 UTC
oVirt Team: Storage
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 100887 0 master MERGED provider: Support OpenStack Identity API v3 2020-12-21 15:04:59 UTC
oVirt gerrit 107895 0 master MERGED webadmin: Add Support OpenStack Identity API v3 for Storage 2020-12-21 15:05:31 UTC
oVirt gerrit 107907 0 master MERGED provider: Change to Image Service API v2 2020-12-21 15:05:00 UTC
oVirt gerrit 109140 0 master MERGED images: use glance module 2020-12-21 15:05:31 UTC

Description Sandro Bonazzola 2019-04-29 15:32:24 UTC
RDO Stein has been released: https://blogs.rdoproject.org/2019/04/rdo-stein-released/

We should ensure that Glance integration still works.
Tentatively targeting 4.3.4 since Stein is already out.

Comment 1 Sandro Bonazzola 2019-04-29 15:36:32 UTC
Glance is reported as external provider in official documentation at https://ovirt.org/documentation/admin-guide/chap-External_Providers.html

Comment 2 Evgheni Dereveanchin 2019-07-31 11:30:50 UTC
From my tests oVirt does not work with Glance from OpenStack Stein. We still use API v1 which has been removed after Pike so all following releases (Queens, Rocky, Stein) will not be able to provide images to oVirt using Glance. I will go ahead and log an RFE to support Glance API v2 in oVirt.

Comment 3 Evgheni Dereveanchin 2019-07-31 11:53:36 UTC
Logged #1734768 as an RFE to include v2 support.

Aa ansible playbook to deploy Glance Stein on CentOS for testing can be found here:
https://github.com/oVirt/infra-ansible/blob/85ecf9e8920237305e7f448c41cfe78346336ab6/playbooks/glance.yml

Comment 4 Evgeny Slutsky 2019-08-11 13:13:22 UTC
the integration works when no authentication is configured in glance (without keystone)  (allow_anonymous_access is allowed in glance-api),

in openstack Stein  Identity API v2 is deprecated (https://docs.openstack.org/keystone/stein/contributor/http-api.html)
engine support only keystone API v2, so it doesn't work with V3.



eslutsky@dhcp-1-29 /]$ curl http://es-host-02.lab.eng.tlv2.redhat.com:35357/v2.0
{"version": {"status": "deprecated", "updated": "2016-08-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://es-host-02.lab.eng.tlv2.redhat.com:35357/v2.0/", "rel": "self"}, {"href": "https://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

Comment 7 Sandro Bonazzola 2020-03-11 08:18:54 UTC
See bug #1812045 also aboutn keystone v3

Comment 8 Sandro Bonazzola 2020-03-11 08:20:01 UTC
*** Bug 1812045 has been marked as a duplicate of this bug. ***

Comment 9 Petr Kubica 2020-03-11 12:04:02 UTC
Anonymous glance authentication is also not working because Glance dropped support for API v1:
https://blueprints.launchpad.net/glance/+spec/remove-v1

and we are still accessing Glance on v1 instead of supported v2

glance/api.log: (after test button from engine side)
[10/Mar/2020 14:03:41] "GET /v1/ HTTP/1.1" 300 1384 0.004563

Comment 10 Michal Skrivanek 2020-03-11 12:40:58 UTC
yeah, glance seems to still use v1, cinder/neutron is v2

Comment 13 Evgeny Slutsky 2020-07-09 10:02:37 UTC
I can confirm glance and keystone integration is working with OpenStack - stein (packstack default confiuration - keystone v3 and glance v2).

Comment 14 Sandro Bonazzola 2020-08-05 06:25:11 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.