python icon indicating copy to clipboard operation
python copied to clipboard

Add base_resource_lookup to ResourceList to avoid logging error

Open akalenyu opened this issue 2 years ago • 3 comments

Signed-off-by: Alex Kalenyuk [email protected]

What type of PR is this?

/kind bug

What this PR does / why we need it:

As seen in https://github.com/openshift/openshift-restclient-python/issues/430 We are hitting a bunch of these logging errors:

load cache error: __init__() got an unexpected keyword argument 'base_resource_lookup'

Which seem like they could be fixed by expecting this arg.

We might be off here so would appreciate any pointers, but kept it simple at this point without adding the actual client request support.

Thanks @myakove for the help.

Which issue(s) this PR fixes:

Fixes #1857

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


akalenyu avatar Jul 18 '22 11:07 akalenyu

Welcome @akalenyu!

It looks like this is your first PR to kubernetes-client/python 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-client/python has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. :smiley:

k8s-ci-robot avatar Jul 18 '22 11:07 k8s-ci-robot

/assign @fabianvf

yliaog avatar Jul 18 '22 12:07 yliaog

/assign @fabianvf

gentle ping, feel free to let us know if we are not in the right direction

akalenyu avatar Sep 01 '22 08:09 akalenyu

Sorry missed that, ping very much appreciated. Looks straightforward to me

fabianvf avatar Sep 01 '22 13:09 fabianvf

/approve

yliaog avatar Sep 01 '22 15:09 yliaog

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akalenyu, fabianvf, yliaog

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Sep 01 '22 15:09 k8s-ci-robot

Sorry missed that, ping very much appreciated. Looks straightforward to me

Thank you :pray: What would be the next step? did we need lgtm instead of approve?

akalenyu avatar Sep 05 '22 12:09 akalenyu

/lgtm

Maybe?

fabianvf avatar Sep 05 '22 15:09 fabianvf