Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1537150

Summary: [RFE] Add support for multi-zone PVs when using Cinder volumes through OpenStack cloud provider.
Product: OpenShift Container Platform Reporter: Joel Rosental R. <jrosenta>
Component: RFEAssignee: Eric Paris <eparis>
Status: CLOSED WONTFIX QA Contact: Xiaoli Tian <xtian>
Severity: high Docs Contact:
Priority: high    
Version: 3.6.0CC: aos-bugs, eparis, erich, hchen, jokerman, mmccomas, suchaudh, tsmetana
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-12 11:55:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joel Rosental R. 2018-01-22 14:44:07 UTC
1. Proposed title of this feature request
Add support for multi-zone PVs when using Cinder volumes through OpenStack cloud provider.

3. What is the nature and description of the request?
 As a I user I would like to be have support for multi zone PVs when using Cinder volumes through OpenStack cloud provider.

At this time it's only possible to run pods attached to Cinder volumes when the Cinder availability zone matches Nova availability zones that the compute nodes are deployed into.
In case a storage backend like Ceph is used, there is no concept of availability zones within OpenStack region for Cinder, hence although it's a valid configuration for OpenStack it doesn't seem to work on OCP 3.6 when NoVolumeZoneConflict predicate is evaluated, producing a "No nodes are available that match all of the following predicates:: NoVolumeZoneConflict" error event.

4. Why does the customer need this? (List the business requirements here)
 Because as explained above in case a storage backend like Ceph (doesn't have the concept of availability zones within the OpenStack region for Cinder) volume will either fail to be created or it will be created but never attached to an instance in OpenStack.

5. How would the customer like to achieve this? (List the functional requirements here)
Be able to handle multi-zones PVs for Cinder volumes.

6. For each functional requirement listed in question 5, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
Once scheduler predicate NoVolumeZoneConflict is modified in such a way that allows multi-zones PVs to be paired when using Cinder volumes.

10. List any affected packages or components.
OpenShift/Kubernetes scheduler

Additional info:

There is an upstream issue similar to customer requirements at: https://github.com/kubernetes/kubernetes/issues/51232 and this has been addressed for GCE at https://github.com/kubernetes/kubernetes/pull/51667

Comment 2 hchen 2018-02-21 16:32:28 UTC
looks a dup of https://bugzilla.redhat.com/show_bug.cgi?id=1444828
according to [1], it is fixed in 3.6.122

https://bugzilla.redhat.com/show_bug.cgi?id=1444828#c7

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

Comment 11 Kirsten Newcomer 2019-06-12 11:55:33 UTC
With the introduction of OpenShift 4, Red Hat has delivered or roadmapped a substantial number of features based on feedback by our customers.  Many of the enhancements encompass specific RFEs which have been requested, or deliver a comparable solution to a customer problem, rendering an RFE redundant.

This bz (RFE) has been identified as a feature request not yet planned or scheduled for an OpenShift release and is being closed. 

If this feature is still an active request that needs to be tracked, Red Hat Support can assist in filing a request in the new JIRA RFE system, as well as provide you with updates as the RFE progress within our planning processes. Please open a new support case: https://access.redhat.com/support/cases/#/case/new 

Opening a New Support Case: https://access.redhat.com/support/cases/#/case/new 

As the new Jira RFE system is not yet public, Red Hat Support can help answer your questions about your RFEs via the same support case system.