kubevirt: `VERBOSITY` environment variable does not work as expected

What happened: The hack/manifests.sh script uses the VERBOSITY environment and passes it as an argument to ./hack/build-manifests.sh, which in turn creates manifests like Kubevirt CR.

However, setting this environment variable does not change the generated CR in any way.

What you expected to happen: When doing:

> export VERBOSITY=10
> make cluster-up && make cluster-sync
> # let it finish...
> k get -n kubevirt kubevirt kubevirt -o yaml

I expect to see all components (e.g. virt-handler, virt-launcher, etc) defined with the defined verbosity.

How to reproduce it (as minimally and precisely as possible): Look at the previous point above.

Additional thoughts: Since the variable does not work anyways, I think we can safely “break” backwards compatibility and change the variable name to KUBEVIRT_VERBOSITY for clearance.

Environment:

  • KubeVirt version (use virtctl version): v1.0.0

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 24 (16 by maintainers)

Most upvoted comments

This is being assigned for too long without updates so I’m moving it back to unassigned. If you are still working on this, please assign to yourself again so we can avoid duplicated work

/unassign

Yes indeed @shubmjagtap! Thanks for reaching out to help! Take your time and please let me know if you need any assistance.

/assign @shubmjagtap