You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from kubernetes import client
client.AppsV1Api().list_stateful_set_for_all_namespaces()
File "/Users/huyuhan/Projects/cmdb-sync/k8s/client.py", line 236, in analyze_sts_for_all_namespaces ret_sts = self.sts_api.list_stateful_set_for_all_namespaces() File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/apis/apps_v1_api.py", line 3137, in list_stateful_set_for_all_namespaces (data) = self.list_stateful_set_for_all_namespaces_with_http_info(**kwargs) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/apis/apps_v1_api.py", line 3234, in list_stateful_set_for_all_namespaces_with_http_info collection_formats=collection_formats) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 321, in call_api _return_http_data_only, collection_formats, _preload_content, _request_timeout) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 163, in __call_api return_data = self.deserialize(response_data, response_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 236, in deserialize return self.__deserialize(data, response_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 276, in __deserialize return self.__deserialize_model(data, klass) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 620, in __deserialize_model kwargs[attr] = self.__deserialize(value, attr_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 254, in __deserialize for sub_data in data] File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 276, in __deserialize return self.__deserialize_model(data, klass) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 620, in __deserialize_model kwargs[attr] = self.__deserialize(value, attr_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 276, in __deserialize return self.__deserialize_model(data, klass) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 620, in __deserialize_model kwargs[attr] = self.__deserialize(value, attr_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 276, in __deserialize return self.__deserialize_model(data, klass) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 620, in __deserialize_model kwargs[attr] = self.__deserialize(value, attr_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 276, in __deserialize return self.__deserialize_model(data, klass) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 622, in __deserialize_model instance = klass(**kwargs) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/models/v1_pod_spec.py", line 136, in __init__ self.containers = containers File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/models/v1_pod_spec.py", line 276, in containers raise ValueError("Invalid value forcontainers, must not be None") ValueError: Invalid value for containers, must not be None``
The text was updated successfully, but these errors were encountered:
from kubernetes import client
client.AppsV1Api().list_stateful_set_for_all_namespaces()
File "/Users/huyuhan/Projects/cmdb-sync/k8s/client.py", line 236, in analyze_sts_for_all_namespaces ret_sts = self.sts_api.list_stateful_set_for_all_namespaces() File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/apis/apps_v1_api.py", line 3137, in list_stateful_set_for_all_namespaces (data) = self.list_stateful_set_for_all_namespaces_with_http_info(**kwargs) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/apis/apps_v1_api.py", line 3234, in list_stateful_set_for_all_namespaces_with_http_info collection_formats=collection_formats) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 321, in call_api _return_http_data_only, collection_formats, _preload_content, _request_timeout) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 163, in __call_api return_data = self.deserialize(response_data, response_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 236, in deserialize return self.__deserialize(data, response_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 276, in __deserialize return self.__deserialize_model(data, klass) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 620, in __deserialize_model kwargs[attr] = self.__deserialize(value, attr_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 254, in __deserialize for sub_data in data] File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 276, in __deserialize return self.__deserialize_model(data, klass) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 620, in __deserialize_model kwargs[attr] = self.__deserialize(value, attr_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 276, in __deserialize return self.__deserialize_model(data, klass) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 620, in __deserialize_model kwargs[attr] = self.__deserialize(value, attr_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 276, in __deserialize return self.__deserialize_model(data, klass) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 620, in __deserialize_model kwargs[attr] = self.__deserialize(value, attr_type) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 276, in __deserialize return self.__deserialize_model(data, klass) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 622, in __deserialize_model instance = klass(**kwargs) File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/models/v1_pod_spec.py", line 136, in __init__ self.containers = containers File "/Users/huyuhan/.pyenv/versions/cmdb-sync/lib/python2.7/site-packages/kubernetes/client/models/v1_pod_spec.py", line 276, in containers raise ValueError("Invalid value for
containers, must not be
None") ValueError: Invalid value for
containers, must not be
None``The text was updated successfully, but these errors were encountered: