Traceback (most recent call last):
File "/home/ubuntu/k8s-validation/jobs/integration/validation.py", line 474, in test_network_policies
await scp_to(
File "/home/ubuntu/k8s-validation/jobs/integration/utils.py", line 196, in scp_to
await asyncify(subprocess.check_call)(cmd.split())
File "/home/ubuntu/k8s-validation/jobs/integration/utils.py", line 104, in wrapper
return await loop.run_in_executor(None, partial)
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['juju', 'scp', '-m', 'foundation-openstack:admin/kubernetes-openstack', '/home/ubuntu/.local/share/juju/tmpkny3oqxm/netpolicy-test.yaml', 'kubernetes-control-plane/0:netpolicy-test.yaml']' returned non-zero exit status 1.
And the command output:
ERROR cannot connect to any address: [172.16.0.170:22]
This appears to be the same underlying issue as https://bugs.launchpad.net/bugs/2007708, in which juju scp commands fail when the kubernetes-control-plane units do not have floating IPs.
Traceback (most recent call last): ubuntu/ k8s-validation/ jobs/integratio n/validation. py", line 474, in test_network_ policies ubuntu/ k8s-validation/ jobs/integratio n/utils. py", line 196, in scp_to subprocess. check_call) (cmd.split( )) ubuntu/ k8s-validation/ jobs/integratio n/utils. py", line 104, in wrapper in_executor( None, partial) python3. 8/concurrent/ futures/ thread. py", line 57, in run python3. 8/subprocess. py", line 364, in check_call ror(retcode, cmd) CalledProcessEr ror: Command '['juju', 'scp', '-m', 'foundation- openstack: admin/kubernete s-openstack' , '/home/ ubuntu/ .local/ share/juju/ tmpkny3oqxm/ netpolicy- test.yaml' , 'kubernetes- control- plane/0: netpolicy- test.yaml' ]' returned non-zero exit status 1.
File "/home/
await scp_to(
File "/home/
await asyncify(
File "/home/
return await loop.run_
File "/usr/lib/
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/
raise CalledProcessEr
subprocess.
And the command output:
ERROR cannot connect to any address: [172.16.0.170:22]
This appears to be the same underlying issue as https:/ /bugs.launchpad .net/bugs/ 2007708, in which juju scp commands fail when the kubernetes- control- plane units do not have floating IPs.