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

53: server misbehaving #1437

Open
tiansiyuan opened this issue Dec 21, 2023 · 9 comments
Open

53: server misbehaving #1437

tiansiyuan opened this issue Dec 21, 2023 · 9 comments
Labels
helping-with-an-issue Debugging happening to identify the problem

Comments

@tiansiyuan
Copy link

What steps did you take:
kubectl get packagerepository kubeflow-carvel-repo -o=jsonpath={.status.usefulErrorMessage}

What happened:
vendir: Error: Syncing directory '0':
Syncing directory '.' with imgpkgBundle contents:
Fetching image:
Error while preparing a transport to talk with the registry:
Unable to create round tripper:
Get "https://projects.registry.vmware.com/v2/": dial tcp: lookup projects.registry.vmware.com on 10.152.183.10:53: server misbehaving

What did you expect:
[A description of what was expected and the yaml that should have been generated]

Anything else you would like to add:
[Additional information that will assist in solving the issue.]

@tiansiyuan tiansiyuan added bug This issue describes a defect or unexpected behavior carvel-triage This issue has not yet been reviewed for validity labels Dec 21, 2023
@praveenrewar
Copy link
Member

Hey @tiansiyuan! Could you share more information on what was your expected behaviour and how was it different from the output that you got.
(Based on the output that you shared it seems like you are not able to connect to the registry from where you are trying to fetch config.)

@tiansiyuan
Copy link
Author

Hi @praveenrewar This was diagnosis I made after searching for solution my issue.

I could not add carvel package repository. The output is similar:

$ kctrl -n carvel-kubeflow-namespace package repository add  --repository kubeflow-carvel-repo  --url [projects.registry.vmware.com/kubeflow/kubeflow-carvel-repo:1.6.1](http://projects.registry.vmware.com/kubeflow/kubeflow-carvel-repo:1.6.1)
Target cluster 'https://10.117.4.12:16443/' (nodes: ai-poweredge-t620)
Waiting for package repository to be updated
4:18:11PM: Waiting for package repository reconciliation for 'kubeflow-carvel-repo'
4:24:31PM: Fetch failed
	  | vendir: Error: Syncing directory '0':
	  |  Syncing directory '.' with imgpkgBundle contents:
	  |   Fetching image:
	  |    Error while preparing a transport to talk with the registry:
	  |     Unable to create round tripper:
	  |      Get "https://projects.registry.vmware.com/v2/": dial tcp: lookup [projects.registry.vmware.com](http://projects.registry.vmware.com/) on 10.152.183.10:53: server misbehaving
	  |
	  | Fetching resources: Error (see .status.usefulErrorMessage for details)
kctrl: Error: Reconciling repository:
 Fetch failed

I expected I could add it and install the packages as next step.

The whole procedure is described at https://github.com/vmware/vSphere-machine-learning-extension/blob/main/docs/install/tkgs.rst

@praveenrewar
Copy link
Member

@tiansiyuan The url should just be projects.registry.vmware.com/kubeflow/kubeflow-carvel-repo:1.6.1 and not [projects.registry.vmware.com/kubeflow/kubeflow-carvel-repo:1.6.1](http://projects.registry.vmware.com/kubeflow/kubeflow-carvel-repo:1.6.1).

Do you have access to projects.registry.vmware.com? Are you able to pull from the registry from another pod?

@renuy renuy removed bug This issue describes a defect or unexpected behavior carvel-triage This issue has not yet been reviewed for validity labels Jan 9, 2024
@renuy renuy transferred this issue from carvel-dev/carvel Jan 9, 2024
@renuy renuy added the helping-with-an-issue Debugging happening to identify the problem label Jan 9, 2024
@renuy
Copy link

renuy commented Jan 9, 2024

We have transferred to kapp-controller repo from carvel repo.

@tiansiyuan
Copy link
Author

@tiansiyuan The url should just be projects.registry.vmware.com/kubeflow/kubeflow-carvel-repo:1.6.1 and not [projects.registry.vmware.com/kubeflow/kubeflow-carvel-repo:1.6.1](http://projects.registry.vmware.com/kubeflow/kubeflow-carvel-repo:1.6.1).

Do you have access to projects.registry.vmware.com? Are you able to pull from the registry from another pod?

I do have access to projects.registry.vmware.com.

"https://" was added by github while editing the comment.

@tiansiyuan
Copy link
Author

We have transferred to kapp-controller repo from carvel repo.

@renuy Thank you. Could you tell me the issue number?

@praveenrewar
Copy link
Member

I do have access to projects.registry.vmware.com.

Are you able to pull from the registry from another pod in the same namespace?

Could you tell me the issue number?

We have transferred the issue in the same org (from one repo to another, as the carvel repo is used for docs), the number that you see on the top (1437) is the issue number.

@tiansiyuan
Copy link
Author

I do have access to projects.registry.vmware.com.

Are you able to pull from the registry from another pod in the same namespace?

I don't quite understand how to try this. Could you provide more info?

Thanks!

Could you tell me the issue number?

We have transferred the issue in the same org (from one repo to another, as the carvel repo is used for docs), the number that you see on the top (1437) is the issue number.

@praveenrewar
Copy link
Member

@tiansiyuan You can ssh into some other pod in the same namespace and see if you are able to access the registry there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
helping-with-an-issue Debugging happening to identify the problem
Projects
Status: No status
Development

No branches or pull requests

3 participants