openshift/openshift-restclient-python

ERRROR: IOError: [Errno 2] No such file or directory, while using Ansible K8_facts plugin

Vadanmehta opened this issue · 5 comments

I am trying to run ansible playbook, usign K8_Facts plugin. kube_config.py gives IO Error[Errno 2] No such file or directory.

Openshift RES T Client not able to load the config, ( see the line 503 of Kube_config.py)

Ansible playbook, Log file & kube_config are attached..
k8facts_log 1.txt

Where is the kubernetes configuration supposed to come from?

I notice you're running ansible 2.7.0 - I know we fixed a bunch of kubernetes authorization bugs since that release - I'd strongly recommend upgrading to 2.8.1 or at least the latest 2.7 release

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.