Bug 1812045 - Openstack keystone API v3 is not supported in Openstack Image or Block Storage external provider
Summary: Openstack keystone API v3 is not supported in Openstack Image or Block Storag...
Status: CLOSED DUPLICATE of bug 1704349
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: bugs@ovirt.org
QA Contact: Lukas Svaty
Depends On:
TreeView+ depends on / blocked
Reported: 2020-03-10 12:34 UTC by Petr Kubica
Modified: 2020-03-11 08:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-03-11 08:20:01 UTC
oVirt Team: Integration
mtessun: ovirt-4.4?
mtessun: planning_ack+
mtessun: devel_ack?
mtessun: testing_ack?

Attachments (Terms of Use)

Description Petr Kubica 2020-03-10 12:34:32 UTC
Description of problem:
https://docs.openstack.org/api-ref/identity/index.html v2.0 is marked as deprecated

It is not possible to change API version when adding Openstack Image provider
(also other Openstack external providers could be affected aswell)

And the default predefined port 35357 was deprecated (more info here: https://docs.openstack.org/releasenotes/puppet-keystone/rocky.html, https://bugs.launchpad.net/charm-keystone/+bug/1747972)

I found information about supporting v3 keystone API in oVirt: https://www.ovirt.org/develop/release-management/features/network/openstack_identity_api_v3.html 
but it looks like it is only about Openstack Networking provider and not about the others.

2020-03-10 12:42:53,736+01 INFO  [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (default task-1147) [88eb4c5a-9c7e-4b10-9265-e5b78b77a82f] Running command: TestProviderConnectivityCommand internal: false. Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_STORAGE_POOL with role type ADMIN
2020-03-10 12:42:53,764+01 ERROR [org.ovirt.engine.core.bll.provider.storage.AbstractOpenStackStorageProviderProxy] (default task-1147) [88eb4c5a-9c7e-4b10-9265-e5b78b77a82f] Not Found (OpenStack response error code: 404)
2020-03-10 12:42:53,764+01 ERROR [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (default task-1147) [88eb4c5a-9c7e-4b10-9265-e5b78b77a82f] Command 'org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand' failed: EngineException: (Failed with error PROVIDER_FAILURE and code 5050)

[10/Mar/2020:12:42:53 +0100] "POST /v2.0/tokens HTTP/1.1" 404 233 "-" "Apache-HttpClient/4.5.2.redhat-2 (Java/1.8.0_232)"

Currently it's not possible to add current Openstack Image provider into RHV.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Add Openstack Image or OpenStack Block Storage
2. Try to change API version to v3 (it's not possible to do that)
3. Test connection

Comment 1 Michal Skrivanek 2020-03-10 12:50:16 UTC
duplicate of 1704349. unauth access should work

Comment 2 Sandro Bonazzola 2020-03-11 08:20:01 UTC

*** This bug has been marked as a duplicate of bug 1704349 ***

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