Error when uploading or downloading images from IBM Cloud Object Storage

You might encounter issues while uploading or downloading images from IBM Cloud Object Storage.

Problem

When you attempt to upload or download an image from Cloud Object Storage to PowerVC, you might see the following errors.

Error type:
An error occurred (NoSuchKey) when calling the PutObject operation: The specified key does not exist. : ibm_boto3.exceptions.S3UploadFailedError: Failed to upload /var/opt/ibm/powervc/ova/export_1.ova to bucket1/export_1.ova: An error occurred (NoSuchKey) when calling the PutObject operation: The specified key does not exist.

Or

Error type:
ibm_botocore.exceptions.ClientError: An error occurred (NoSuchBucket) when calling the ListObjects operation: The specified bucket does not exist.

Explanation

This error occurs when the Cloud Object Storage endpoint is incorrect for the specified Cloud Object Storage. For example, a regional endpoint is specified for a bucket having us-geo (cross-regional) location.

Resolution

Perform the following steps to resolve this issue.
  • Check the location of the bucket on the Buckets list page.
  • On the Endpoints page,
    • Select the Regional endpoint corresponding to the bucket location if the location of the bucket is regional. For example, us-south, us-east, and so on.
    • Select the Cross-regional endpoint corresponding to the bucket location if the location of the bucket is cross-regional. For example, us-geo, ap-geo, and so on.