-
Notifications
You must be signed in to change notification settings - Fork 14
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
Library does not work when API Version is not an integer #36
Comments
Having similar issues, any update on this issue and how to fix it? I1031 15:58:13.772658 1 k8s_isi_provisioner.go:200] Starting Isilon Dynamic Provisioner version: v0.9-17-gc4f0 |
I've forked the repo and provided a fix for this at |
I submitted a fix for this in PR #38. The fix involves changing the string parse to a float. All types and getter functions were changed to reflect float32. |
Hi Hayden, |
Hi Tim, |
Hi Hayden, |
I see this is still open and this also that it is still an issue in the current release. What is the right solution here? Seems like it should be just be dropping the decimal places, but the current code doesn't do that still. |
@tenortim, would you want a PR that would fix this as described where the decimal is dropped? |
Hi @ebressler, The API major version increments with each major release of OneFS (and, thus far, there has always been added functionality in each of those releases). If we add functionality within an OS release, or if we need to fix a problem in an existing endpoint, the API stability contract means we can't change the existing behavior, and so we create a ".N" (N=1, 2, ...) endpoint within that API version to make the change. Those are legitimate endpoints that can be called and that differ from the base endpoint in some way e.g. schema or semantics. As such, it is necessary to parse and support them to be strictly correct. |
Thanks for the info @tenortim. So it looks like this isn't being maintained anymore. :( I will have to decide what that means. It is kinda a real pain to use a fork in go mod and work to fix things easily. I also did a fork and fixed this for my needs (a little different than then way you do it but similar). |
Hello,
I'm trying to connect a kubernetes cluster to our Isilon.
After installing the Isilon simulator v8.1.0.4 I've tried to configure both RexRay and k8s_ici_provisioner using goisilon library with no success.
The API version number seems to be the problem:
Log output from RexRay:
Log output from k8s_ici_provisioner
What I understand is that the library is trying to parse a integer and gets a float instead
panic: strconv.ParseUint: parsing "5.1": invalid syntax
This is the code from api/api.go line 179
Any ideas how to fix this?
Thanks
The text was updated successfully, but these errors were encountered: