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

bug: error looking up virtual workspace URL "controller-runtime-example-data.my.domain\" not found" #2107

Closed
akoserwal opened this issue Sep 30, 2022 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@akoserwal
Copy link

Describe the bug

1.664517613124293e+09 ERROR setup error looking up virtual workspace URL {"api-export-name": "controller-runtime-example-data.my.domain", "error": "error getting APIExport "controller-runtime-example-data.my.domain": apiexports.apis.kcp.dev "controller-runtime-example-data.my.domain" not found"}

Steps To Reproduce

make install
make run

Expected Behaviour

Name prefix defined controller-runtime-example-here
https://github.com/kcp-dev/controller-runtime-example/blob/main/Makefile#L193

https://github.com/kcp-dev/controller-runtime-example/blob/main/Makefile#L198

API Export created with the name: data.my.domain
https://github.com/kcp-dev/controller-runtime-example/blob/main/config/kcp/apiexport.yaml#L4

Removing the name prefix controller-runtime-example- or changing the API export name by adding a prefix should work.

Changing the name by adding a prefix to API export make it work but further see this issue

I0930 11:31:37.805817   86139 round_trippers.go:553] GET https://192.168.29.16:6443/services/apiexport/root:kafkatest/controller-runtime-example-data.my.domain/clusters/%2A/apis/data.my.domain/v1alpha1/widgets?limit=500&resourceVersion=0 404 Not Found in 7 milliseconds

Running with go run ./main.go --api-export-name data.my.domain

Also gives issues

I0930 11:41:26.675385   87311 round_trippers.go:553] GET https://192.168.29.16:6443/services/apiexport/root:kafkatest/data.my.domain/clusters/%2A/apis/data.my.domain/v1alpha1/widgets?limit=500&resourceVersion=0 404 Not Found in 1 milliseconds

Additional Context

No response

@akoserwal akoserwal added the kind/bug Categorizes issue or PR as related to a bug. label Sep 30, 2022
@fgiloux
Copy link
Contributor

fgiloux commented Sep 30, 2022

This looks like a duplicate of kcp-dev/controller-runtime-example#22

@akoserwal
Copy link
Author

@fgiloux one additional issue I see

I0930 11:31:37.805817 86139 round_trippers.go:553] GET https://192.168.29.16:6443/services/apiexport/root:kafkatest/controller-runtime-example-data.my.domain/clusters/%2A/apis/data.my.domain/v1alpha1/widgets?limit=500&resourceVersion=0 404 Not Found in 7 milliseconds

@ncdc
Copy link
Member

ncdc commented Sep 30, 2022

Let's keep this issue in controller-runtime-example - thanks.
/close

The 404 is #1183

@openshift-ci openshift-ci bot closed this as completed Sep 30, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 30, 2022

@ncdc: Closing this issue.

In response to this:

Let's keep this issue in controller-runtime-example - thanks.
/close

The 404 is #1183

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ncdc ncdc added this to kcp Oct 4, 2022
@ncdc ncdc moved this to New in kcp Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
Status: New
Development

No branches or pull requests

3 participants