Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

[SE-4364] Update reindex_courses command to use --all option - #159

Merged
pkulkark merged 3 commits into
opencraft-release/koa.3from
pooja/fix-reindex-courses-command
May 14, 2021
Merged

[SE-4364] Update reindex_courses command to use --all option#159
pkulkark merged 3 commits into
opencraft-release/koa.3from
pooja/fix-reindex-courses-command

Conversation

@pkulkark

Copy link
Copy Markdown
Member

After upgrading to Koa, it was noticed that the courseware search stops working (after redeployment). Running reindex_courses command fixes the issue. We already have a config variable, EDXAPP_REINDEX_ALL_COURSES that when set will run reindex_courses command during deployment. However, it does not use the --all option as the name suggests, but rather uses --setup option. The setup option should only be used in a devstack installation and does not reindex courses in a production setup. This PR updates the ansible task to use --all option instead of --setup option.

Testing Instruction:

  1. Use this PR branch to deploy new OCIM instance.
  2. Ensure EDXAPP_REINDEX_ALL_COURSES is set to true in the config variables.
  3. Also set ENABLE_COURSEWARE_SEARCH and ENABLE_DASHBOARD_SEARCH to true, to enable courseware search.
  4. Wait for instance deployment to complete.
  5. Verify that the courseware search (in the right hand side of the dashboard page) works by returning some known search results.

Reviewers:

@pkulkark
pkulkark force-pushed the pooja/fix-reindex-courses-command branch 2 times, most recently from 042e7ee to bfc3a6a Compare May 6, 2021 11:58
@pkulkark
pkulkark force-pushed the pooja/fix-reindex-courses-command branch from bfc3a6a to 810248d Compare May 10, 2021 09:34
@pkulkark
pkulkark force-pushed the pooja/fix-reindex-courses-command branch from 767a7f9 to 3972e00 Compare May 13, 2021 13:22

@gabor-boros gabor-boros left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🎉 LGTM

  • I tested what's in the test instructions
  • I read through the code

@pkulkark
pkulkark merged commit 066fbf5 into opencraft-release/koa.3 May 14, 2021
pkulkark added a commit that referenced this pull request May 14, 2021
samuelallan72 pushed a commit that referenced this pull request Oct 5, 2021
samuelallan72 pushed a commit that referenced this pull request Oct 19, 2021
viadanna pushed a commit that referenced this pull request Mar 22, 2022
viadanna pushed a commit that referenced this pull request Apr 12, 2022
viadanna pushed a commit that referenced this pull request Apr 18, 2022
0x29a pushed a commit that referenced this pull request May 4, 2022
… it into forum role (#159)

#159

(cherry picked from commit 066fbf5)
(cherry picked from commit 0573de1)
@0x29a
0x29a deleted the pooja/fix-reindex-courses-command branch May 4, 2022 13:08
0x29a pushed a commit that referenced this pull request May 28, 2022
… it into forum role (#159)

#159

(cherry picked from commit 066fbf5)
(cherry picked from commit 0573de1)
0x29a pushed a commit that referenced this pull request May 30, 2022
… it into forum role (#159)

#159

(cherry picked from commit 066fbf5)
(cherry picked from commit 0573de1)
kaustavb12 pushed a commit that referenced this pull request Aug 29, 2022
… it into forum role (#159)

#159

(cherry picked from commit 066fbf5)
(cherry picked from commit 0573de1)
kaustavb12 pushed a commit that referenced this pull request Aug 29, 2022
… it into forum role (#159)

#159

(cherry picked from commit 066fbf5)
(cherry picked from commit 0573de1)
kaustavb12 pushed a commit that referenced this pull request Aug 29, 2022
… it into forum role (#159)

#159

(cherry picked from commit 066fbf5)
(cherry picked from commit 0573de1)
kaustavb12 pushed a commit that referenced this pull request Aug 29, 2022
… it into forum role (#159)

#159

(cherry picked from commit 066fbf5)
(cherry picked from commit 0573de1)
Cup0fCoffee pushed a commit that referenced this pull request Sep 28, 2022
… it into forum role (#159)

#159

(cherry picked from commit 066fbf5)
(cherry picked from commit 0573de1)
(cherry picked from commit 459da29)
Cup0fCoffee pushed a commit that referenced this pull request Oct 5, 2022
… move it into forum role (#159)

#159

(cherry picked from commit 066fbf5)
(cherry picked from commit 0573de1)
(cherry picked from commit 459da29)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants