maplelabs / opensearch-scaling-manager

0 stars 11 forks source link

Ansible script is failing while installing the scaling manager on the new node while performing scale up #469

Closed Akhil-Nair-ML closed 1 year ago

Akhil-Nair-ML commented 1 year ago
2023-03-14 19:53:51,278 p=12397 u=ubuntu n=ansible | fatal: [node-10-0-2-109]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname node-10-0-2-109: Temporary failure in name resolution", "unreachable": true}
2023-03-14 19:53:51,279 p=12397 u=ubuntu n=ansible | PLAY RECAP *********************************************************************
2023-03-14 19:53:51,279 p=12397 u=ubuntu n=ansible | node-10-0-2-109            : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0

This is happening because the /etc/hosts is not populated with the hostname of newly added node which is part of scaleUpPlaybook.yaml and rest of the configuration works fine.

The start will also fail as binary is not present.