When running `kayobe physical network configure --check` against Juniper
switches, Kayobe may fail with the following error:
Failed to import the required Python library (ncclient)
This is because the ncclient installation task is skipped by check mode.
Change-Id: I643f54a67edfe22a3fd5c86f157bd1246d617399
ncclient 0.6.7 has been released and includes a fix [1] for the host key
checking issue that required us to pin to 0.6.2.
Restrict the package to <0.7.0 to avoid potential breakage from new
releases of ncclient.
[1] ead7b64092
Change-Id: Ia665cffb11253f58bbdce7ea9892766c36f7af40
Story: 2006378
Task: 38765
Juniper physical network device configuration fails when running the
following command:
kayobe physical network configure --group switches
The error is as follows:
fatal: [switch]: FAILED! => {
"msg": "Unknown host key [<key>] for [[<IP>]:830]"
}
This is due to a bug [1] in ncclient.
This patch avoids the issue by pinning ncclient to version 0.6.2 or
lower.
[1] https://github.com/ncclient/ncclient/issues/302
Change-Id: I7ecd6cd3460bea56d0ab9cb221d0ef5b5ec2d0bb
Story: 2006378
Task: 36174
Ensure all references to the Ansible control host are worded as such, to
ensure consistency and avoid potential confusion with the OpenStack
controllers.
Change-Id: Id92e537ccbfdd55287b8eae296f649640c70ce17
As of ansible 2.3, it is no longer possible to use delegate_to with a host other
than localhost. Use of a jump host can be enabled via setting ProxyCommand in
ansible_ssh_common_args as for other hosts.
This package is required on the ansible control host, and is used by the
ansible-connection process to access the switches via a persistent SSH
connection. It must be installed in the kayobe virtual environment.