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

Cluster creation failing due to image upload error #2136

Open
pjsharath28 opened this issue Jan 19, 2025 · 1 comment
Open

Cluster creation failing due to image upload error #2136

pjsharath28 opened this issue Jan 19, 2025 · 1 comment
Labels
area/provider/ibmcloud Issues or PRs related to ibmcloud provider kind/bug Categorizes issue or PR as related to a bug.

Comments

@pjsharath28
Copy link
Contributor

/kind bug
/area provider/ibmcloud

What steps did you take and what happened:

I tried to create cluster using the following command:

IBMCLOUD_API_KEY=<api-key-here> \
  IBMPOWERVS_SSHKEY_NAME="sharath-sshkey" \
  COS_BUCKET_REGION="us-south" \
  COS_BUCKET_NAME="power-oss-bucket" \
  COS_OBJECT_NAME=capibm-powervs-centos-streams8-1-28-4-1707287079.ova.gz \
  IBMACCOUNT_ID="c265c8cefda241ca9c107adcbbacaa84" \
  IBMPOWERVS_REGION="wdc" \
  IBMPOWERVS_ZONE="wdc06" \
  IBMVPC_REGION="us-east" \
  IBM_RESOURCE_GROUP="ibm-hypershift-dev" \
  BASE64_API_KEY=$(echo -n $IBMCLOUD_API_KEY | base64) \
  clusterctl generate cluster capi-powervs-sharath --kubernetes-version v1.28.4 \
  --target-namespace default \
  --control-plane-machine-count=3 \
  --worker-machine-count=1 \
  --from=./templates/cluster-template-powervs-create-infra.yaml | kubectl apply -f -

The cluster creation was failing with the following error: imageImport operation failed::download of image file capibm-powervs-centos-streams8-1-28-4-1707287079.ova.gz from power-oss-bucket has failed, error:file /images/import//104441157637224-capibm-powervs-centos-streams8-1-28-4-1707287079.ova.gz not found

What did you expect to happen: Successful cluster creation

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

Environment:

  • Cluster-api version:
  • Minikube/KIND version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):
@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. area/provider/ibmcloud Issues or PRs related to ibmcloud provider labels Jan 19, 2025
@Prajyot-Parab
Copy link
Contributor

@pjsharath28 please share more detailed logs, so that we can accurately identify the exact point where error occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/provider/ibmcloud Issues or PRs related to ibmcloud provider kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants