# Open edX ironwood.master - Notes Installation Problem

**URL:** <https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754>\
**Category:** Site Operations Help\
**Created:** [April 3, 2020, 1:53pm UTC](https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754 "2020-04-03T13:53:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azhar\_Mateen](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/azhar_mateen/32/723_2.png) [@Azhar\_Mateen](https://discuss.openedx.org/u/Azhar_Mateen)\
**Post date:** [April 3, 2020, 1:53pm UTC](https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754/1 "2020-04-03T13:53:14Z")

</div>

Hi,

I have installed Open edX release ironwood.master on AWS instance M5.XLarge by using the following guide:

[https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/146440579/Native+Open+edX+platform+Ubuntu+16.04+64+bit+Installation?focusedCommentId=787742740](https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/146440579/Native+Open+edX+platform+Ubuntu+16.04+64+bit+Installation?focusedCommentId=787742740)

The installation complete without any error. After that I tried to install notes tool by using the following guide:

[https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/26182212/How+to+Get+edX+Notes+Running](https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/26182212/How+to+Get+edX+Notes+Running)

The file /edx/app/edx\_ansible/edx\_ansible/playbooks/roles/edx\_notes\_api/defaults/main.yml don’t have the properties to change. For example: EDX\_NOTES\_API\_CLIENT\_SECRET is not there in the file. So I created my own configuration file at ~/config-notes.yml:

EDX\_NOTES\_API\_MYSQL\_DB\_PASS: \*\*\*  
EDX\_NOTES\_API\_MYSQL\_HOST: localhost  
EDX\_NOTES\_API\_DATASTORE\_NAME: “notes”  
EDX\_NOTES\_API\_SECRET\_KEY: I put over 50 chars key  
EDX\_NOTES\_API\_CLIENT\_ID: client id from the admin client configuration  
EDX\_NOTES\_API\_CLIENT\_SECRET: client secret from the admin client configuration

EDX\_NOTES\_API\_ALLOWED\_HOSTS:

- localhost
- lms.mydomain

Following is the error:

TASK [aws : Gather ec2 facts for use in other roles] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [localhost]: FAILED! =\> {“failed”: true, “msg”: “The module ec2\_metadata\_facts was not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run ‘git pull --rebase’ to correct this problem.”}  
to retry, use: --limit @/edx/app/edx\_ansible/edx\_ansible/playbooks/notes.retry

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=31 changed=3 unreachable=0 failed=1

Please help to resolve this issue. Thanks.

---

<div class="post-metadata">

**Author:** ![Melsu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/melsu/32/1978_2.png) [@Melsu](https://discuss.openedx.org/u/Melsu)\
**Post date:** [May 11, 2020, 7:42am UTC](https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754/2 "2020-05-11T07:42:08Z")

</div>

Hi mr. Mateen

Did you resolve this issue by any chance? I am getting same error

Regards

---

<div class="post-metadata">

**Author:** ![andrey.kryachko](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@andrey.kryachko](https://discuss.openedx.org/u/andrey.kryachko)\
**Post date:** [May 11, 2020, 9:44am UTC](https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754/3 "2020-05-11T09:44:41Z")

</div>

Hi @Melsu,

you can comment out [aws role](https://github.com/edx/configuration/blob/open-release/ironwood.2/playbooks/notes.yml#L9) call to use this playbook against nonAWS instance.

---

<div class="post-metadata">

**Author:** ![Melsu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/melsu/32/1978_2.png) [@Melsu](https://discuss.openedx.org/u/Melsu)\
**Post date:** [May 12, 2020, 8:43am UTC](https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754/4 "2020-05-12T08:43:13Z")

</div>

I did not understand could you pls provide the exact command used? It will be great help thanks

---

<div class="post-metadata">

**Author:** ![andrey.kryachko](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@andrey.kryachko](https://discuss.openedx.org/u/andrey.kryachko)\
**Post date:** [May 12, 2020, 12:02pm UTC](https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754/5 "2020-05-12T12:02:10Z")

</div>

```auto
$ cat ~/config-notes.yml
---
EDX_NOTES_API_VERSION: "open-release/ironwood.2"
EDXAPP_ENABLE_EDXNOTES: true
EDX_NOTES_API_MYSQL_DB_USER: "edx_notes_api"
EDX_NOTES_API_MYSQL_DB_NAME: "edx_notes_api"
EDXAPP_EDXNOTES_PUBLIC_API: "http://{{ EDXAPP_SITE_NAME }}:18120/api/v1"
EDXAPP_EDXNOTES_INTERNAL_API: "http://localhost:8120/api/v1"
EDX_NOTES_API_SECRET_KEY: "1234567890123456789012345678901234567890"
EDX_NOTES_API_CLIENT_ID: "12345678901234567890"
EDX_NOTES_API_CLIENT_SECRET: "1234567890123456789012345678901234567890"
EDX_NOTES_API_MYSQL_DB_PASS: "12345678901234567890"
EDX_NOTES_API_ALLOWED_HOSTS:
  - "127.0.0.1"
  - "localhost"
  - "{{ EDXAPP_SITE_NAME }}"
  - "{{ EDXAPP_SITE_NAME }}:18120"

$ /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i,localhost \
-C local \
-e@/edx/app/edx_ansible/server-vars.yml \
-e@~/config-notes.yml \
-enginx_sites=edx_notes_api \
-erole=nginx \
/edx/app/edx_ansible/edx_ansible/playbooks/run_role.yml

$ /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i,localhost \
-C local \
-e@/edx/app/edx_ansible/server-vars.yml \
-e@~/config-notes.yml \
-erole=edx_notes_api \
/edx/app/edx_ansible/edx_ansible/playbooks/run_role.yml

```

---

<div class="post-metadata">

**Author:** ![Melsu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/melsu/32/1978_2.png) [@Melsu](https://discuss.openedx.org/u/Melsu)\
**Post date:** [May 12, 2020, 3:55pm UTC](https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754/6 "2020-05-12T15:55:39Z")

</div>

Thanks for the responce I will try and get back to you. Appreciate your swift response.

Cheers

---

<div class="post-metadata">

**Author:** ![Melsu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/melsu/32/1978_2.png) [@Melsu](https://discuss.openedx.org/u/Melsu)\
**Post date:** [May 13, 2020, 6:55am UTC](https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754/7 "2020-05-13T06:55:57Z")

</div>

> [@andrey.kryachko](#):
>
> EDX\_NOTES\_API\_VERSION: “open-release/ironwood.2” EDXAPP\_ENABLE\_EDXNOTES: true EDX\_NOTES\_API\_MYSQL\_DB\_USER: “edx\_notes\_api” EDX\_NOTES\_API\_MYSQL\_DB\_NAME: “edx\_notes\_api” EDXAPP\_EDXNOTES\_PUBLIC\_API: “http://{{ EDXAPP\_SITE\_NAME }}:18120/api/v1” EDXAPP\_EDXNOTES\_INTERNAL\_API: “[http://localhost:8120/api/v1](http://localhost:8120/api/v1)” EDX\_NOTES\_API\_SECRET\_KEY: “1234567890123456789012345678901234567890” EDX\_NOTES\_API\_CLIENT\_ID: “12345678901234567890” EDX\_NOTES\_API\_CLIENT\_SECRET: “1234567890123456789012345678901234567890” EDX\_NOTES\_API\_MYSQL\_DB\_PASS: “12345678901234567890” EDX\_NOTES\_API\_ALLOWED\_HOSTS: - “127.0.0.1” - “localhost” - “{{ EDXAPP\_SITE\_NAME }}” - “{{ EDXAPP\_SITE\_NAME }}:18120”

I made these changes into /edx/app/edx\_ansible/edx\_ansible/playbooks/roles/edx\_notes\_api/defaults/main.yml file and /edx/app/edxapp/lms.env.json file and I did sudo

> [@andrey.kryachko](#):
>
> $ /edx/app/edx\_ansible/venvs/edx\_ansible/bin/ansible-playbook -i,localhost \ -C local \ -e@/edx/app/edx\_ansible/server-vars.yml \ -e@~/config-notes.yml \ -enginx\_sites=edx\_notes\_api \ -erole=nginx \ /edx/app/edx\_ansible/edx\_ansible/playbooks/run\_role.yml

Which returned the following error msg

ERROR! the playbook: local could not be found

Sorry I am Rookie in this field so it’s not very easy for me.

I am following instructions @ [https://blog.lawrencemcdaniel.com/open-edx-notes/](https://blog.lawrencemcdaniel.com/open-edx-notes/) if you can suggest where exactly shall I be deviating the command in order to achieve this task.

Thanks & Cheers  
Sujit

---

<div class="post-metadata">

**Author:** ![Melsu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/melsu/32/1978_2.png) [@Melsu](https://discuss.openedx.org/u/Melsu)\
**Post date:** [May 18, 2020, 9:28am UTC](https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754/8 "2020-05-18T09:28:45Z")

</div>

Thanks it finally worked for me ❤❤❤❤❤

---

<div class="post-metadata">

**Author:** ![Azhar\_Mateen](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/azhar_mateen/32/723_2.png) [@Azhar\_Mateen](https://discuss.openedx.org/u/Azhar_Mateen)\
**Post date:** [May 28, 2020, 9:22pm UTC](https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754/9 "2020-05-28T21:22:03Z")

</div>

@Melsu I will highly appreciate it if you can write down the steps/ commands to make the Ironwood Notes working. This will help to save a lot of time and effort of the edX Community.

---

<div class="post-metadata">

**Author:** ![Selli](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/selli/32/1062_2.png) [@Selli](https://discuss.openedx.org/u/Selli)\
**Post date:** [June 1, 2020, 1:54pm UTC](https://discuss.openedx.org/t/open-edx-ironwood-master-notes-installation-problem/1754/10 "2020-06-01T13:54:35Z")

</div>

Hi @Azhar_Mateen

I wish melsu and I could submit detailed guide but held up on a project however this shall be a good pointer.

You follow Lawrence McDaniel’s blog step 1 & step 2. Additionally define Version in step 2 as open-release/ironwood.2  
While performing step 3  
First and foremost even before using source command do

sudo vim /edx/app/edx\_ansible/edx\_ansible/playbooks/notes.yml

Add #/comment out -aws in role section.

Then follow

source /edx/app/edx\_ansible/venvs/edx\_ansible/bin/activate  
cd /edx/app/edx\_ansible/edx\_ansible/playbooks  
sudo ansible-playbook -i ‘localhost,’ -c local ./run\_role.yml -e ‘role=edxlocal’ -e@roles/edx\_notes\_api/defaults/main.yml

Subsequently run these 2 additional commands before going to step 4

sudo ansible-playbook -i ‘localhost,’ -c local ./run\_role.yml -e ‘role=nginx’ -e ‘nginx\_sites=edx\_notes\_api’ -e@roles/edx\_notes\_api/defaults/main.yml

&

sudo ansible-playbook -i ‘localhost,’ -c local ./run\_role.yml -e ‘role=edx\_notes\_api’ -e@roles/edx\_notes\_api/defaults/main.yml

Continue to step 4 and make sure you don’t use

-e@/edx/app/edx\_ansible/server-vars.yml

I think this shall work is what melsu told me. He isn’t able to come online due to personal reasons and he apologies for the delay.

Regards

Patel
