idealista / solr_role

Ansible role to install an Apache Solr (Cloud) server/cluster
Apache License 2.0
25 stars 10 forks source link

Fix CI in Travis #55

Closed dortegau closed 5 years ago

dortegau commented 5 years ago

CI fails in Java because Java Installation during ZooKeeper installation:

https://travis-ci.org/idealista/solrcloud-role/jobs/453844457#L784

fatal: [zookeeper.vm]: FAILED! => {"changed": false, "cmd": "/usr/bin/apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EEA14886", "failed": true, "msg": "Error fetching key EEA14886 from keyserver: hkp://keyserver.ubuntu.com:80", "rc": 2, "stderr": "Warning: apt-key output should not be parsed (stdout is not a terminal)\ngpg: key 8F9293A1EEA14886: public key \"Totally Legit Signing Key <mallory@example.org>\" imported\ngpg: cannot open '/dev/tty': No such device or address\n", "stderr_lines": ["Warning: apt-key output should not be parsed (stdout is not a terminal)", "gpg: key 8F9293A1EEA14886: public key \"Totally Legit Signing Key <mallory@example.org>\" imported", "gpg: cannot open '/dev/tty': No such device or address"], "stdout": "Executing: /tmp/apt-key-gpghome.QXesoDqadE/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv EEA14886\n", "stdout_lines": ["Executing: /tmp/apt-key-gpghome.QXesoDqadE/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv EEA14886"]}

dortegau commented 5 years ago

Once CI in java role is fixed and role upgraded I have to fix idempotence in ZooKeeper role:

--> Action: 'idempotence'
ERROR: Idempotence test failed because of the following tasks:
* [zookeeper] => zookeeper : ZOOKEEPER | Untar zookeeper
* [zookeeper] => zookeeper : ZOOKEEPER | Update the log4j
* [zookeeper] => zookeeper : ZOOKEEPER | Configuring service

My feelings right now:

Fixing light bulb (MITM)