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 gke file copy errors #4214

Merged
merged 3 commits into from Jun 18, 2021
Merged

fix gke file copy errors #4214

merged 3 commits into from Jun 18, 2021

Conversation

jrhizor
Copy link
Contributor

@jrhizor jrhizor commented Jun 18, 2021

For some reason, gke file upload isn't working reliably on the fabric8 client (see fabric8io/kubernetes-client#2217). We tried to work around it in #4195. Even when the message says it succeeded its behavior varied. I've seen cases where it successfully copied the contents, cases where it partially copied, and cases where it copied no contents at all (and this was after fixing the other bugfix in this pr, which is to make sure the success file flag is copied last).

I haven't been able to reproduce this a single time after switching to the official client for this operation. The only reason I'm not tearing out all of the fabric8 client usage and only using the official client is because the api is so much more ergonomic in fabric8. Both libraries are about equally popular and have comparable development activity. This is the first serious issue we've seen with fabric8's client. If we see any other serious issues we should revisit our client decision.

This bug would have been detected with acceptance tests that run on GKE: #4212

@github-actions github-actions bot added area/platform issues related to the platform area/worker Related to worker labels Jun 18, 2021
@jrhizor jrhizor merged commit f3330a9 into master Jun 18, 2021
@jrhizor jrhizor deleted the jrhizor/fix-gke-file-copy-errors branch June 18, 2021 23:23
@wwulfric
Copy link

Hi. Is this bug fixed in newest version? We encountered this problem, too.

@davinchia
Copy link
Contributor

@wwulfric this bug has been fixed since this was merged in mid-June

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform area/worker Related to worker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants