Actions
Task #12396
closedre-provision dev resource-registry and database
Status:
Closed
Priority:
Normal
Assignee:
Category:
Application
Target version:
Start date:
Sep 06, 2018
Due date:
% Done:
100%
Estimated time:
Infrastructure:
Development
Updated by Luca Frosini over 6 years ago
- Subject changed from re-provision dev resource-regsitry and database to re-provision dev resource-registry and database
Updated by Luca Frosini over 6 years ago
Trying to reprovision dev resource-registry I obtain the following error:
./run.sh smartgears-node.yml -i inventory/hosts.dev -l resource_registry_dev -e "gcube_admin_token=" ....... TASK [disable nagios alerts for this host services] ************************************************** failed: [resourceregistry1-d-d4s.d4science.org] (item=monitoring.research-infrastructures.eu) => {"item": "monitoring.research-infrastructures.eu", "msg": "SSH Error: data could not be sent to remote host \"monitoring.research-infrastructures.eu\". Make sure this host can be reached over ssh", "unreachable": true} fatal: [resourceregistry1-d-d4s.d4science.org]: UNREACHABLE! => {"changed": false, "msg": "All items completed", "results": [{"_ansible_ignore_errors": true, "_ansible_item_label": "monitoring.research-infrastructures.eu", "_ansible_item_result": true, "item": "monitoring.research-infrastructures.eu", "msg": "SSH Error: data could not be sent to remote host \"monitoring.research-infrastructures.eu\". Make sure this host can be reached over ssh", "unreachable": true}]} to retry, use: --limit @/home/lucafrosini/workspace/ANSIBLE/ansible-playbooks/d4science-ghn-cluster/smartgears-node.retry PLAY RECAP ******************************************************************************************* resourceregistry1-d-d4s.d4science.org : ok=1 changed=0 unreachable=1 failed=0
@andrea.dellamico@isti.cnr.it can you me?
Updated by Andrea Dell'Amico over 6 years ago
Add a ignore_errors: True
to the nagios related tasks. Take the geoserver-smartgears.yml playbook as an example.
Updated by Luca Frosini over 6 years ago
Sorry, I don't understand how to do it because this playbook seems developed in a different way.
Updated by Luca Frosini over 6 years ago
I mean there is no dedicated .yml file for resource-registry. §Instead the generic smartgears-node.yml
Updated by Luca Frosini over 6 years ago
Moreover, it already has ignore_errors: True
Updated by Luca Frosini over 6 years ago
@andrea.dellamico@isti.cnr.it found that ignore_errors: True does not work if the host is unreachable (see https://github.com/ansible/ansible/issues/18075 )
He made a temporary solution on ansible task that I already pushed on git repository.
Updated by Luca Frosini over 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
Actions