Uploaded image for project: 'FOLIO'
  1. FOLIO
  2. FOLIO-3162

Updated Elasticsearch role breaks Vagrant build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Done
    • Component/s: None
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      DevOps Sprint 114
    • Development Team:
      FOLIO DevOps

      Description

      After the updates to folio-ansible done as part of FOLIO-3161, the Vagrant box builds that use Elasticsearch are failing with the error:

      snapshot: fatal: [default]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/home/vagrant/.ansible/tmp/ansible-tmp-1620890530.67-7155-102905556749456/AnsiballZ_sysctl.py\", line 102, in <module>\n    _ansiballz_main()\n  File \"/home/vagrant/.ansible/tmp/ansible-tmp-1620890530.67-7155-102905556749456/AnsiballZ_sysctl.py\", line 94, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/home/vagrant/.ansible/tmp/ansible-tmp-1620890530.67-7155-102905556749456/AnsiballZ_sysctl.py\", line 40, in invoke_module\n    runpy.run_module(mod_name='ansible.modules.system.sysctl', init_globals=None, run_name='__main__', alter_sys=True)\n  File \"/usr/lib/python3.8/runpy.py\", line 207, in run_module\n    return _run_module_code(code, init_globals, run_name, mod_spec)\n  File \"/usr/lib/python3.8/runpy.py\", line 97, in _run_module_code\n    _run_code(code, mod_globals, init_globals,\n  File \"/usr/lib/python3.8/runpy.py\", line 87, in _run_code\n    exec(code, run_globals)\n  File \"/tmp/ansible_sysctl_payload_jw7t6qkj/ansible_sysctl_payload.zip/ansible/modules/system/sysctl.py\", line 420, in <module>\n  File \"/tmp/ansible_sysctl_payload_jw7t6qkj/ansible_sysctl_payload.zip/ansible/modules/system/sysctl.py\", line 414, in main\n  File \"/tmp/ansible_sysctl_payload_jw7t6qkj/ansible_sysctl_payload.zip/ansible/modules/system/sysctl.py\", line 133, in __init__\n  File \"/tmp/ansible_sysctl_payload_jw7t6qkj/ansible_sysctl_payload.zip/ansible/modules/system/sysctl.py\", line 191, in process\n  File \"/tmp/ansible_sysctl_payload_jw7t6qkj/ansible_sysctl_payload.zip/ansible/modules/system/sysctl.py\", line 369, in write_sysctl\n  File \"/usr/lib/python3.8/tempfile.py\", line 471, in mkstemp\n    return _mkstemp_inner(dir, prefix, suffix, flags, output_type)\n  File \"/usr/lib/python3.8/tempfile.py\", line 389, in _mkstemp_inner\n    fd = _os.open(file, flags, 0o600)\nPermissionError: [Errno 13] Permission denied: '/etc/.ansible_m_sysctl_6stjfrr8.conf'\nShared connection to 127.0.0.1 closed.\r\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
      

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                wayne Wayne Schneider
                Reporter:
                wayne Wayne Schneider
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases