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

Decouple standalone and oneagent csi storage #629

Merged
merged 2 commits into from
Mar 10, 2022

Conversation

0sewa0
Copy link
Contributor

@0sewa0 0sewa0 commented Mar 10, 2022

Description

The host oneagent csi-storage doesn't get mounted while the standalone agent binary is not downloaded, which is not optimal.

To decouple these two:
The "LatestVersion" field of the Dynakube database entry is not needed for the oneagent-storage,
so now we add the Dynakube entry to the database while the "LatestVersion" is not set.

Therefore we can still stop the mount of the standalone agents if the version not set,
but we can move forward with mounting the oneagent-storage

How can this be tested?

Deploy cloudNative and see that the host oneagents get there containers created before the standalone binary is donwloaded (sample apps are still waiting).
Also there is a new error message in the sample app's event while the binary is downloading version is not yet set, csi-provisioner hasn't finished setup yet for tenant

Checklist

  • Unit tests have been updated/added
  • PR is labeled accordingly

@0sewa0 0sewa0 added the bug Something isn't working label Mar 10, 2022
@0sewa0 0sewa0 requested a review from a team March 10, 2022 11:37
@0sewa0 0sewa0 enabled auto-merge (squash) March 10, 2022 13:26
@0sewa0 0sewa0 merged commit ea164db into release-0.5 Mar 10, 2022
@0sewa0 0sewa0 deleted the bugfix/csi-oa-storage-slow branch March 10, 2022 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants