-
Notifications
You must be signed in to change notification settings - Fork 14
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: ensure ES/OS cluster setup for shared usage #73
Conversation
Thanks for the pull request, @gabor-boros! What's next?Please work through the following steps to get your changes ready for engineering review: 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. 🔘 Let us know that your PR is ready for review:Who will review my changes?This repository is currently maintained by Where can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:
When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
Thanks for the pull request, @gabor-boros! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
1 similar comment
Thanks for the pull request, @gabor-boros! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
tutor-contrib-harmony-plugin/tutor_k8s_harmony_plugin/harmony_search/base.py
Outdated
Show resolved
Hide resolved
@gabor-boros Just want to mention that I'm going to test OpenSearch cluster. Sorry for such delay in doing the review. |
Testing notesSteps
I'm not able to get the
However I can see the cert in django settings:
Am I right that the current PR do not implement the mounting process of the cert into forum? Maybe we have to update to testing instruction because it doesn't work for me following the instructions directly?
In general everything looks great, I can create a cluster, create an opensearch user, copy cert to INSTANCE_NAMESPACE and run everything. Just need to understand how to test it properly. |
@cmltaWt0 Are you using this version of the forum (which is listed in the dependencies)? If yes, the forum pod should get the |
Yes. Using your branch:
And I have the volume definition in the forum deployment spec:
So we should be fine - UPD: OpenSearch has the same ca.crt too. So the idea is that OpenSearch works differently. |
@gabor-boros I've tested the flow from a scratch for ElasticSearch and it works perfectly! P.S. Also we need to rebase the source branch on top of |
@gabor-boros - friendly follow-up on this! |
@mphilbrick211 We are still waiting on a dependent tutor-forum PR. This PR is not forgotten |
008d257
to
fc1935a
Compare
@felipemontoya / @cmltaWt0 I would like to have another review/approve from you as I pushed some changes: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Just a one typo.
tutor-contrib-harmony-plugin/tutor_k8s_harmony_plugin/plugin.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Gabor Boros <[email protected]>
Co-authored-by: Matjaz Gregoric <[email protected]>
Signed-off-by: Gabor Boros <[email protected]>
Signed-off-by: Gabor Boros <[email protected]>
Signed-off-by: Gabor Boros <[email protected]>
Signed-off-by: Gabor Boros <[email protected]>
Signed-off-by: Gabor Boros <[email protected]>
Co-authored-by: Max Sokolski <[email protected]>
39c8b7c
to
412b6bf
Compare
Signed-off-by: Gabor Boros <[email protected]>
@gabor-boros 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
Description
The current configuration had several smaller misconfigurations and inconsistent naming, which made it challenging to configure the cluster properly. Also, there were unnecessary configuration steps that I got rid of.
This pull request refactors the way we set up and configure both Open Search and Elasticsearch for shared usage; also
tutor-forum
are installed? #48Dependencies
Testing
create_elasticsearch_user
commandScreenshots
Notes
I have tested that the Elasticsearch cluster is spinning up correctly, the user is created, the instance is deployed with tutor-forum installed. Also, the instance seems to work fine. However, I did not test the Open Search cluster -- though it should work.