Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s_info - fix issue with kubernetes-client caching when api-server was available #571

Merged

Conversation

abikouo
Copy link
Contributor

@abikouo abikouo commented Jan 20, 2023

SUMMARY

closes #508

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

k8s_info

ADDITIONAL INFORMATION

@abikouo abikouo closed this Jan 20, 2023
@abikouo abikouo reopened this Jan 20, 2023
@softwarefactory-project-zuul
Copy link

Build failed.

✔️ build-ansible-collection SUCCESS in 4m 01s
ansible-test-sanity-docker-devel FAILURE in 9m 21s (non-voting)
ansible-test-sanity-docker-milestone FAILURE in 8m 52s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.9 SUCCESS in 13m 36s
✔️ ansible-test-sanity-docker-stable-2.11 SUCCESS in 10m 34s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 24s
✔️ ansible-test-units-kubernetes-core-python38 SUCCESS in 6m 11s
✔️ ansible-test-splitter SUCCESS in 2m 44s
✔️ integration-kubernetes.core-devel-1 SUCCESS in 26m 18s (non-voting)
integration-kubernetes.core-devel-2 TIMED_OUT in 1h 00m 57s (non-voting)
integration-kubernetes.core-devel-3 RETRY_LIMIT in 1h 00m 47s (non-voting)
✔️ integration-kubernetes.core-milestone-1 SUCCESS in 25m 44s
✔️ integration-kubernetes.core-milestone-2 SUCCESS in 55m 45s
✔️ integration-kubernetes.core-milestone-3 SUCCESS in 31m 54s
✔️ integration-kubernetes.core-2.9-1 SUCCESS in 27m 30s
✔️ integration-kubernetes.core-2.9-2 SUCCESS in 15m 32s
✔️ integration-kubernetes.core-2.9-3 SUCCESS in 33m 13s
integration-kubernetes.core-2.10-1 TIMED_OUT in 1h 01m 01s
✔️ integration-kubernetes.core-2.10-2 SUCCESS in 15m 35s
integration-kubernetes.core-2.10-3 TIMED_OUT in 1h 00m 44s
✔️ integration-kubernetes.core-with-turbo-1 SUCCESS in 25m 53s
✔️ integration-kubernetes.core-with-turbo-2 SUCCESS in 59m 47s
✔️ integration-kubernetes.core-with-turbo-3 SUCCESS in 30m 44s
✔️ ansible-tox-linters SUCCESS in 5m 04s
✔️ ansible-test-changelog SUCCESS in 2m 24s
✔️ ansible-galaxy-importer SUCCESS in 4m 15s

@abikouo abikouo closed this Jan 23, 2023
@abikouo abikouo reopened this Jan 23, 2023
@softwarefactory-project-zuul
Copy link

Build failed.

✔️ build-ansible-collection SUCCESS in 3m 20s
ansible-test-sanity-docker-devel FAILURE in 9m 49s (non-voting)
ansible-test-sanity-docker-milestone FAILURE in 8m 31s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.9 SUCCESS in 10m 07s
✔️ ansible-test-sanity-docker-stable-2.11 SUCCESS in 9m 38s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 7m 52s
✔️ ansible-test-units-kubernetes-core-python38 SUCCESS in 5m 44s
✔️ ansible-test-splitter SUCCESS in 2m 28s
✔️ integration-kubernetes.core-devel-1 SUCCESS in 25m 50s (non-voting)
integration-kubernetes.core-devel-2 RETRY_LIMIT in 1h 00m 39s (non-voting)
integration-kubernetes.core-devel-3 RETRY_LIMIT in 1h 00m 45s (non-voting)
integration-kubernetes.core-milestone-1 TIMED_OUT in 1h 00m 41s
integration-kubernetes.core-milestone-2 TIMED_OUT in 1h 00m 52s
integration-kubernetes.core-milestone-3 TIMED_OUT in 1h 00m 39s
integration-kubernetes.core-2.9-1 RETRY_LIMIT in 7m 05s
✔️ integration-kubernetes.core-2.9-2 SUCCESS in 49m 42s
integration-kubernetes.core-2.9-3 TIMED_OUT in 1h 00m 48s
integration-kubernetes.core-2.10-1 TIMED_OUT in 1h 00m 47s
✔️ integration-kubernetes.core-2.10-2 SUCCESS in 16m 14s
✔️ integration-kubernetes.core-2.10-3 SUCCESS in 30m 49s
integration-kubernetes.core-with-turbo-1 RETRY_LIMIT in 1h 00m 34s
integration-kubernetes.core-with-turbo-2 TIMED_OUT in 1h 00m 50s
✔️ integration-kubernetes.core-with-turbo-3 SUCCESS in 35m 42s
✔️ ansible-tox-linters SUCCESS in 4m 47s
✔️ ansible-test-changelog SUCCESS in 2m 13s
✔️ ansible-galaxy-importer SUCCESS in 3m 29s

@abikouo abikouo closed this Jan 23, 2023
@abikouo abikouo reopened this Jan 23, 2023
@softwarefactory-project-zuul
Copy link

Build failed.

✔️ build-ansible-collection SUCCESS in 3m 23s
ansible-test-sanity-docker-devel FAILURE in 8m 39s (non-voting)
ansible-test-sanity-docker-milestone FAILURE in 8m 02s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.9 SUCCESS in 10m 47s
✔️ ansible-test-sanity-docker-stable-2.11 SUCCESS in 10m 09s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 8m 19s
✔️ ansible-test-units-kubernetes-core-python38 SUCCESS in 6m 03s
✔️ ansible-test-splitter SUCCESS in 2m 32s
integration-kubernetes.core-devel-1 TIMED_OUT in 1h 00m 47s (non-voting)
integration-kubernetes.core-devel-2 TIMED_OUT in 1h 00m 42s (non-voting)
✔️ integration-kubernetes.core-devel-3 SUCCESS in 33m 49s (non-voting)
✔️ integration-kubernetes.core-milestone-1 SUCCESS in 25m 18s
✔️ integration-kubernetes.core-milestone-2 SUCCESS in 14m 43s
✔️ integration-kubernetes.core-milestone-3 SUCCESS in 31m 23s
✔️ integration-kubernetes.core-2.9-1 SUCCESS in 26m 27s
✔️ integration-kubernetes.core-2.9-2 SUCCESS in 15m 47s
✔️ integration-kubernetes.core-2.9-3 SUCCESS in 33m 06s
✔️ integration-kubernetes.core-2.10-1 SUCCESS in 26m 28s
integration-kubernetes.core-2.10-2 TIMED_OUT in 1h 00m 49s
✔️ integration-kubernetes.core-2.10-3 SUCCESS in 31m 40s
✔️ integration-kubernetes.core-with-turbo-1 SUCCESS in 26m 17s
✔️ integration-kubernetes.core-with-turbo-2 SUCCESS in 14m 32s
integration-kubernetes.core-with-turbo-3 RETRY_LIMIT in 7m 11s
✔️ ansible-tox-linters SUCCESS in 5m 07s
✔️ ansible-test-changelog SUCCESS in 2m 11s
✔️ ansible-galaxy-importer SUCCESS in 3m 49s

@softwarefactory-project-zuul
Copy link

Build failed.

✔️ build-ansible-collection SUCCESS in 3m 18s
ansible-test-sanity-docker-devel FAILURE in 11m 25s (non-voting)
ansible-test-sanity-docker-milestone FAILURE in 8m 35s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.9 SUCCESS in 11m 42s
✔️ ansible-test-sanity-docker-stable-2.11 SUCCESS in 10m 03s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 29s
✔️ ansible-test-units-kubernetes-core-python38 SUCCESS in 5m 55s
✔️ ansible-test-splitter SUCCESS in 2m 29s
integration-kubernetes.core-devel-1 TIMED_OUT in 1h 00m 47s (non-voting)
integration-kubernetes.core-devel-2 TIMED_OUT in 1h 00m 42s (non-voting)
integration-kubernetes.core-devel-3 TIMED_OUT in 1h 00m 45s (non-voting)
✔️ integration-kubernetes.core-milestone-1 SUCCESS in 56m 28s
✔️ integration-kubernetes.core-milestone-2 SUCCESS in 55m 15s
integration-kubernetes.core-milestone-3 TIMED_OUT in 1h 01m 10s
integration-kubernetes.core-2.9-1 TIMED_OUT in 1h 00m 52s
✔️ integration-kubernetes.core-2.9-2 SUCCESS in 16m 31s
integration-kubernetes.core-2.9-3 TIMED_OUT in 1h 01m 00s
✔️ integration-kubernetes.core-2.10-1 SUCCESS in 26m 56s
✔️ integration-kubernetes.core-2.10-2 SUCCESS in 16m 49s
integration-kubernetes.core-2.10-3 TIMED_OUT in 1h 00m 48s
✔️ integration-kubernetes.core-with-turbo-1 SUCCESS in 27m 39s
✔️ integration-kubernetes.core-with-turbo-2 SUCCESS in 16m 35s
✔️ integration-kubernetes.core-with-turbo-3 SUCCESS in 32m 21s
✔️ ansible-tox-linters SUCCESS in 4m 56s
✔️ ansible-test-changelog SUCCESS in 2m 14s
✔️ ansible-galaxy-importer SUCCESS in 3m 44s

@abikouo
Copy link
Contributor Author

abikouo commented Jan 24, 2023

recheck

@softwarefactory-project-zuul
Copy link

Build succeeded.

✔️ build-ansible-collection SUCCESS in 3m 18s
ansible-test-sanity-docker-devel FAILURE in 11m 25s (non-voting)
ansible-test-sanity-docker-milestone FAILURE in 7m 38s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.9 SUCCESS in 10m 51s
✔️ ansible-test-sanity-docker-stable-2.11 SUCCESS in 9m 32s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 8m 08s
✔️ ansible-test-units-kubernetes-core-python38 SUCCESS in 6m 29s
✔️ ansible-test-splitter SUCCESS in 2m 26s
✔️ integration-kubernetes.core-devel-1 SUCCESS in 25m 35s (non-voting)
✔️ integration-kubernetes.core-devel-2 SUCCESS in 13m 14s (non-voting)
✔️ integration-kubernetes.core-devel-3 SUCCESS in 26m 54s (non-voting)
✔️ integration-kubernetes.core-milestone-1 SUCCESS in 24m 22s
✔️ integration-kubernetes.core-milestone-2 SUCCESS in 13m 14s
✔️ integration-kubernetes.core-milestone-3 SUCCESS in 26m 38s
✔️ integration-kubernetes.core-2.9-1 SUCCESS in 24m 38s
✔️ integration-kubernetes.core-2.9-2 SUCCESS in 13m 36s
✔️ integration-kubernetes.core-2.9-3 SUCCESS in 27m 50s
✔️ integration-kubernetes.core-2.10-1 SUCCESS in 25m 34s
✔️ integration-kubernetes.core-2.10-2 SUCCESS in 13m 09s
✔️ integration-kubernetes.core-2.10-3 SUCCESS in 27m 07s
✔️ integration-kubernetes.core-with-turbo-1 SUCCESS in 24m 24s
✔️ integration-kubernetes.core-with-turbo-2 SUCCESS in 13m 31s
✔️ integration-kubernetes.core-with-turbo-3 SUCCESS in 26m 55s
✔️ ansible-tox-linters SUCCESS in 4m 53s
✔️ ansible-test-changelog SUCCESS in 2m 16s
✔️ ansible-galaxy-importer SUCCESS in 3m 34s

@softwarefactory-project-zuul
Copy link

Build succeeded (gate pipeline).

✔️ build-ansible-collection SUCCESS in 3m 22s
ansible-test-sanity-docker-devel FAILURE in 7m 40s (non-voting)
ansible-test-sanity-docker-milestone FAILURE in 10m 32s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.9 SUCCESS in 12m 12s
✔️ ansible-test-sanity-docker-stable-2.11 SUCCESS in 9m 32s
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 7m 43s
✔️ ansible-test-units-kubernetes-core-python38 SUCCESS in 5m 37s
✔️ ansible-test-splitter SUCCESS in 2m 33s
✔️ integration-kubernetes.core-devel-1 SUCCESS in 24m 49s (non-voting)
✔️ integration-kubernetes.core-devel-2 SUCCESS in 13m 22s (non-voting)
✔️ integration-kubernetes.core-devel-3 SUCCESS in 27m 37s (non-voting)
✔️ integration-kubernetes.core-milestone-1 SUCCESS in 26m 24s
✔️ integration-kubernetes.core-milestone-2 SUCCESS in 14m 09s
✔️ integration-kubernetes.core-milestone-3 SUCCESS in 31m 57s
✔️ integration-kubernetes.core-2.9-1 SUCCESS in 24m 36s
✔️ integration-kubernetes.core-2.9-2 SUCCESS in 16m 19s
✔️ integration-kubernetes.core-2.9-3 SUCCESS in 27m 44s
✔️ integration-kubernetes.core-2.10-1 SUCCESS in 27m 04s
✔️ integration-kubernetes.core-2.10-2 SUCCESS in 13m 18s
✔️ integration-kubernetes.core-2.10-3 SUCCESS in 32m 11s
✔️ integration-kubernetes.core-with-turbo-1 SUCCESS in 24m 58s
✔️ integration-kubernetes.core-with-turbo-2 SUCCESS in 15m 18s
✔️ integration-kubernetes.core-with-turbo-3 SUCCESS in 27m 35s
✔️ ansible-tox-linters SUCCESS in 4m 55s
✔️ ansible-test-changelog SUCCESS in 2m 19s
✔️ ansible-galaxy-importer SUCCESS in 4m 17s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit e6ac874 into ansible-collections:main Jan 24, 2023
abikouo added a commit to abikouo/kubernetes.core that referenced this pull request Jan 24, 2023
…as available (ansible-collections#571)

k8s_info - fix issue with kubernetes-client caching when api-server was available

SUMMARY
closes ansible-collections#508
ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

k8s_info
ADDITIONAL INFORMATION

Reviewed-by: Mike Graves <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

k8s_info returned is successful == true when the api-server was not reachable.
2 participants