Issue
You receive the following error when deploying with the Kubernetes plugin:
[Using API version: v1]
[ERROR]: Error while executing script [xld/kubernetes/resource/steps/deployment/create_update_wait
.py]: AttributeError: 'module' object has no attribute 'UTC' in <script> at line number 9
[ERROR]: com.xebialabs.platform.script.jython.JythonException: Error while executing script
[xld/kubernetes/resource/steps/deployment/create_update_wait.py]: AttributeError: 'module'
object has no attribute 'UTC' in <script> at line number 9
[ERROR]: at com.xebialabs.platform.script.jython.JythonException$.apply(JythonException.scala:17)
[ERROR]: at com.xebialabs.platform.script.jython.JythonSupport.executeScript(JythonSupport.scala:75)
[ERROR]: at com.xebialabs.platform.script.jython.JythonSupport.$anonfun$executeScript$1(Jython
Support.scala:57)
[ERROR]: at com.xebialabs.platform.script.jython.JythonSupport.withThreadLocalWriter(Jython
Support.scala:95)
[ERROR]: at com.xebialabs.platform.script.jython.JythonSupport.executeScript(JythonSupport.scala:50)
Affected Products & Versions
Deploy with k8 plugin version 10.3.0
Workaround/Resolution Action
Upgrade the xld-kubernetes-plugin version to 10.3.1 or above
Important
The following plugins should be in the same major versions. A minor version change shouldn't be a problem.
- xld-aws-plugin
- xld-azure-plugin
- xld-docker-plugin
- xld-kubernetes-plugin
Comments
Please sign in to leave a comment.