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

replace heketi client implementation #67448

Closed
wants to merge 1 commit into from

Conversation

sigma
Copy link
Contributor

@sigma sigma commented Aug 15, 2018

What this PR does / why we need it:

This is an alternate solution for #66305

This change makes use of github.com/sigma/heketi branch k8s-standalone, which is a stripped down, k8s-specific version of github.com/heketi/heketi with:

For details, see
sigma/heketi@d481979

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

This is basically forking heketi/heketi, which is annoying in itself and shouldn't be done lightly. On the other hand, remediation upstream doesn't seem to garner much interest (heketi/heketi#1279 and heketi/heketi#1272), and the heketi module is much larger than we'd like it to be here.

Release note:

NONE

This change makes use of github.com/sigma/heketi branch k8s-standalone, which is
a stripped down, k8s-specific version of github.com/heketi/heketi with:
- only useful client-code, which sidesteps the issue of heketi improperly
  vendoring k8s (which prevents vgo from working, see kubernetes#65683)
- uses only Apache 2 licensed code (which addresses partially
  kubernetes/sig-release#223)

For details, see
sigma/heketi@d481979
@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 15, 2018
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 15, 2018
@k8s-ci-robot
Copy link
Contributor

Hi @sigma. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sigma
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers: humblec, sttts

If they are not already assigned, you can assign the PR to them by writing /assign @humblec @sttts in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sigma
Copy link
Contributor Author

sigma commented Aug 15, 2018

/cc @nikhita @thockin

@k8s-ci-robot k8s-ci-robot requested a review from nikhita August 15, 2018 17:51
@obnoxxx
Copy link
Contributor

obnoxxx commented Aug 15, 2018

@sigma, I don't think we want to have inofficial heketi client code vendored in the kubernetes repo (at least I don't ;-)). Instead I would prefer working with heketi to improve so that it can better fit in here, and you are already doing that.

@humblec FYI

@sigma
Copy link
Contributor Author

sigma commented Aug 15, 2018

@obnoxxx I agree, my goal here is mostly to demonstrate that a fix is technically trivial. So hopefully an acceptable fix should at least be achievable :)

@neolit123
Copy link
Member

/sig storage

@k8s-ci-robot k8s-ci-robot added the sig/storage Categorizes an issue or PR as relevant to SIG Storage. label Aug 16, 2018
@nikhita
Copy link
Member

nikhita commented Aug 16, 2018

cc @justaugustus

@sigma
Copy link
Contributor Author

sigma commented Aug 16, 2018

/hold
while we're figuring out a better upstream story
/meow

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 16, 2018
@k8s-ci-robot
Copy link
Contributor

@sigma: cat image

In response to this:

/hold
while we're figuring out a better upstream story
/meow

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@humblec
Copy link
Contributor

humblec commented Aug 22, 2018

@sigma I agree with @obnoxxx . The client library should be vendor-ed from its official repo. I need to go through the other PRs referenced in this repo in detail. But in quick look, the changes should be in official repo and not in personal repo.

@humblec
Copy link
Contributor

humblec commented Aug 22, 2018

/assign @humblec

@k8s-ci-robot
Copy link
Contributor

@sigma: PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 1, 2018
@dims
Copy link
Member

dims commented Nov 13, 2018

we can close this one too right @sigma ?

@sigma
Copy link
Contributor Author

sigma commented Nov 13, 2018

@dims yeah, let's close it as I don't think there's appetite for a fork :)

/close

@k8s-ci-robot
Copy link
Contributor

@sigma: Closed this PR.

In response to this:

@dims yeah, let's close it as I don't think there's appetite for a fork :)

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. release-note-none Denotes a PR that doesn't merit a release note. sig/storage Categorizes an issue or PR as relevant to SIG Storage. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants