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

DaemonSet Plugin Status not Aggregated #972

Closed
zs-ddl opened this issue Oct 21, 2019 · 5 comments
Closed

DaemonSet Plugin Status not Aggregated #972

zs-ddl opened this issue Oct 21, 2019 · 5 comments

Comments

@zs-ddl
Copy link

zs-ddl commented Oct 21, 2019

What steps did you take and what happened:

Run a custom sonobuoy plugin Daemonset.

Sonobuoy status is split across multiple lines even when the status is the same for each Daemonset run.
Even when successfully passed, the output contains multiple lines.

$ sonobuoy status
   PLUGIN     STATUS   RESULT   COUNT
   custom   complete   failed       1
   custom   complete                4

Sonobuoy has completed. Use `sonobuoy retrieve` to get results.

What did you expect to happen:

Status to output a single line:

$ sonobuoy status
   PLUGIN     STATUS   RESULT   COUNT
   custom   complete   failed       5

Sonobuoy has completed. Use `sonobuoy retrieve` to get results.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Sonobuoy version:
Sonobuoy Version: v0.16.0
MinimumKubeVersion: 1.14.0
MaximumKubeVersion: 1.16.99
GitSHA: 6db0b0b7afeb904b2883bb8c3f379a47b5d01b44
  • Kubernetes version: (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-19T12:36:28Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.6-gke.13", GitCommit:"acdb9a03a6dc0f7f62d7acdda75c9a9faca50fee", GitTreeState:"clean", BuildDate:"2019-09-20T23:13:58Z", GoVersion:"go1.12.9b4", Compiler:"gc", Platform:"linux/amd64"}
  • Kubernetes installer & version: 1.14.6-gke.13
  • Cloud provider or hardware configuration: 1.14.6-gke.13
  • OS (e.g. from /etc/os-release): Container-Optimized OS (cos)
  • Sonobuoy tarball (which contains * below)
@johnSchnake
Copy link
Contributor

Thanks for the bug report; it was the same symptom I saw when creating #900 .
It has been resolved by #937 and went into the Sonobuoy 0.16.2 release.

@zs-ddl
Copy link
Author

zs-ddl commented Oct 22, 2019

@johnSchnake Unfortunately I still experience this issue even with 0.16.2 release

$ sonobuoy status 
   PLUGIN     STATUS   RESULT   COUNT
   custom   complete                1
   custom   complete   failed       1

Sonobuoy has completed. Use `sonobuoy retrieve` to get results.
$ sonobuoy version --kubeconfig ~/.kube/config
Sonobuoy Version: v0.16.2
MinimumKubeVersion: 1.14.0
MaximumKubeVersion: 1.16.99
GitSHA: 
API Version:  v1.14.6-gke.13
$ sw_vers 
ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G103

@zs-ddl
Copy link
Author

zs-ddl commented Oct 23, 2019

@johnSchnake can we reopen this issue?

@johnSchnake
Copy link
Contributor

@zs-ddl this information comes from processing done on the server side at, not from the client after the fact.

I'm guessing that you updated your client to v0.16.2 and retried the command on the older sonobuoy run? In that case you would see the same problem.

Let me know if that isnt the case; and if so, provide me with the output from kubectl get pod sonobuoy -n sonobuoy -o json

@zs-ddl
Copy link
Author

zs-ddl commented Oct 23, 2019

You're correct @johnSchnake , a destroy of the sonobuoy server and rerun fixed the issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants