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

Error when building OS image for NutanixMachineTemplate resource #290

Open
jayesh-srivastava opened this issue May 30, 2023 · 2 comments
Open

Comments

@jayesh-srivastava
Copy link

/kind bug

What steps did you take and what happened:
Was trying to deploy a Nutanix workload cluster and had to give info for NUTANIX_MACHINE_TEMPLATE_IMAGE_NAME in clusterctl.yaml. So in turn was trying to build an OS image for NutanixMachineTemplate resource. I was following https://image-builder.sigs.k8s.io/capi/providers/nutanix.html. Filled up the required info in nutanix.json file. Running $ make build-nutanix-ubuntu-2204 gives error:

nutanix: output will be in this color.

==> nutanix: Creating Packer Builder virtual machine...
==> nutanix: Error creating virtual machine request: error while findImageByUUID, Error error while findClusterByName, Post "https://gateway-external-api.cloud.nutanix.com:9440/api/nutanix/v3/clusters/list": dial tcp [2600:140f:5:991::181c]:9440: connect: operation timed out
Build 'nutanix' errored after 2 minutes 30 seconds: error while findImageByUUID, Error error while findClusterByName, Post "https://gateway-external-api.cloud.nutanix.com:9440/api/nutanix/v3/clusters/list": dial tcp [2600:140f:5:991::181c]:9440: connect: operation timed out

==> Wait completed after 2 minutes 30 seconds

==> Some builds didn't complete successfully and had errors:
--> nutanix: error while findImageByUUID, Error error while findClusterByName, Post "https://gateway-external-api.cloud.nutanix.com:9440/api/nutanix/v3/clusters/list": dial tcp [2600:140f:5:991::181c]:9440: connect: operation timed out

==> Builds finished but no artifacts were created.
make: *** [build-nutanix-ubuntu-2204] Error 1

What did you expect to happen:
I expected image build to work without any errors.

Anything else you would like to add:
I have created an NC2 cluster and launched the Prism Element Console but couldn't deploy a Prism Central Instance due to all the Prism Central versions being incompatible with the AOS version. The AOS version is 6.6.2.

Environment:

  • Cluster-api-provider-nutanix version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):
@nutanix-cn-prow-bot
Copy link

@jayesh-srivastava: The label(s) kind/bug cannot be applied, because the repository doesn't have them.

In response to this:

/kind bug

What steps did you take and what happened:
Was trying to deploy a Nutanix workload cluster and had to give info for NUTANIX_MACHINE_TEMPLATE_IMAGE_NAME in clusterctl.yaml. So in turn was trying to build an OS image for NutanixMachineTemplate resource. I was following https://image-builder.sigs.k8s.io/capi/providers/nutanix.html. Filled up the required info in nutanix.json file. Running $ make build-nutanix-ubuntu-2204 gives error:

nutanix: output will be in this color.

==> nutanix: Creating Packer Builder virtual machine...
==> nutanix: Error creating virtual machine request: error while findImageByUUID, Error error while findClusterByName, Post "https://gateway-external-api.cloud.nutanix.com:9440/api/nutanix/v3/clusters/list": dial tcp [2600:140f:5:991::181c]:9440: connect: operation timed out
Build 'nutanix' errored after 2 minutes 30 seconds: error while findImageByUUID, Error error while findClusterByName, Post "https://gateway-external-api.cloud.nutanix.com:9440/api/nutanix/v3/clusters/list": dial tcp [2600:140f:5:991::181c]:9440: connect: operation timed out

==> Wait completed after 2 minutes 30 seconds

==> Some builds didn't complete successfully and had errors:
--> nutanix: error while findImageByUUID, Error error while findClusterByName, Post "https://gateway-external-api.cloud.nutanix.com:9440/api/nutanix/v3/clusters/list": dial tcp [2600:140f:5:991::181c]:9440: connect: operation timed out

==> Builds finished but no artifacts were created.
make: *** [build-nutanix-ubuntu-2204] Error 1

What did you expect to happen:
I expected image build to work without any errors.

Anything else you would like to add:
I have created an NC2 cluster and launched the Prism Element Console but couldn't deploy a Prism Central Instance due to all the Prism Central versions being incompatible with the AOS version. The AOS version is 6.6.2.

Environment:

  • Cluster-api-provider-nutanix version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

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.

@tuxtof
Copy link
Contributor

tuxtof commented Aug 28, 2023

@jayesh-srivastava any update ?

it seems you are even not able to connect to the cluster
did IPv6 is expected here ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants