Created 03-06-2017 04:00 PM
My single node 0.3.1 singlenode install keeps failing at the "Import GeoIP DDL" task:
TASK [mysql_server : Import GeoIP DDL] ***************************************** fatal: [node1]: FAILED! => {"changed": false, "failed": true, "msg": "unable to connect to database, check login_user and login_password are correct or /root/.my.cnf has the credentials. Exception message: (1045, \"Access denied for user 'root'@'localhost' (using password: YES)\")"}
Any ideas?
Created 03-06-2017 06:50 PM
Are you sure that you are using 0.3.1? We no longer use MySQL for the geo-enrichment in 0.3.1. Can you reply with the output of running `metron-deployment/scripts/platform-info.sh`?
Created 03-06-2017 07:03 PM
@nallen My fault - you're correct... I hit the download link at https://metron.incubator.apache.org/documentation/#releases, and didn't read the whole description. I had assumed that the latest version would actually be the latest version.
(71064270@macthing:~/incubator-metron/metron-deployment/scripts$) => platform-info.sh Metron 0.3.0 fatal: Not a git repository (or any of the parent directories): .git -- ansible 2.0.0.2 config file = configured module search path = Default w/o overrides -- Vagrant 1.9.2 -- Python 2.7.12 -- Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T10:41:47-06:00) Maven home: /usr/local/Cellar/maven/3.3.9/libexec Java version: 1.8.0_121, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac" -- Darwin macthing 15.6.0 Darwin Kernel Version 15.6.0: Mon Jan 9 23:07:29 PST 2017; root:xnu-3248.60.11.2.1~1/RELEASE_X86_64 x86_64
Created 03-06-2017 07:09 PM
The `0.3.1` release has not occurred yet. The latest release is in-fact 0.3.0.
Created 03-06-2017 07:10 PM
What exact commands have you run? I don't know exactly what you mean by "single node". There is a "Quick Dev" and "Full Dev" that are commonly used, both of which are single node.
Created 03-07-2017 03:27 AM
Nevermind... I ssh'd in to node1 and updated Python... not sure if that was what solved the problem, or if I had a bad connection... But after I started the provisioning again, I made it past the Elasticsearch install.
------------------------------------------------------------------------------------------------------------------------------------------------------
Ok, now on 0.3.1, I'm failing on adding the Elasticsearch GPG keys...
TASK [elasticsearch : Add Elasticsearch GPG key] ******************************* fatal: [node1]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to validate the SSL certificate for packages.elastic.co:443. Make sure your managed systems have a valid CA certificate installed. If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine. You can use validate_certs=False if you do not need to confirm the server\\s identity but this is unsafe and not recommended Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible"}
And, in case it helps, here's the output of platform-info.sh:
(71064270@macthing:~/incubator-metron/metron-deployment/scripts$) => platform-info.sh Metron 0.3.1 fatal: Not a git repository (or any of the parent directories): .git -- ansible 2.0.0.2 config file = configured module search path = Default w/o overrides -- Vagrant 1.9.2 -- Python 2.7.12 -- Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T10:41:47-06:00) Maven home: /usr/local/Cellar/maven/3.3.9/libexec Java version: 1.8.0_121, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac" -- Darwin macthing 15.6.0 Darwin Kernel Version 15.6.0: Mon Jan 9 23:07:29 PST 2017; root:xnu-3248.60.11.2.1~1/RELEASE_X86_64 x86_64 -- Total System Memory = 16384 MB Processor Model: Intel(R) Core(TM) i7-4870HQ CPU Processor Speed: 2.50GHz Total Physical Processors: 4 Total cores: 4 Disk information: /dev/disk1 465Gi 403Gi 61Gi 87% 105824146 16019564 87% /