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

Fix PVC.Status.Capacity and AccessModes after binding #29982

Merged

Conversation

jsafrane
Copy link
Member

@jsafrane jsafrane commented Aug 3, 2016

Also, fix unit tests to have the same claim and volume sizes in most of the
tests where we don't test matching based on size and test for a specific size
when we do actually test the matching.

Fixes #29425

@jsafrane jsafrane added sig/storage Categorizes an issue or PR as relevant to SIG Storage. team/cluster release-note-none Denotes a PR that doesn't merit a release note. labels Aug 3, 2016
@k8s-github-robot k8s-github-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 3, 2016
glog.V(4).Infof("updating PersistentVolumeClaim[%s]: phase %s already set", claimToClaimKey(claim), phase)
return claim, nil
}
// updateClaimStatusWithEvent saves new claim.Status to API server.
Copy link
Member

Choose a reason for hiding this comment

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

updateClaimStatus not updateClaimStatusWithEvent

Copy link
Member

Choose a reason for hiding this comment

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

Please add comment explaining what the parameters are and how they are used.

Copy link
Member Author

Choose a reason for hiding this comment

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

comments added

@jsafrane jsafrane force-pushed the fix-claim-status-capacity branch from ea3a56e to a2cd876 Compare August 4, 2016 12:08
@saad-ali saad-ali added this to the v1.3 milestone Aug 5, 2016
@saad-ali
Copy link
Member

saad-ali commented Aug 5, 2016

LGTM

@saad-ali
Copy link
Member

saad-ali commented Aug 5, 2016

Please squash commits and add LGTM label

@saad-ali saad-ali added release-note Denotes a PR that will be considered when it comes time to generate release notes. cherrypick-candidate priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed release-note-none Denotes a PR that doesn't merit a release note. labels Aug 5, 2016
Also, fix unit tests to have the same claim and volume sizes in most of the
tests where we don't test matching based on size and test for a specific size
when we do actually test the matching.
@jsafrane jsafrane force-pushed the fix-claim-status-capacity branch from a2cd876 to 3c53649 Compare August 8, 2016 08:45
@jsafrane
Copy link
Member Author

jsafrane commented Aug 8, 2016

squashed and pushed

@jsafrane jsafrane added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 8, 2016
@k8s-bot
Copy link

k8s-bot commented Aug 8, 2016

GCE e2e build/test passed for commit 3c53649.

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Aug 8, 2016

GCE e2e build/test passed for commit 3c53649.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 87f71a1 into kubernetes:master Aug 8, 2016
@saad-ali
Copy link
Member

saad-ali commented Aug 9, 2016

@jsafrane Please cherry-pick this to the 1.3 release branch.

CC @fabioy

k8s-github-robot pushed a commit that referenced this pull request Aug 9, 2016
…82-upstream-release-1.3

Automatic merge from submit-queue

Automated cherry pick of #29982

Cherry pick of #29982 on release-1.3.
@k8s-cherrypick-bot
Copy link

Commit found in the "release-1.3" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked.

shyamjvs pushed a commit to shyamjvs/kubernetes that referenced this pull request Dec 1, 2016
…ck-of-#29982-upstream-release-1.3

Automatic merge from submit-queue

Automated cherry pick of kubernetes#29982

Cherry pick of kubernetes#29982 on release-1.3.
shouhong pushed a commit to shouhong/kubernetes that referenced this pull request Feb 14, 2017
…ck-of-#29982-upstream-release-1.3

Automatic merge from submit-queue

Automated cherry pick of kubernetes#29982

Cherry pick of kubernetes#29982 on release-1.3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/storage Categorizes an issue or PR as relevant to SIG Storage. 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.

kubectl get pvc shows 0 capacity for PersistentVolumeClaim
6 participants