-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
How can I get more information to help me deploy tapir? #360
Comments
Thanks for reporting! Could you please share further insights? |
Assuming that the archive size is |
Hello, I have set API_MAX_BODY_SIZE to 1GB, but I'm still encountering the same issue even though the file size being uploaded this time is around 50MB. Commands used:
|
Ah I think the docs could be more expressive, for the STORAGE_CONFIG. Let me know if that fixes the issue, I will extend the startup script to also check for the storage config and print a better Error message in case it is invalid. |
I will try to reproduce and investigate a bit further. Thanks for the comprehensive report👌 |
@WeiMengXS i tried to write a reproducer with the following: docker-compose.yml
I used a fake provider as demo with similar folder structure as you described
I used the following fake provider source: How to proceed?
|
Thank you very much for this detailed guidance. I have been able to successfully deploy and publish my provider! |
Initializing the backend... Initializing provider plugins...
|
I think that is more about the provider artefact. You strictly have to fulfill the requirements described in the official Hashicorp docs In your case the SHASUM file might not be correct. Read here if you try to manually prepare the release. The GPG key used for signing must be the same passed to Tapir! |
Hashicorp 官方文档I am quite familiar with it now, it seems that when TF is accessing the backend, it is redirected to the Keycloak's verification URI. Do you have any reference for setting up Keycloak? Because I am not very familiar with Keycloak itself, This is a bit confusing for me. "_NOTE: To use Tapir UI you need to be authenticated. However, you can read the registry without authentication. In particular the Terraform CLI will work without authentication" |
You found a bug with the local storage backend, I will try to fix it soon. The storage api needs to be accessible without authentication to allow read from the registry! No issue with Keycloak. Thanks for sharing this! |
When is it expected to be restored? I'm very interested in this project! |
I already fixed it and will create a release probably today, latest tomorow. |
Here we go 0.6.2 contains the fix https://github.com/PacoVK/tapir/releases/tag/0.6.2 |
Good point, I'll add that on the list. Actually it makes no difference but without the protocol it follows the naming of hashicorp in a consistent way 👌 |
@all-contributors please add @WeiMengXS for bug, ideas |
I've put up a pull request to add @WeiMengXS! 🎉 |
When I try to upload the provider, it returns
{"errorId":"41ede21f-72c9-4df3-a33b-e9f75eea3965","errors":[{"message":"An unexpected error has occurred. Please raise an issue if you think this is a bug."}]
But based on the existing documents, I haven't been able to find out where the problem lies?
Console output of tapir:
No further information...
The text was updated successfully, but these errors were encountered: