Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-1432

JDK Install Fails on Ubuntu Development Environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • 0.5.0
    • None

    Description

      When deploying Metron in the Ubuntu-based development environment, the JDK fails to install.  The following exception is seen.

      TASK [java_jdk : Check for java at "/usr/jdk64/jdk1.8.0_77"] *******************
      ok: [node1]
      
      TASK [java_jdk : Alternatives link for java] ***********************************
      skipping: [node1] => (item={u'path': u'/usr/jdk64/jdk1.8.0_77/bin/java', u'link': u'/usr/bin/java', u'name': u'java'})
      skipping: [node1] => (item={u'path': u'/usr/jdk64/jdk1.8.0_77/bin/jar', u'link': u'/usr/bin/jar', u'name': u'jar'})
      
      TASK [java_jdk : Install openjdk] **********************************************
      failed: [node1] (item=[u'java-1.8.0-openjdk', u'java-1.8.0-openjdk-devel']) => {"failed": true, "item": ["java-1.8.0-openjdk", "java-1.8.0-openjdk-devel"], "module_stderr": "Shared connection to node1 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_4ssOWN/ansible_module_yum.py\", line 25, in <module>\r\n import yum\r\nImportError: No module named yum\r\n", "msg": "MODULE FAILURE"}
      to retry, use: --limit @/Users/nallen/tmp/metron-pr907/metron-deployment/development/ubuntu14/ansible/playbook.retry
      
      PLAY RECAP *********************************************************************
      node1 : ok=42 changed=26 unreachable=0 failed=1
      
      Ansible failed to complete successfully. Any error output should be
      visible above. Please fix these errors and try again.

      Attachments

        Issue Links

          Activity

            People

              nickwallen Nick Allen
              nickwallen Nick Allen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: