<div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">I submitted an issue in github[1] the other day but didn't get any response, try my luck to attract attention here in case someone else has the same problem or already has a solution I didn't know, or hopefully, I missed something.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">The problem is when I want to get service list(the result should be an empty list), but I met with the following exception:</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/kubernetes/client/apis/core_v1_api.py", line 12951, in list_namespaced_service</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server     (data) = self.list_namespaced_service_with_http_info(namespace, **kwargs)</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/kubernetes/client/apis/core_v1_api.py", line 13054, in list_namespaced_service_with_http_info</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server     collection_formats=collection_formats)</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 321, in call_api</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server     _return_http_data_only, collection_formats, _preload_content, _request_timeout)</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 163, in __call_api</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server     return_data = self.deserialize(response_data, response_type)</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 236, in deserialize</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server     return self.__deserialize(data, response_type)</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 276, in __deserialize</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server     return self.__deserialize_model(data, klass)</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 622, in __deserialize_model</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server     instance = klass(**kwargs)</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/kubernetes/client/models/v1_service_list.py", line 60, in __init__</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server     self.items = items</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/kubernetes/client/models/v1_service_list.py", line 110, in items</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server     raise ValueError("Invalid value for `items`, must not be `None`")</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2018-01-10 06:31:58.930 6417 ERROR oslo_messaging.rpc.server ValueError: Invalid value for `items`, must not be `None`</blockquote></blockquote><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">[1]: <a href="https://github.com/kubernetes-incubator/client-python/issues/424">https://github.com/kubernetes-incubator/client-python/issues/424</a></div></div><div><br><font face="trebuchet ms, sans-serif">Cheers,<br>Lingxian Kong (Larry)</font></div></div></div></div></div></div></div></div></div></div></div></div>
</div>