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

Test: Create multivolume StatefulSet test #41180

Closed
wants to merge 1 commit into from

Conversation

justinsb
Copy link
Member

@justinsb justinsb commented Feb 9, 2017

We create a StatefulSet with two volumes per pod. We reuse the
zookeeper StatefulSet, but we don't currently use the second volume.
That will need to be fixed in the zookeeper image in the contrib repo.

However, this should be enough to detect issue #35695.

NONE

@k8s-reviewable
Copy link

This change is Reviewable

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 9, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

The following people have approved this PR: justinsb

Needs approval from an approver in each of these OWNERS Files:

We suggest the following people:
cc @Kargakis
You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. release-note-none Denotes a PR that doesn't merit a release note. labels Feb 9, 2017
@justinsb
Copy link
Member Author

justinsb commented Feb 9, 2017

Oh, in case anyone was feeling really keen... let's not merge this until we've got a fix for #35695, as I think we might have multizone tests on GKE!

@justinsb
Copy link
Member Author

And I manually tested this and it failed with the expected error (although it looks like the master branch fails against k8s 1.5). The test failures above are because of the gcloud problem though.

So once #40910 has merged, we can consider this one!

We create a StatefulSet with two volumes per pod.  We reuse the
zookeeper StatefulSet, but we don't currently use the second volume.
That will need to be fixed in the zookeeper image in the contrib repo.

However, this should be enough to detect issue kubernetes#35695.
@justinsb
Copy link
Member Author

The fix that this test tests has now merged: #40910

@Kargakis you looked at #40910 I believe - can you approve and lgtm? The manifest is a copy of the zookeeper manifest, just with more volumes.

@justinsb justinsb modified the milestone: v1.6 Feb 28, 2017
@ethernetdan ethernetdan removed this from the v1.6 milestone Mar 2, 2017
@ethernetdan
Copy link
Contributor

Removing issue from 1.6 milestone since code freeze has begun:

  • If this is a bug fix, please label as kind/bug and reapply the milestone.
  • If this is a feature for 1.6, an exception should be filed for it before 11:00PM PST on 3/2. Note that most exceptions to code freeze are not accepted.
  • If this is a feature for 1.7, feel free to add the 1.7 milestone to the PR.

/cc @kubernetes/release-team @kubernetes/kubernetes-release-managers

@justinsb
Copy link
Member Author

justinsb commented Mar 2, 2017

It's a test for a bugfix that merged in 1.6. Marking as kind/bug

@justinsb justinsb added the kind/bug Categorizes issue or PR as related to a bug. label Mar 2, 2017
@justinsb justinsb added this to the v1.6 milestone Mar 2, 2017
@enisoc enisoc modified the milestones: v1.6.1, v1.6 Mar 23, 2017
@enisoc
Copy link
Member

enisoc commented Mar 23, 2017

I'm cleaning out the milestone since we're coming up on the cut. This doesn't seem to be a release-blocker.

@justinsb
Copy link
Member Author

ping @smarterclayton

@smarterclayton
Copy link
Contributor

@kow3ns as well

@justinsb
Copy link
Member Author

justinsb commented May 1, 2017

ping @smarterclayton

Copy link
Member

@kow3ns kow3ns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the point is to verify that you can use multiple Volumes in a StatefulSet why not do a simple application that actually reads are write to multiple volumes instead of using a ZooKeeper that writes its snapshots and WAL to one Volume an nothing to the other.

labels:
app: multivolumezk
annotations:
pod.alpha.kubernetes.io/init-containers: '[
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you are targeting >= 1.6 you should be using the fields instead of the annotations.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like they all need to be updated, which is a bigger PR. Opened #45202

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switch this one here, the rest of the examples can be handled as part of that issue (I have already seen PRs switching to fields).

@justinsb
Copy link
Member Author

justinsb commented May 2, 2017

This is merely a test for the bug in #35695. I agree we should continue to add tests that test more functionality, but one PR at a time.

@justinsb
Copy link
Member Author

justinsb commented May 8, 2017

ping @kow3ns @smarterclayton

@justinsb
Copy link
Member Author

ping @kow3ns @smarterclayton

Can you please progress or reassign?

@thockin thockin removed this from the v1.6.1 milestone May 27, 2017
@justinsb justinsb added the sig/testing Categorizes an issue or PR as relevant to SIG Testing. label Jun 1, 2017
@justinsb justinsb added this to the v1.7 milestone Jun 1, 2017
@justinsb
Copy link
Member Author

justinsb commented Jun 1, 2017

@k8s-bot pull-kubernetes-federation-e2e-gce test this

@justinsb
Copy link
Member Author

justinsb commented Jun 1, 2017

ping @kow3ns @smarterclayton

Can you please progress or reassign?

@spiffxp
Copy link
Member

spiffxp commented Jun 8, 2017

relabeling sig per https://github.com/kubernetes/kubernetes/blob/master/test/test_owners.json#L30
/remove-sig testing
/sig apps

@k8s-ci-robot k8s-ci-robot added sig/apps Categorizes an issue or PR as relevant to SIG Apps. and removed sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Jun 8, 2017
@spiffxp
Copy link
Member

spiffxp commented Jun 16, 2017

/retest

@spiffxp
Copy link
Member

spiffxp commented Jun 17, 2017

/remove-priority P1
/priority important-soon
(I'm not actually sure this is the right priority, just trying to remove the old priority/PN labels)

@k8s-ci-robot k8s-ci-robot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed priority/P1 labels Jun 17, 2017
@dchen1107 dchen1107 modified the milestones: v1.8, v1.7 Jun 20, 2017
@k8s-github-robot
Copy link

@justinsb PR needs rebase

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 27, 2017
@calebamiles calebamiles modified the milestone: v1.8 Sep 2, 2017
@k8s-github-robot
Copy link

This PR hasn't been active in 90 days. Closing this PR. Please reopen if you would like to work towards merging this change, if/when the PR is ready for the next round of review.

cc @justinsb @smarterclayton

You can add 'keep-open' label to prevent this from happening again, or add a comment to keep it open another 90 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note-none Denotes a PR that doesn't merit a release note. sig/apps Categorizes an issue or PR as relevant to SIG Apps. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet