Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPSTREAM: 44798: Cinder: Automatically Generate Zone if Availability in Storage Class is not Configured #14159

Conversation

pospispa
Copy link

@pospispa pospispa commented May 12, 2017

Backport of Kubernetes PR kubernetes/kubernetes#44798.

In case the availability parameter is not configured in a cinder Storage Class the cinder volume is always provisioned in the nova availability zone. That is incorrect.

Now, the cinder volume is provisioned in a zone that is generated by an algorithm from the set of zones available in the cluster.

Positive side-effect: cinder volumes for individual pods in a StatefulSet are provisioned in unique zones. This increases the StatefulSet resilience.

IMPORTANT: the backport was NOT tested. Testing requires an OpenStack cluster with at least 2 availability zones.

This PR resolves this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1447568

Corresponding documentation PR: openshift/openshift-docs#4409

@jsafrane @rootfs PTAL

@childsb @eparis please, merge.

…in Storage Class is not Configured

Backport of Kubernetes PR #44798 (kubernetes/kubernetes#44798).

In case the availability parameter is not configured in a cinder Storage Class the cinder volume is always provisioned in the nova availability zone. That is incorrect.

Now, the cinder volume is provisioned in a zone that is generated by an algorithm from the set of zone available in the cluster.

Positive side-effect: cinder volumes for individual pods in a StatefulSet are provisioned in unique zones. This increases the StatefulSet resilience.
@jsafrane
Copy link
Contributor

lgtm
[merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 879fc71

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

pospispa pushed a commit to pospispa/openshift-docs that referenced this pull request May 12, 2017
…n Storage Class is not Configured

Backport of Kubernetes PR openshift#3693 (kubernetes/website#3693).

Corresponding source code OpenShift origin PR openshift#14159 (openshift/origin#14159).

Documents the Cinder volume plugin behaviour in case the availability parameter in a Storage Class is not configured.

Improves description of aws-ebs and gce-pd volume plugins behavior in case zone parameter in a Storage Class is not configured.
@jsafrane
Copy link
Contributor

flake: #14161
[test]

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 879fc71

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1391/) (Base Commit: f24a57f)

@openshift-bot
Copy link
Contributor

openshift-bot commented May 13, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/631/) (Base Commit: c48c4ea) (Image: devenv-rhel7_6228)

@openshift-bot openshift-bot merged commit 880e643 into openshift:master May 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants