Was wondering if anyone has experience of using ansible with Huawei successfully?
We are using Huawei at our IX and I am able to use ad-hoc commands with Huawei but playbooks based on documentation fail with a ncclient related error. We do have nc client as well as netconf installed on the machine.
The full traceback is:
Traceback (most recent call last):
File "/usr/local/bin/ansible-connection", line 106, in start
self.connection._connect()
File "/Library/Python/2.7/site-packages/ansible/plugins/connection/netconf.py", line 288, in _connect
ssh_config=ssh_config
File "/Library/Python/2.7/site-packages/ncclient/manager.py", line 163, in connect
return connect_ssh(*args, **kwds)
File "/Library/Python/2.7/site-packages/ncclient/manager.py", line 128, in connect_ssh
session.connect(*args, **kwds)
File "/Library/Python/2.7/site-packages/ncclient/transport/ssh.py", line 485, in connect
raise SSHError("Could not open connection, possibly due to unacceptable"
SSHError: Could not open connection, possibly due to unacceptable SSH subsystem name.
fatal: [$Host]: FAILED! => {
"msg": "Could not open connection, possibly due to unacceptable SSH subsystem name."
}