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

Linter Node : no linters matched query #341

Closed
hamelg opened this issue Sep 25, 2024 · 2 comments
Closed

Linter Node : no linters matched query #341

hamelg opened this issue Sep 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@hamelg
Copy link

hamelg commented Sep 25, 2024

Describe the bug
The linter Node is never activated

To Reproduce
Steps to reproduce the behavior:

popeye -s no -A

says

Boom! 💥 no linters matched query. check section selector

Debug output

2:29PM DBG Connecting to API Server https://api.xxxxr:6443
2:29PM DBG Lint 7.743575ms
2:29PM ERR 💥 no linters matched query. check section selector

2:29PM ERR goroutine 1 [running]:
runtime/debug.Stack()
	runtime/debug/stack.go:26 +0x5e
github.com/derailed/popeye/pkg.BailOut({0x5db138a666c8, 0xc0007e47e0})
	github.com/derailed/popeye/pkg/helpers.go:24 +0x10f
github.com/derailed/popeye/cmd.doIt.func1()
	github.com/derailed/popeye/cmd/root.go:57 +0x7e
panic({0x5db1385bc9e0?, 0xc0007e47e0?})
	runtime/panic.go:785 +0x132
github.com/derailed/popeye/cmd.bomb({0x5db138a666c8?, 0xc0007e4730?})
	github.com/derailed/popeye/cmd/root.go:87 +0xdb
github.com/derailed/popeye/cmd.doIt(0xc000121100?, {0x5db137d9cac5?, 0x4?, 0x5db137d9c991?})
	github.com/derailed/popeye/cmd/root.go:73 +0xf0
github.com/spf13/cobra.(*Command).execute(0x5db13a253720, {0xc000052110, 0x3, 0x3})
	github.com/spf13/cobra@v1.8.1/command.go:989 +0xa91
github.com/spf13/cobra.(*Command).ExecuteC(0x5db13a253720)
	github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.8.1/command.go:1041
github.com/derailed/popeye/cmd.Execute(...)
	github.com/derailed/popeye/cmd/root.go:48
main.main()
	github.com/derailed/popeye/main.go:28 +0x1b

Expected behavior
The list of node lints must be displayed.

Versions (please complete the following information):

  • OS: openshift 4.14
  • Popeye 0.21.5
  • K8s 1.27
@derailed derailed added the bug Something isn't working label Dec 30, 2024
@derailed
Copy link
Owner

@hamelg Good catch! Thank you for the heads up.

@derailed derailed mentioned this issue Dec 30, 2024
@derailed
Copy link
Owner

Fixed v0.21.6

tmeijn pushed a commit to tmeijn/dotfiles that referenced this issue Jan 3, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [derailed/popeye](https://github.com/derailed/popeye) | patch | `v0.21.5` -> `v0.21.6` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>derailed/popeye (derailed/popeye)</summary>

### [`v0.21.6`](https://github.com/derailed/popeye/releases/tag/v0.21.6)

[Compare Source](derailed/popeye@v0.21.5...v0.21.6)

<img src="https://raw.githubusercontent.com/derailed/popeye/master/assets/popeye_logo.png" align="right" width="200" height="auto"/>

### Release v0.21.6
#### Notes

Thank you to all that contributed with flushing out issues and enhancements for Popeye! I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev and see if we're happier with some of the fixes! If you've filed an issue please help me verify and close. Your support, kindness and awesome suggestions to make Popeye better is as ever very much noticed and appreciated!

This project offers a GitHub Sponsor button (over here 👆). As you well know this is not pimped out by big corps with deep pockets. If you feel `Popeye` is saving you cycles diagnosing potential cluster issues please consider sponsoring this project!! It does go a long way in keeping our servers lights on and beers in our fridge.

Also if you dig this tool, please make some noise on social! [@&#8203;kitesurfer](https://twitter.com/kitesurfer)

***

#### Maintenance Release

***

#### Resolved Issues

-   [#&#8203;370](derailed/popeye#370) default service account check
-   [#&#8203;356](derailed/popeye#356) Allow foreground execution, with output to STDOUT/STDERR and disabling output to popeye.log file
-   [#&#8203;341](derailed/popeye#341) Linter Node : no linters matched query
-   [#&#8203;337](derailed/popeye#337) Output logs in stdout instead of file
-   [#&#8203;301](derailed/popeye#301) Allow Popeye to be used by more than one user on a host (/tmp/popeye.log permission problem)
-   [#&#8203;267](derailed/popeye#267) Allow container exclusions based on regex
-   [#&#8203;200](derailed/popeye#200) Can't filter containers in spinach.yaml for deployments
-   [#&#8203;168](derailed/popeye#168) Skip checks at container level

***

<img src="https://raw.githubusercontent.com/derailed/popeye/master/assets/imhotep_logo.png" width="32" height="auto"/>  © 2024 Imhotep Software LLC. All materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44Ni4wIiwidXBkYXRlZEluVmVyIjoiMzkuODYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants