Skip to content

config.load_kube_config fails with Exception TypeError: "'NoneType' object is not callable" #625

@Jainbrt

Description

@Jainbrt

Hi Team,
I have tried simple code to load kube config but it is failing saying "'NoneType' object is not callable" .

[root@node1 ~]# cat list.py
import os
from kubernetes import client, config
config.load_kube_config()

[root@node1 ~]# python list.py
Exception TypeError: "'NoneType' object is not callable" in <function _removeHandlerRef at 0x7fc213b85c80> ignored

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions