Nick Allen created METRON-1432: ---------------------------------- Summary: JDK Install Fails on Ubuntu Key: METRON-1432 URL: https://issues.apache.org/jira/browse/METRON-1432 Project: Metron Issue Type: Bug Reporter: Nick Allen Assignee: Nick Allen
When deploying Metron in the Ubuntu-based development environment, the JDK fails to install. The following exception is seen. {code:java} 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.{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)