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 dhparams generation for the nginx role #75

Merged
merged 3 commits into from
Jul 23, 2024

Conversation

kogeler
Copy link
Contributor

@kogeler kogeler commented Jul 22, 2024

Changes:

  • dhparams are generated on a remote side for the nginx role (as before)
    • local generation randomly fails on various local setups
    • this role is specific for blockchai RPC n node, usually RPC node require a lot off resources, generation on the remote side will be faster then local
    • it is not a best practice to change files on a local machine by Ansible code, if we can avoid it we should
  • add fix to nginx role that helps to avoid issue during deployment process from scratch in the check mode

Signed-off-by: kogeler <kogeler@gmail.com>
@BulatSaif
Copy link
Contributor

This is a good idea. I also faced an issue where, when you apply a role to multiple RPC nodes, your local entropy pool gets empty fast, and the role just gets stuck on this task.

@BulatSaif BulatSaif merged commit c436c1d into paritytech:main Jul 23, 2024
3 checks passed
@kogeler kogeler deleted the fix-nginx-tls branch July 23, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants