Installing insights

Hi @ettayeb_mohamed
I am getting same issue

error: invalid_request The requested redirect didn’t match the client settings

so i rerun ansible playbook command I get this error:

ansible-playbook -i localhost, -c local analytics_single.yml --extra-vars “INSIGHTS_LMS_BASE=domain_name INSIGHTS_VERSION=open-release/ironwood.master ANALYTICS_API_VERSION=open-release/ironwood.master”

Error:

TASK [git_clone : Require a clean working tree] **********************************************************************************************************

failed: [localhost] (item={’_ansible_parsed’: True, ‘stderr_lines’: , u’changed’: True, u’end’: u’2020-03-14 14:34:00.235124’, ‘_ansible_no_log’: False, u’stdout’: u’ M analytics_dashboard/settings/base.py\n M package-lock.json’, ‘_ansible_item_result’: True, u’rc’: 0, u’start’: u’2020-03-14 14:34:00.228059’, u’cmd’: u’test ! -e “/edx/app/insights/edx_analytics_dashboard” || git -C “/edx/app/insights/edx_analytics_dashboard” status --porcelain --untracked-files=no’, ‘item’: u’/edx/app/insights/edx_analytics_dashboard’, u’delta’: u’0:00:00.007065’, u’invocation’: {u’module_args’: {u’creates’: None, u’executable’: None, u’_uses_shell’: True, u’_raw_params’: u’test ! -e “/edx/app/insights/edx_analytics_dashboard” || git -C “/edx/app/insights/edx_analytics_dashboard” status --porcelain --untracked-files=no’, u’removes’: None, u’warn’: True, u’chdir’: None}}, ‘stdout_lines’: [u’ M analytics_dashboard/settings/base.py’, u’ M package-lock.json’], u’stderr’: u’’}) => {“failed”: true, “item”: {“changed”: true, “cmd”: “test ! -e “/edx/app/insights/edx_analytics_dashboard” || git -C “/edx/app/insights/edx_analytics_dashboard” status --porcelain --untracked-files=no”, “delta”: “0:00:00.007065”, “end”: “2020-03-14 14:34:00.235124”, “invocation”: {“module_args”: {"_raw_params": “test ! -e “/edx/app/insights/edx_analytics_dashboard” || git -C “/edx/app/insights/edx_analytics_dashboard” status --porcelain --untracked-files=no”, “_uses_shell”: true, “chdir”: null, “creates”: null, “executable”: null, “removes”: null, “warn”: true}}, “item”: “/edx/app/insights/edx_analytics_dashboard”, “rc”: 0, “start”: “2020-03-14 14:34:00.228059”, “stderr”: “”, “stderr_lines”: , “stdout”: " M analytics_dashboard/settings/base.py\n M package-lock.json", “stdout_lines”: [" M analytics_dashboard/settings/base.py", " M package-lock.json"]}, “msg”: “There are modified files in /edx/app/insights/edx_analytics_dashboard: M analytics_dashboard/settings/base.py\n M package-lock.json”}
to retry, use: --limit @/root/configuration/playbooks/analytics_single.retry

PLAY RECAP *************************************************************************************************************************************************************
localhost : ok=192 changed=39 unreachable=0 failed=1

Pls, help me

Im facing the same error when installing insights: “Access Denied for user migrate@localhost”, which file did you edit so you could solve the migration error?

Thanks a lot :slight_smile:

Ok so this was my way to fix the migrations error: link

Hi

I also faced the same issue of authentication problem. But if I install with INSIGHTS_VERSION - I am using hawthorn- , I get errors related to futures 3.2.0

Can you please suggest any solution.

Thanks
Bindu

hi @ettayeb_mohamed can you share insights installation process

1 Like

Hello Bindu,
I had the same error and I was able of get rid of the error deleting the version of futures in the file

/edx/app/analytics_api/requirements/production.txt

Hi ettayeb_mohamed.
I’m namgu in south korea.
I had the same problem.

Error Message :
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Could not find the requested service [‘hdfs-namenode’, ‘hdfs-datanode’, ‘yarn-resourcemanager’, ‘yarn-nodemanager’, ‘yarn-proxyserver’, ‘mapreduce-historyserver’]: host”}

How did you solve it?
Please help…

Thank you…

Can you share insights installation guide ?

@namgu_kang you’ll have to disable this check in the playbook.

Hi, @c3ho. Thank for your ideal. How to disable this check in this playbook? Maybe commend this check?

@trungdiep configuration/main.yml at bac3ce1edefcdcd41c3bd42e9ba4cdd39e680ffc · edx/configuration · GitHub

You’ll want to comment out those specific lines (If that doesn’t work, comment out from 136-165)

Make sure hadoop is up and running

sudo su - hadoop #hadoop user
jps #this should show you if any hadoop services are running
start-all.sh #this will manually start hadoop if services are not running

@c3ho . Thank for your answer. I will try this