Merge "executor: add extra kubectl port-forward debug and releasenotes"

This commit is contained in:
Zuul
2020-05-27 17:54:12 +00:00
committed by Gerrit Code Review
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
---
fixes:
- |
In some cases (such as when an older version of kubectl is present on the executor,
or the kubectl on the executor is from OpenShift), streaming logs from Kubernetes or
OpenShift pods did not work.
The log streaming system has been corrected to work with a wider range of kubectl
versions and error logging has been improved.

View File

@@ -355,6 +355,7 @@ class KubeFwd(object):
self.port = m.group(1)
else:
try:
self.log.error("Could not find the forwarded port: %s", line)
fwd.kill()
except Exception:
pass