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

Adapter Crash: Should not be using GitHub API #143

Closed
leecalcote opened this issue Sep 4, 2023 · 2 comments
Closed

Adapter Crash: Should not be using GitHub API #143

leecalcote opened this issue Sep 4, 2023 · 2 comments
Labels
issue/stale Issue has not had any activity for an extended period of time kind/bug Something isn't working language/go Golang related priority/urgent Issue to be addressed urgently

Comments

@leecalcote
Copy link
Member

Current Behavior

Expected Behavior

Screenshots/Logs

time="2023-09-04T17:53:19Z" level=info msg="Adaptor Listening at port: 10012" app=cilium-adapter
time="2023-09-04T17:53:19Z" level=info msg="Registering static workloads..." app=cilium-adapter
time="2023-09-04T17:53:19Z" level=info msg="Registering latest workload components for version v1.15.0-pre.0" app=cilium-adapter
time="2023-09-04T17:53:19Z" level=info msg="Component creation completed for version v1.15.0-pre.0" app=cilium-adapter
time="2023-09-04T17:53:19Z" level=info msg="Registering workloads with Meshery Server for version v1.15.0-pre.0" app=cilium-adapter
panic: interface conversion: error is *fs.PathError, not *errors.Error

goroutine 25 [running]:
github.com/layer5io/meshkit/errors.GetCode({0x27f4940?, 0xc00044a2a0?})
	/go/pkg/mod/github.com/layer5io/[email protected]/errors/errors.go:105 +0x90
github.com/layer5io/meshkit/logger.(*Logger).Error(0xc0001223a0, {0x27f4940, 0xc00044a2a0})
	/go/pkg/mod/github.com/layer5io/[email protected]/logger/logger.go:75 +0xbe
main.registerWorkloads({0x245f844, 0x5}, {0x28195d8, 0xc0001223a0})
	/github.com/meshery/meshery-cilium/main.go:222 +0x7f6
main.registerDynamicCapabilities({0x245f844, 0x5}, {0x28195d8, 0xc0001223a0})
	/github.com/meshery/meshery-cilium/main.go:166 +0x2d
created by main.main
	/github.com/meshery/meshery-cilium/main.go:113 +0x6d5
Could not find CRD names. Will fail component creation... API rate limit exceeded for 147.75.47.9. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Error closing file: invalid argument

Environment

  • Host OS: Mac Linux Windows
  • Platform: Docker or Kubernetes
  • Meshery Server Version: stable-v
  • Meshery Client Version: stable-v

Contributor Guides and Resources

@leecalcote leecalcote added kind/bug Something isn't working language/go Golang related priority/urgent Issue to be addressed urgently labels Sep 4, 2023
@stale
Copy link

stale bot commented Oct 9, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the issue/stale Issue has not had any activity for an extended period of time label Oct 9, 2023
@stale
Copy link

stale bot commented Oct 19, 2023

This issue is being automatically closed due to inactivity. However, you may choose to reopen this issue.

@stale stale bot closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/stale Issue has not had any activity for an extended period of time kind/bug Something isn't working language/go Golang related priority/urgent Issue to be addressed urgently
Projects
None yet
Development

No branches or pull requests

1 participant