cilium: cilium config --all prints masks wrong
Is there an existing issue for this?
- I have searched the existing issues
What happened?
# cilium config --all | grep -B 2 Mask
LoadBalancerRSSv4
IP :
Mask : <nil>
--
LoadBalancerRSSv6
IP :
Mask : <nil>
--
NAT46Prefix
IP : 0.0.0.0
Mask : ////////////////AAAAAA==
Mask is formatted as random bytes output rather than as a human-readable mask such as 255.255.255.0 or /24
Cilium Version
# cilium version
Client: 1.11.0-rc3 c9d9f7e 2021-11-23T01:47:39+01:00 go version go1.17.3 linux/amd64
Daemon: 1.11.0-rc3 c9d9f7e 2021-11-23T01:47:39+01:00 go version go1.17.3 linux/amd64
Kernel Version
Any
Kubernetes Version
Any
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct
- I agree to follow this project’s Code of Conduct
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 21 (19 by maintainers)
Commits related to this issue
- cli: cilium config --all prints masks wrong Description: Issue: Cilium config prints unknown characters for Mask Root cause: Mask type is in byte format, So dumpConfig tries to conver byte into strin... — committed to Nagendra-boyina/cilium by Nagendra-boyina 2 years ago
- cli: cilium config --all prints masks wrong Description: Issue: Cilium config prints unknown characters for Mask Root cause: Mask type is in byte format, So dumpConfig tries to conver byte into strin... — committed to Nagendra-boyina/cilium by Nagendra-boyina 2 years ago
I would like to take up this issue , could you please assign to me?
Thanks for investigating @dipankardas011 @bewing ! Closing this one out.
You can try using
git greporgit grep -ifor specific strings in order to find which files have references to those names. From there you can explore and tinker with the code.