Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1611672 - Add blockstorage version for Openstack for OpenShift 3.7
Add blockstorage version for Openstack for OpenShift 3.7
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.7.1
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.7.z
Assigned To: Tomas Sedovic
Gaoyun Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-02 11:19 EDT by Eduardo Minguez
Modified: 2018-09-24 01:18 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-09-24 01:18:20 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2656 None None None 2018-09-24 01:18 EDT

  None (edit)
Description Eduardo Minguez 2018-08-02 11:19:47 EDT
Description of problem: OCP only supports Cinder v2 and for OSP environments where Cinder v3 is enabled as well, you need to configure the cloudprovider.conf file to only try to use v2.

See https://github.com/openshift/openshift-ansible/pull/6611 and https://github.com/openshift/openshift-docs/issues/5730 for more information.

The PR is cherry picking the fix for 3.7 but it looks like there is no bugzilla attached, so that's why I'm creating this.

Version-Release number of the following components:
openshift-ansible-3.7.57-1.git.33.cf01e48.el7.noarch
ansible-2.4.2.0-2.el7.noarch
ansible 2.4.2.0
  config file = /home/cloud-user/ansible.cfg
  configured module search path = [u'/home/cloud-user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, May 31 2018, 09:41:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]

How reproducible:
$ cinder version-list
Client supported API versions:
Minimum version 3.0
Maximum version 3.40

Server supported API versions:
+------+------------+----------------------+-------------+---------+
| Id   | Status     | Updated              | Min Version | Version |
+------+------------+----------------------+-------------+---------+
| v2.0 | DEPRECATED | 2017-02-25T12:00:00Z |             |         |
| v3.0 | CURRENT    | 2017-09-19T20:18:14Z | 3.0         | 3.50    |
+------+------------+----------------------+-------------+---------+

Install OCP using a cinder volume as registry storage.

Steps to Reproduce:
1.
2.
3.

Actual results:
BS API version autodetection failed.

Expected results:
Evertying works

Additional info:
Comment 1 Stephen Cuppett 2018-08-23 09:42:43 EDT
This is already merged.
Comment 3 Gaoyun Pei 2018-09-07 03:43:02 EDT
Verify this bug with openshift-ansible-3.7.63-1.git.0.6ae9a27.el7.noarch.rpm.

Add the following options to enable ocp with openstack cloudprovider

openshift_cloudprovider_kind=openstack
openshift_cloudprovider_openstack_auth_url=https://x.x.x.com:13000/v2.0/
openshift_cloudprovider_openstack_username=xxx
openshift_cloudprovider_openstack_password=xxx
openshift_cloudprovider_openstack_tenant_id=xxx
openshift_cloudprovider_openstack_region=xxx
openshift_cloudprovider_openstack_blockstorage_version=v2


After installation, check cloudprovider config
[root@host-172-16-122-69 ~]# cat /etc/origin/cloudprovider/openstack.conf 
[Global]
auth-url = https://x.x.x.com:13000/v2.0/
username = xxx
password = xxx
tenant-id = xxx
region = xxx
[BlockStorage]
bs-version=v2
Comment 5 errata-xmlrpc 2018-09-24 01:18:20 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2018:2656

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