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

CVS-Software: volume creation returns completion while volume still being created #28

Closed
okrause opened this issue Nov 20, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@okrause
Copy link
Contributor

okrause commented Nov 20, 2020

While doing some tests with CVS-Software I noted that the TF provider (20.11.1) returns with "Creation complete" messages, while the UI shows that the volume is still being created. I also see situations, where this happens, while the volume fails to be created minutes later, due to configuration errors.

It's hard to give debug output here. My current example:
Provider Output:
netapp-gcp_volume.gcp-minimal-volume: Creation complete after 39s [id=a725c55b-6fa8-2557-d48d-704e46f87250]

UI (minutes later):
image

Please note that I am testing special things here and it would be totally fine for the volume create to fail. But I would expect the TF provider volume create not to return with success, while volume creation is still in progress.

My guess it that TF provider and API are okay, but machinery behind API behaves differently between CVS-Performance and CVS-Software.

@lonico lonico added the bug Something isn't working label Nov 25, 2020
@lonico
Copy link
Contributor

lonico commented Nov 25, 2020

I may have found a bug in the code. Checking with the team.

@lonico
Copy link
Contributor

lonico commented Nov 26, 2020

fix is on its way. In my experience, it takes around 11 minutes to create the very first CVS "software" volume in a region (or zone). Once a volume exists, the following volumes are created in 1 or 2 minutes.

2020/11/26 01:37:33 Volume creation still in progress after 105 seconds.
2020/11/26 01:38:18 Volume creation still in progress after 150 seconds.
2020/11/26 01:39:28 Volume creation still in progress after 220 seconds.
2020/11/26 01:40:11 Volume creation still in progress after 263 seconds.
2020/11/26 01:41:33 Volume creation still in progress after 344 seconds.
2020/11/26 01:42:19 Volume creation still in progress after 390 seconds.
2020/11/26 01:43:37 Volume creation still in progress after 468 seconds.
2020/11/26 01:44:31 Volume creation still in progress after 522 seconds.
2020/11/26 01:45:27 Volume creation still in progress after 577 seconds.

@lonico
Copy link
Contributor

lonico commented Nov 26, 2020

fixed with 3f0f4e5

@lonico lonico closed this as completed Nov 26, 2020
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

No branches or pull requests

2 participants